Package com.stripe.param.sharedpayment
Class GrantedTokenCreateParams.UsageLimits.Builder
java.lang.Object
com.stripe.param.sharedpayment.GrantedTokenCreateParams.UsageLimits.Builder
- Enclosing class:
- GrantedTokenCreateParams.UsageLimits
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setCurrency(String currency) Required. Three-letter ISO currency code, in lowercase.setExpiresAt(Long expiresAt) Required. Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.setMaxAmount(Long maxAmount) Required. Max amount that can be captured using this SharedPaymentToken
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setExpiresAt
Required. Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeGrantedTokenCreateParams.UsageLimits.extraParamsfor the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeGrantedTokenCreateParams.UsageLimits.extraParamsfor the field documentation. -
setMaxAmount
Required. Max amount that can be captured using this SharedPaymentToken
-