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

    Modifier and Type Method 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.

    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
  • Constructor Details

  • Method Details

    • getAmount

      public java.lang.Long getAmount()
      The amount of `currency` that 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](https://stripe.com/docs/currencies) 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 of `currency` that 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](https://stripe.com/docs/currencies) 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:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • getId

      public java.lang.String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId