public class RefundDetail extends PayPalModel
| Constructor and Description |
|---|
RefundDetail()
Default Constructor
|
RefundDetail(java.lang.String type)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Currency |
getAmount()
Amount to be recorded as refund against invoice.
|
java.lang.String |
getDate()
Date on which the invoice was refunded.
|
java.lang.String |
getNote()
Optional note associated with the refund.
|
java.lang.String |
getTransactionId()
The PayPal refund transaction ID.
|
java.lang.String |
getType()
The PayPal refund type.
|
int |
hashCode() |
RefundDetail |
setAmount(Currency amount)
Amount to be recorded as refund against invoice.
|
RefundDetail |
setDate(java.lang.String date)
Date on which the invoice was refunded.
|
RefundDetail |
setNote(java.lang.String note)
Optional note associated with the refund.
|
RefundDetail |
setTransactionId(java.lang.String transactionId)
The PayPal refund transaction ID.
|
RefundDetail |
setType(java.lang.String type)
The PayPal refund type.
|
toJSON, toStringpublic RefundDetail()
public RefundDetail(java.lang.String type)
public java.lang.String getType()
public java.lang.String getTransactionId()
public java.lang.String getDate()
public java.lang.String getNote()
public Currency getAmount()
public RefundDetail setType(java.lang.String type)
public RefundDetail setTransactionId(java.lang.String transactionId)
public RefundDetail setDate(java.lang.String date)
public RefundDetail setNote(java.lang.String note)
public RefundDetail setAmount(Currency amount)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel