public class ReserveTransaction extends StripeObject implements BalanceTransactionSource
PRETTY_PRINT_GSON
Constructor and Description |
---|
ReserveTransaction() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount() |
java.lang.String |
getCurrency()
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in
lowercase.
|
java.lang.String |
getDescription()
An arbitrary string attached to the object.
|
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.String |
getObject()
String representing the object's type.
|
int |
hashCode() |
void |
setAmount(java.lang.Long amount) |
void |
setCurrency(java.lang.String currency)
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in
lowercase.
|
void |
setDescription(java.lang.String description)
An arbitrary string attached to the object.
|
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setObject(java.lang.String object)
String representing the object's type.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.Long getAmount()
public java.lang.String getCurrency()
public java.lang.String getDescription()
public java.lang.String getObject()
Equal to `reserve_transaction`.
public void setAmount(java.lang.Long amount)
public void setCurrency(java.lang.String currency)
public void setDescription(java.lang.String description)
public void setId(java.lang.String id)
public void setObject(java.lang.String object)
Equal to `reserve_transaction`.
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object