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

    • BitcoinTransaction

      public BitcoinTransaction()
  • Method Details

    • getAmount

      public Long getAmount()
      The amount of currency that the transaction was converted to in real-time.
    • getBitcoinAmount

      public Long getBitcoinAmount()
      The amount of bitcoin contained in the transaction.
    • getCreated

      public Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getCurrency

      public String getCurrency()
      Three-letter ISO code for the currency to which this transaction was converted.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to bitcoin_transaction.

    • getReceiver

      public String getReceiver()
      The receiver to which this transaction was sent.
    • setAmount

      public void setAmount(Long amount)
      The amount of currency that the transaction was converted to in real-time.
    • setBitcoinAmount

      public void setBitcoinAmount(Long bitcoinAmount)
      The amount of bitcoin contained in the transaction.
    • setCreated

      public void setCreated(Long created)
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • setCurrency

      public void setCurrency(String currency)
      Three-letter ISO code for the currency to which this transaction was converted.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setObject

      public void setObject(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(String receiver)
      The receiver to which this transaction was sent.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

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