public class BitcoinTransaction extends StripeObject implements HasId
PRETTY_PRINT_GSON
Constructor and Description |
---|
BitcoinTransaction() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount()
The amount of `currency` that the transaction was converted to in real-time.
|
java.lang.Long |
getBitcoinAmount()
The amount of bitcoin contained in the transaction.
|
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCurrency()
Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) to which this
transaction was converted.
|
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.String |
getObject()
String representing the object's type.
|
java.lang.String |
getReceiver()
The receiver to which this transaction was sent.
|
int |
hashCode() |
void |
setAmount(java.lang.Long amount)
The amount of `currency` that the transaction was converted to in real-time.
|
void |
setBitcoinAmount(java.lang.Long bitcoinAmount)
The amount of bitcoin contained in the transaction.
|
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setCurrency(java.lang.String currency)
Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) to which this
transaction was converted.
|
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setObject(java.lang.String object)
String representing the object's type.
|
void |
setReceiver(java.lang.String receiver)
The receiver to which this transaction was sent.
|
equals, getLastResponse, setLastResponse, toJson, toString
public java.lang.Long getAmount()
public java.lang.Long getBitcoinAmount()
public java.lang.Long getCreated()
public java.lang.String getCurrency()
public java.lang.String getObject()
public java.lang.String getReceiver()
public void setAmount(java.lang.Long amount)
public void setBitcoinAmount(java.lang.Long bitcoinAmount)
public void setCreated(java.lang.Long created)
public void setCurrency(java.lang.String currency)
public void setId(java.lang.String id)
public void setObject(java.lang.String object)
public void setReceiver(java.lang.String receiver)
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