Class Authorization
- 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:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description Authorization() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MoneygetAmount()The amount for this authorized payment.AuthorizationStatusDetailsgetAuthorizationStatusDetails()The details of the authorized order pending status.StringgetCreateTime()The date and time when the transaction occurred, in Internet date and time format.StringgetCustomId()The API caller-provided external ID.StringgetExpirationTime()The date and time when the authorized payment expires, in Internet date and time format.StringgetId()The PayPal-generated ID for the authorized payment.StringgetInvoiceId()The API caller-provided external invoice number for this order.List<LinkDescription>getLinks()An array of related HATEOAS links.SellerProtectiongetSellerProtection()The level of protection offered as defined by PayPal Seller Protection for Merchants.StringgetStatus()The status for the authorized payment.StringgetUpdateTime()The date and time when the transaction was last updated, in Internet date and time format.voidsetAmount(Money amount)The amount for this authorized payment.voidsetAuthorizationStatusDetails(AuthorizationStatusDetails authorizationStatusDetails)The details of the authorized order pending status.voidsetCreateTime(String createTime)The date and time when the transaction occurred, in Internet date and time format.voidsetCustomId(String customId)The API caller-provided external ID.voidsetExpirationTime(String expirationTime)The date and time when the authorized payment expires, in Internet date and time format.voidsetId(String id)The PayPal-generated ID for the authorized payment.voidsetInvoiceId(String invoiceId)The API caller-provided external invoice number for this order.voidsetLinks(List<LinkDescription> links)An array of related HATEOAS links.voidsetSellerProtection(SellerProtection sellerProtection)The level of protection offered as defined by PayPal Seller Protection for Merchants.voidsetStatus(String status)The status for the authorized payment.voidsetUpdateTime(String updateTime)The date and time when the transaction was last updated, in Internet date and time format. 
 - 
 
- 
- 
Method Detail
- 
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. 
 - 
 
 -