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 Money
getAmount()
The amount that the payee refunded to the payer.String
getCreateTime()
The date and time when the transaction occurred, in Internet date and time format.String
getId()
The PayPal-generated ID for the refund.String
getInvoiceId()
The API caller-provided external invoice number for this order.List<LinkDescription>
getLinks()
An array of related HATEOAS links.String
getNoteToPayer()
The reason for the refund.RefundStatusDetails
getRefundStatusDetails()
The details of the refund status.MerchantPayableBreakdown
getSellerPayableBreakdown()
The breakdown of the refund.String
getStatus()
The status of the refund.String
getUpdateTime()
The date and time when the transaction was last updated, in Internet date and time format.void
setAmount(Money amount)
The amount that the payee refunded to the payer.void
setCreateTime(String createTime)
The date and time when the transaction occurred, in Internet date and time format.void
setId(String id)
The PayPal-generated ID for the refund.void
setInvoiceId(String invoiceId)
The API caller-provided external invoice number for this order.void
setLinks(List<LinkDescription> links)
An array of related HATEOAS links.void
setNoteToPayer(String noteToPayer)
The reason for the refund.void
setRefundStatusDetails(RefundStatusDetails refundStatusDetails)
The details of the refund status.void
setSellerPayableBreakdown(MerchantPayableBreakdown sellerPayableBreakdown)
The breakdown of the refund.void
setStatus(String status)
The status of the refund.void
setUpdateTime(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.
-
-