public class Refund extends Object
Constructor and Description |
---|
Refund()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
Amount |
getAmount()
Details including both refunded amount (to payer) and refunded fee (to payee).
|
String |
getCaptureId()
ID of the sale transaction being refunded.
|
String |
getCreateTime()
Time of refund as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
|
String |
getDescription()
Description of what is being refunded for.
|
String |
getId()
ID of the refund transaction.
|
String |
getInvoiceNumber()
Your own invoice or tracking ID number.
|
List<Links> |
getLinks() |
String |
getParentPayment()
ID of the payment resource on which this transaction is based.
|
String |
getReason()
Reason description for the Sale transaction being refunded.
|
String |
getReasonCode()
The reason code for the refund state being pending
|
String |
getSaleId()
ID of the Sale transaction being refunded.
|
String |
getState()
State of the refund.
|
String |
getUpdateTime()
Time that the resource was last updated.
|
Refund |
setAmount(Amount amount)
Details including both refunded amount (to payer) and refunded fee (to payee).
|
Refund |
setCaptureId(String captureId)
ID of the sale transaction being refunded.
|
Refund |
setCreateTime(String createTime)
Time of refund as defined in [RFC 3339 Section 5.6](http://tools.ietf.org/html/rfc3339#section-5.6).
|
Refund |
setDescription(String description)
Description of what is being refunded for.
|
Refund |
setId(String id)
ID of the refund transaction.
|
Refund |
setInvoiceNumber(String invoiceNumber)
Your own invoice or tracking ID number.
|
Refund |
setLinks(List<Links> links) |
Refund |
setParentPayment(String parentPayment)
ID of the payment resource on which this transaction is based.
|
Refund |
setReason(String reason)
Reason description for the Sale transaction being refunded.
|
Refund |
setReasonCode(String reasonCode)
The reason code for the refund state being pending
|
Refund |
setSaleId(String saleId)
ID of the Sale transaction being refunded.
|
Refund |
setState(String state)
State of the refund.
|
Refund |
setUpdateTime(String updateTime)
Time that the resource was last updated.
|
public String getId()
public Amount getAmount()
public String getState()
public String getReason()
public String getInvoiceNumber()
public String getSaleId()
public String getCaptureId()
public String getParentPayment()
public String getDescription()
public String getCreateTime()
public String getUpdateTime()
public String getReasonCode()
public Refund setAmount(Amount amount)
public Refund setReason(String reason)
public Refund setInvoiceNumber(String invoiceNumber)
public Refund setSaleId(String saleId)
public Refund setCaptureId(String captureId)
public Refund setParentPayment(String parentPayment)
public Refund setDescription(String description)
public Refund setCreateTime(String createTime)
public Refund setUpdateTime(String updateTime)
public Refund setReasonCode(String reasonCode)
Copyright © 2019. All rights reserved.