public class SetupIntentUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
SetupIntentUpdateParams.Builder |
static class |
SetupIntentUpdateParams.PaymentMethodOptions |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static SetupIntentUpdateParams.Builder |
builder() |
java.lang.Object |
getCustomer()
ID of the Customer this SetupIntent belongs to, if one exists.
|
java.lang.Object |
getDescription()
An arbitrary string attached to the object.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.Object |
getPaymentMethod()
ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this
SetupIntent.
|
SetupIntentUpdateParams.PaymentMethodOptions |
getPaymentMethodOptions()
Payment-method-specific configuration for this SetupIntent.
|
java.util.List<java.lang.String> |
getPaymentMethodTypes()
The list of payment method types (e.g.
|
toMap
public static SetupIntentUpdateParams.Builder builder()
public java.lang.Object getCustomer()
If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
public java.lang.Object getDescription()
public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@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.public java.util.Map<java.lang.String,java.lang.String> getMetadata()
metadata
.public java.lang.Object getPaymentMethod()
public SetupIntentUpdateParams.PaymentMethodOptions getPaymentMethodOptions()
public java.util.List<java.lang.String> getPaymentMethodTypes()