Class GrantedToken.UsageLimits

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.sharedpayment.GrantedToken.UsageLimits
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
GrantedToken

public static class GrantedToken.UsageLimits extends StripeObject
Limits on how this SharedPaymentGrantedToken can be used.
  • Constructor Details

    • UsageLimits

      public UsageLimits()
  • Method Details

    • getCurrency

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

      public Long getExpiresAt()
      Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.
    • getMaxAmount

      public Long getMaxAmount()
      Max amount that can be captured using this SharedPaymentToken.
    • setCurrency

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

      public void setExpiresAt(Long expiresAt)
      Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.
    • setMaxAmount

      public void setMaxAmount(Long maxAmount)
      Max amount that can be captured using this SharedPaymentToken.
    • 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