public class PaymentMethodUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
PaymentMethodUpdateParams.AuBecsDebit |
static class |
PaymentMethodUpdateParams.BillingDetails
Add all map key/value pairs to `extraParams` map.
|
static class |
PaymentMethodUpdateParams.Builder |
static class |
PaymentMethodUpdateParams.Card
State, county, province, or region.
|
static class |
PaymentMethodUpdateParams.SepaDebit
Add all map key/value pairs to `extraParams` map.
|
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static PaymentMethodUpdateParams.Builder |
builder() |
PaymentMethodUpdateParams.AuBecsDebit |
getAuBecsDebit()
This is a legacy parameter that will be removed in the future.
|
PaymentMethodUpdateParams.BillingDetails |
getBillingDetails()
Billing information associated with the PaymentMethod that may be used or required by
particular types of payment methods.
|
PaymentMethodUpdateParams.Card |
getCard()
If this is a
card PaymentMethod, this hash contains the user's card details. |
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.lang.Object |
getMetadata()
Set of key-value pairs that you can attach
to an object.
|
PaymentMethodUpdateParams.SepaDebit |
getSepaDebit()
This is a legacy parameter that will be removed in the future.
|
toMap
public static PaymentMethodUpdateParams.Builder builder()
public PaymentMethodUpdateParams.AuBecsDebit getAuBecsDebit()
public PaymentMethodUpdateParams.BillingDetails getBillingDetails()
public PaymentMethodUpdateParams.Card getCard()
card
PaymentMethod, this hash contains the user's card details.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.lang.Object getMetadata()
metadata
.public PaymentMethodUpdateParams.SepaDebit getSepaDebit()