Package com.stripe.param
Class PaymentMethodUpdateParams
- java.lang.Object
-
- com.stripe.net.ApiRequestParams
-
- com.stripe.param.PaymentMethodUpdateParams
-
public class PaymentMethodUpdateParams extends ApiRequestParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaymentMethodUpdateParams.AcssDebit
static class
PaymentMethodUpdateParams.AuBecsDebit
Add all map key/value pairs to `extraParams` map.static class
PaymentMethodUpdateParams.BacsDebit
Add all map key/value pairs to `extraParams` map.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.-
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
-
Field Summary
-
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentMethodUpdateParams.Builder
builder()
PaymentMethodUpdateParams.AcssDebit
getAcssDebit()
This is a legacy parameter that will be removed in the future.PaymentMethodUpdateParams.AuBecsDebit
getAuBecsDebit()
This is a legacy parameter that will be removed in the future.PaymentMethodUpdateParams.BacsDebit
getBacsDebit()
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 acard
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.-
Methods inherited from class com.stripe.net.ApiRequestParams
toMap
-
-
-
-
Method Detail
-
builder
public static PaymentMethodUpdateParams.Builder builder()
-
getAcssDebit
public PaymentMethodUpdateParams.AcssDebit getAcssDebit()
This is a legacy parameter that will be removed in the future. It is a hash that does not accept any keys.
-
getAuBecsDebit
public PaymentMethodUpdateParams.AuBecsDebit getAuBecsDebit()
This is a legacy parameter that will be removed in the future. It is a hash that does not accept any keys.
-
getBacsDebit
public PaymentMethodUpdateParams.BacsDebit getBacsDebit()
This is a legacy parameter that will be removed in the future. It is a hash that does not accept any keys.
-
getBillingDetails
public PaymentMethodUpdateParams.BillingDetails getBillingDetails()
Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
-
getCard
public PaymentMethodUpdateParams.Card getCard()
If this is acard
PaymentMethod, this hash contains the user's card details.
-
getExpand
public java.util.List<java.lang.String> getExpand()
Specifies which fields in the response should be expanded.
-
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.
-
getMetadata
public java.lang.Object getMetadata()
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
.
-
getSepaDebit
public PaymentMethodUpdateParams.SepaDebit getSepaDebit()
This is a legacy parameter that will be removed in the future. It is a hash that does not accept any keys.
-
-