Class PaymentRecord.AmountAuthorized

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentRecord.AmountAuthorized
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentRecord

public static class PaymentRecord.AmountAuthorized extends StripeObject
A representation of an amount of money, consisting of an amount and a currency.
  • Constructor Details

    • AmountAuthorized

      public AmountAuthorized()
  • Method Details

    • getCurrency

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

      public Long getValue()
      A positive integer representing the amount in the currency's minor unit. For example, 100 can represent 1 USD or 100 JPY.
    • setCurrency

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

      public void setValue(Long value)
      A positive integer representing the amount in the currency's minor unit. For example, 100 can represent 1 USD or 100 JPY.
    • 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