- Enclosing class:
public static class SetupIntentCreateParams.SingleUse extends Object
Add all elements to `requested` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See
SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount.Networks.requestedfor the field documentation.
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
builder()Required. Amount the customer is granting permission to collect later.Required. Three-letter ISO currency code, in lowercase.Map of extra parameters for custom features not available in this client library.
builderpublic static SetupIntentCreateParams.SingleUse.Builder builder()
getAmountpublic Long getAmount()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).
getCurrencypublic String getCurrency()
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. 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.