Package com.stripe.param
Class PaymentLinkUpdateParams.PaymentMethodOptions.Card.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Builder
- Enclosing class:
- PaymentLinkUpdateParams.PaymentMethodOptions.Card
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setRestrictions(EmptyParam restrictions) Restrictions to apply to the card payment method.Restrictions to apply to the card payment method.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentLinkUpdateParams.PaymentMethodOptions.Card.Builder putExtraParam(String key, Object value) Add a key/value pair 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. SeePaymentLinkUpdateParams.PaymentMethodOptions.Card.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentLinkUpdateParams.PaymentMethodOptions.Card.Builder putAllExtraParam(Map<String, Object> map) 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. SeePaymentLinkUpdateParams.PaymentMethodOptions.Card.extraParamsfor the field documentation. -
setRestrictions
public PaymentLinkUpdateParams.PaymentMethodOptions.Card.Builder setRestrictions(PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions restrictions) Restrictions to apply to the card payment method. For example, you can block specific card brands. -
setRestrictions
public PaymentLinkUpdateParams.PaymentMethodOptions.Card.Builder setRestrictions(EmptyParam restrictions) Restrictions to apply to the card payment method. For example, you can block specific card brands.
-