Class Refund
- java.lang.Object
-
- com.broadleafcommerce.paypal.micro.gateway.domain.orders.Refund
-
- All Implemented Interfaces:
Serializable
public class Refund extends Object implements Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Refund()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MoneygetAmount()The amount that the payee refunded to the payer.StringgetCreateTime()The date and time when the transaction occurred, in Internet date and time format.StringgetId()The PayPal-generated ID for the refund.StringgetInvoiceId()The API caller-provided external invoice number for this order.List<LinkDescription>getLinks()An array of related HATEOAS links.StringgetNoteToPayer()The reason for the refund.RefundStatusDetailsgetRefundStatusDetails()The details of the refund status.MerchantPayableBreakdowngetSellerPayableBreakdown()The breakdown of the refund.StringgetStatus()The status of the refund.StringgetUpdateTime()The date and time when the transaction was last updated, in Internet date and time format.voidsetAmount(Money amount)The amount that the payee refunded to the payer.voidsetCreateTime(String createTime)The date and time when the transaction occurred, in Internet date and time format.voidsetId(String id)The PayPal-generated ID for the refund.voidsetInvoiceId(String invoiceId)The API caller-provided external invoice number for this order.voidsetLinks(List<LinkDescription> links)An array of related HATEOAS links.voidsetNoteToPayer(String noteToPayer)The reason for the refund.voidsetRefundStatusDetails(RefundStatusDetails refundStatusDetails)The details of the refund status.voidsetSellerPayableBreakdown(MerchantPayableBreakdown sellerPayableBreakdown)The breakdown of the refund.voidsetStatus(String status)The status of the refund.voidsetUpdateTime(String updateTime)The date and time when the transaction was last updated, in Internet date and time format.
-
-
-
Method Detail
-
setStatus
public void setStatus(String status)
The status of the refund.
-
setRefundStatusDetails
public void setRefundStatusDetails(RefundStatusDetails refundStatusDetails)
The details of the refund status.
-
setAmount
public void setAmount(Money amount)
The amount that the payee refunded to the payer.
-
setId
public void setId(String id)
The PayPal-generated ID for the refund.
-
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.
-
setNoteToPayer
public void setNoteToPayer(String noteToPayer)
The reason for the refund. Appears in both the payer's transaction history and the emails that the payer receives.
-
setSellerPayableBreakdown
public void setSellerPayableBreakdown(MerchantPayableBreakdown sellerPayableBreakdown)
The breakdown of the refund.
-
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.
-
getStatus
public String getStatus()
The status of the refund.
-
getRefundStatusDetails
public RefundStatusDetails getRefundStatusDetails()
The details of the refund status.
-
getAmount
public Money getAmount()
The amount that the payee refunded to the payer.
-
getId
public String getId()
The PayPal-generated ID for the refund.
-
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.
-
getNoteToPayer
public String getNoteToPayer()
The reason for the refund. Appears in both the payer's transaction history and the emails that the payer receives.
-
getSellerPayableBreakdown
public MerchantPayableBreakdown getSellerPayableBreakdown()
The breakdown of the refund.
-
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.
-
-