All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mercadopago.resources.preapproval.Preapproval Maven / Gradle / Ivy

There is a newer version: 2.1.29
Show newest version
package com.mercadopago.resources.preapproval;

import com.mercadopago.net.MPResource;
import java.time.OffsetDateTime;
import lombok.Getter;

/** Preapproval resource. */
@Getter
public class Preapproval extends MPResource {
  /** Preapproval ID. */
  private String id;

  /** Payer ID. */
  private Long payerId;

  /** Payer email. */
  private String payerEmail;

  /** Return URL. */
  private String backUrl;

  /** Seller ID. */
  private Long collectorId;

  /** Application ID. */
  private Long applicationId;

  /** Preapproval status. */
  private String status;

  /** Preapproval title. */
  private String reason;

  /** Preapproval reference value. */
  private String externalReference;

  /** Date of the next payment debit. */
  private OffsetDateTime nextPaymentDate;

  /** Creation date. */
  private OffsetDateTime dateCreated;

  /** Last modified date. */
  private OffsetDateTime lastModified;

  /** Preapproval checkout link. */
  private String initPoint;

  /** Preapproval sandbox checkout link. */
  private String sandboxInitPoint;

  /** Payment method ID. */
  private String paymentMethodId;

  /** Recurring data. */
  private PreapprovalAutoRecurring autoRecurring;

  /** Version. */
  private Long version;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy