Package com.stripe.model
Class BitcoinTransaction
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.BitcoinTransaction
-
- All Implemented Interfaces:
HasId,StripeObjectInterface
public class BitcoinTransaction extends StripeObject implements HasId
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description BitcoinTransaction()
-
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()The amount ofcurrencythat the transaction was converted to in real-time.java.lang.LonggetBitcoinAmount()The amount of bitcoin contained in the transaction.java.lang.LonggetCreated()Time at which the object was created.java.lang.StringgetCurrency()Three-letter ISO code for the currency to which this transaction was converted.java.lang.StringgetId()Unique identifier for the object.java.lang.StringgetObject()String representing the object's type.java.lang.StringgetReceiver()The receiver to which this transaction was sent.inthashCode()voidsetAmount(java.lang.Long amount)The amount ofcurrencythat the transaction was converted to in real-time.voidsetBitcoinAmount(java.lang.Long bitcoinAmount)The amount of bitcoin contained in the transaction.voidsetCreated(java.lang.Long created)Time at which the object was created.voidsetCurrency(java.lang.String currency)Three-letter ISO code for the currency to which this transaction was converted.voidsetId(java.lang.String id)Unique identifier for the object.voidsetObject(java.lang.String object)String representing the object's type.voidsetReceiver(java.lang.String receiver)The receiver to which this transaction was sent.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAmount
public java.lang.Long getAmount()
The amount ofcurrencythat the transaction was converted to in real-time.
-
getBitcoinAmount
public java.lang.Long getBitcoinAmount()
The amount of bitcoin contained in the transaction.
-
getCreated
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getCurrency
public java.lang.String getCurrency()
Three-letter ISO code for the currency to which this transaction was converted.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.Equal to
bitcoin_transaction.
-
getReceiver
public java.lang.String getReceiver()
The receiver to which this transaction was sent.
-
setAmount
public void setAmount(java.lang.Long amount)
The amount ofcurrencythat the transaction was converted to in real-time.
-
setBitcoinAmount
public void setBitcoinAmount(java.lang.Long bitcoinAmount)
The amount of bitcoin contained in the transaction.
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setCurrency
public void setCurrency(java.lang.String currency)
Three-letter ISO code for the currency to which this transaction was converted.
-
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
bitcoin_transaction.
-
setReceiver
public void setReceiver(java.lang.String receiver)
The receiver to which this transaction was sent.
-
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
-
-