Package com.stripe.param
Class PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.Builder
- Enclosing class:
- PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions
public static class PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllBrandsBlocked(List<PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked> elements) Add all elements to `brandsBlocked` list.addBrandsBlocked(PaymentLinkUpdateParams.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.setBrandsBlocked(EmptyParam brandsBlocked) The card brands to block.setBrandsBlocked(List<PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked> brandsBlocked) The card brands to block.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addBrandsBlocked
public PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.Builder addBrandsBlocked(PaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.brandsBlockedfor the field documentation. -
addAllBrandsBlocked
public PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.Builder addAllBrandsBlocked(List<PaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.brandsBlockedfor the field documentation. -
setBrandsBlocked
public PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.Builder setBrandsBlocked(EmptyParam brandsBlocked) The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment. -
setBrandsBlocked
public PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.Builder setBrandsBlocked(List<PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked> brandsBlocked) The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment. -
putExtraParam
public PaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentLinkUpdateParams.PaymentMethodOptions.Card.Restrictions.Builder putAllExtraParam(Map<String, Object> map)
-