Package com.stripe.param
Class SetupIntentCreateParams.SingleUse
- java.lang.Object
-
- com.stripe.param.SetupIntentCreateParams.SingleUse
-
- Enclosing class:
- SetupIntentCreateParams
public static class SetupIntentCreateParams.SingleUse extends java.lang.Object
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. SeeSetupIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions.extraParams
for the field documentation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetupIntentCreateParams.SingleUse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetupIntentCreateParams.SingleUse.Builder
builder()
java.lang.Long
getAmount()
Amount the customer is granting permission to collect later.java.lang.String
getCurrency()
Three-letter ISO currency code, in lowercase.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.
-
-
-
Method Detail
-
builder
public static SetupIntentCreateParams.SingleUse.Builder builder()
-
getAmount
public java.lang.Long getAmount()
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).
-
getCurrency
public java.lang.String getCurrency()
Three-letter ISO currency code, in lowercase. Must be a supported currency.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
-