Package com.stripe.param
Class PaymentMethodUpdateParams.Card.Networks.Builder
java.lang.Object
com.stripe.param.PaymentMethodUpdateParams.Card.Networks.Builder
- Enclosing class:
- PaymentMethodUpdateParams.Card.Networks
-
Constructor Summary
-
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.setPreferred
(EmptyParam preferred) The customer's preferred card network for co-branded cards.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
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. SeePaymentMethodUpdateParams.Card.Networks.extraParams
for the field documentation. -
putAllExtraParam
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. SeePaymentMethodUpdateParams.Card.Networks.extraParams
for the field documentation. -
setPreferred
public PaymentMethodUpdateParams.Card.Networks.Builder setPreferred(PaymentMethodUpdateParams.Card.Networks.Preferred preferred) The customer's preferred card network for co-branded cards. Supportscartes_bancaires
,mastercard
, orvisa
. Selection of a network that does not apply to the card will be stored asinvalid_preference
on the card. -
setPreferred
-