Package com.stripe.param
Class SetupIntentCreateParams.SingleUse.Builder
java.lang.Object
com.stripe.param.SetupIntentCreateParams.SingleUse.Builder
- Enclosing class:
- SetupIntentCreateParams.SingleUse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Required. Amount the customer is granting permission to collect later.setCurrency
(String currency) Required. Three-letter ISO currency code, in lowercase.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). -
setCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
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. SeeSetupIntentCreateParams.SingleUse.extraParams
for the field documentation. -
putAllExtraParam
-