Package com.stripe.param
Class PaymentLinkCreateParams.PaymentMethodOptions.Card.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.PaymentMethodOptions.Card.Builder
- Enclosing class:
- PaymentLinkCreateParams.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.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 PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.PaymentMethodOptions.Card.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.PaymentMethodOptions.Card.extraParamsfor the field documentation. -
setRestrictions
public PaymentLinkCreateParams.PaymentMethodOptions.Card.Builder setRestrictions(PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions restrictions) Restrictions to apply to the card payment method. For example, you can block specific card brands.
-