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

    • ReserveTransaction

      public ReserveTransaction()
  • Method Details

    • getAmount

      public Long getAmount()
    • getCurrency

      public String getCurrency()
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getDescription

      public String getDescription()
      An arbitrary string attached to the object. Often useful for displaying to users.
    • getObject

      public 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(Long amount)
    • setCurrency

      public void setCurrency(String currency)
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • setDescription

      public void setDescription(String description)
      An arbitrary string attached to the object. Often useful for displaying to users.
    • 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 reserve_transaction.

    • 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