Package com.stripe.param.checkout
Class SessionCreateParams.PaymentMethodOptions.Card.Restrictions.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions.Builder
- Enclosing class:
- SessionCreateParams.PaymentMethodOptions.Card.Restrictions
public static class SessionCreateParams.PaymentMethodOptions.Card.Restrictions.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllBrandsBlocked
(List<SessionCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked> elements) Add all elements to `brandsBlocked` list.Add an element to `brandsBlocked` list.build()
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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addBrandsBlocked
public SessionCreateParams.PaymentMethodOptions.Card.Restrictions.Builder addBrandsBlocked(SessionCreateParams.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. SeeSessionCreateParams.PaymentMethodOptions.Card.Restrictions.brandsBlocked
for the field documentation. -
addAllBrandsBlocked
public SessionCreateParams.PaymentMethodOptions.Card.Restrictions.Builder addAllBrandsBlocked(List<SessionCreateParams.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. SeeSessionCreateParams.PaymentMethodOptions.Card.Restrictions.brandsBlocked
for the field documentation. -
putExtraParam
public SessionCreateParams.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. SeeSessionCreateParams.PaymentMethodOptions.Card.Restrictions.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.PaymentMethodOptions.Card.Restrictions.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. SeeSessionCreateParams.PaymentMethodOptions.Card.Restrictions.extraParams
for the field documentation.
-