Package com.stripe.model
Class ReserveTransaction
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.ReserveTransaction
-
- All Implemented Interfaces:
BalanceTransactionSource,HasId,StripeObjectInterface
public class ReserveTransaction extends StripeObject implements BalanceTransactionSource
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description ReserveTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetAmount()java.lang.StringgetCurrency()Three-letter ISO currency code, in lowercase.java.lang.StringgetDescription()An arbitrary string attached to the object.java.lang.StringgetId()Unique identifier for the object.java.lang.StringgetObject()String representing the object's type.inthashCode()voidsetAmount(java.lang.Long amount)voidsetCurrency(java.lang.String currency)Three-letter ISO currency code, in lowercase.voidsetDescription(java.lang.String description)An arbitrary string attached to the object.voidsetId(java.lang.String id)Unique identifier for the object.voidsetObject(java.lang.String object)String representing the object's type.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.stripe.model.StripeObjectInterface
getLastResponse, setLastResponse
-
-
-
-
Method Detail
-
getAmount
public java.lang.Long getAmount()
-
getCurrency
public java.lang.String getCurrency()
Three-letter ISO currency code, in lowercase. Must be a supported currency.
-
getDescription
public java.lang.String getDescription()
An arbitrary string attached to the object. Often useful for displaying to users.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.Equal to
reserve_transaction.
-
setAmount
public void setAmount(java.lang.Long amount)
-
setCurrency
public void setCurrency(java.lang.String currency)
Three-letter ISO currency code, in lowercase. Must be a supported currency.
-
setDescription
public void setDescription(java.lang.String description)
An arbitrary string attached to the object. Often useful for displaying to users.
-
setId
public void setId(java.lang.String id)
Unique identifier for the object.
-
setObject
public void setObject(java.lang.String object)
String representing the object's type. Objects of the same type share the same value.Equal to
reserve_transaction.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-