Package com.stripe.model.sharedpayment
Class GrantedToken.UsageLimits
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.sharedpayment.GrantedToken.UsageLimits
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- GrantedToken
Limits on how this SharedPaymentGrantedToken can be used.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThree-letter ISO currency code, in lowercase.Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.Max amount that can be captured using this SharedPaymentToken.inthashCode()voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidsetExpiresAt(Long expiresAt) Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.voidsetMaxAmount(Long maxAmount) Max amount that can be captured using this SharedPaymentToken.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
UsageLimits
public UsageLimits()
-
-
Method Details
-
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getExpiresAt
Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent. -
getMaxAmount
Max amount that can be captured using this SharedPaymentToken. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setExpiresAt
Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent. -
setMaxAmount
Max amount that can be captured using this SharedPaymentToken. -
equals
-
canEqual
-
hashCode
public int hashCode()
-