java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.orders.Authorization
All Implemented Interfaces:
Serializable

public class Authorization extends Object implements Serializable
The authorized payment transaction.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • Authorization

      public Authorization()
  • Method Details

    • setAmount

      public void setAmount(Money amount)
      The amount for this authorized payment.
    • setCustomId

      public void setCustomId(String customId)
      The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports.
    • setExpirationTime

      public void setExpirationTime(String expirationTime)
      The date and time when the authorized payment expires, in Internet date and time format.
    • setId

      public void setId(String id)
      The PayPal-generated ID for the authorized payment.
    • setStatus

      public void setStatus(String status)
      The status for the authorized payment.
    • setAuthorizationStatusDetails

      public void setAuthorizationStatusDetails(AuthorizationStatusDetails authorizationStatusDetails)
      The details of the authorized order pending status.
    • setInvoiceId

      public void setInvoiceId(String invoiceId)
      The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives.
    • setLinks

      public void setLinks(List<LinkDescription> links)
      An array of related HATEOAS links.
    • setSellerProtection

      public void setSellerProtection(SellerProtection sellerProtection)
      The level of protection offered as defined by PayPal Seller Protection for Merchants.
    • setCreateTime

      public void setCreateTime(String createTime)
      The date and time when the transaction occurred, in Internet date and time format.
    • setUpdateTime

      public void setUpdateTime(String updateTime)
      The date and time when the transaction was last updated, in Internet date and time format.
    • getAmount

      public Money getAmount()
      The amount for this authorized payment.
    • getCustomId

      public String getCustomId()
      The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports.
    • getExpirationTime

      public String getExpirationTime()
      The date and time when the authorized payment expires, in Internet date and time format.
    • getId

      public String getId()
      The PayPal-generated ID for the authorized payment.
    • getStatus

      public String getStatus()
      The status for the authorized payment.
    • getAuthorizationStatusDetails

      public AuthorizationStatusDetails getAuthorizationStatusDetails()
      The details of the authorized order pending status.
    • getInvoiceId

      public String getInvoiceId()
      The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives.
    • getLinks

      public List<LinkDescription> getLinks()
      An array of related HATEOAS links.
    • getSellerProtection

      public SellerProtection getSellerProtection()
      The level of protection offered as defined by PayPal Seller Protection for Merchants.
    • getCreateTime

      public String getCreateTime()
      The date and time when the transaction occurred, in Internet date and time format.
    • getUpdateTime

      public String getUpdateTime()
      The date and time when the transaction was last updated, in Internet date and time format.