Package com.stripe.param
Class PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.Builder
- Enclosing class:
- PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions
public static class PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllBrandsBlocked(List<PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked> elements) Add all elements to `brandsBlocked` list.addBrandsBlocked(PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked element) Add an element to `brandsBlocked` list.build()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addBrandsBlocked
public PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.Builder addBrandsBlocked(PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked element) Add an element to `brandsBlocked` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.brandsBlockedfor the field documentation. -
addAllBrandsBlocked
public PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.Builder addAllBrandsBlocked(List<PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked> elements) Add all elements to `brandsBlocked` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.brandsBlockedfor the field documentation. -
putExtraParam
public PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.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.Restrictions.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentLinkCreateParams.PaymentMethodOptions.Card.Restrictions.Builder putAllExtraParam(Map<String, Object> map)
-