Package com.stripe.param
Class OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder
- Enclosing class:
- OrderUpdateParams.Payment.Settings.PaymentMethodOptions
-
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.setAcssDebit
(EmptyParam acssDebit) If paying byacss_debit
, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent.If paying byacss_debit
, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent.setAfterpayClearpay
(EmptyParam afterpayClearpay) If paying byafterpay_clearpay
, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.setAfterpayClearpay
(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AfterpayClearpay afterpayClearpay) If paying byafterpay_clearpay
, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.setAlipay
(EmptyParam alipay) If paying byalipay
, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.If paying byalipay
, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.setBancontact
(EmptyParam bancontact) If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.setCard
(EmptyParam card) If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.setCustomerBalance
(EmptyParam customerBalance) If paying bycustomer_balance
, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.setCustomerBalance
(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance customerBalance) If paying bycustomer_balance
, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.setIdeal
(EmptyParam ideal) If paying byideal
, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.If paying byideal
, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.setKlarna
(EmptyParam klarna) If paying byklarna
, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.If paying byklarna
, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.setLink
(EmptyParam link) If paying bylink
, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.If paying bylink
, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.setOxxo
(EmptyParam oxxo) If paying byoxxo
, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.If paying byoxxo
, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.setP24
(EmptyParam p24) If paying byp24
, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.If paying byp24
, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.setPaypal
(EmptyParam paypal) If paying bypaypal
, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.If paying bypaypal
, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.setSepaDebit
(EmptyParam sepaDebit) If paying bysepa_debit
, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.If paying bysepa_debit
, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.setSofort
(EmptyParam sofort) If paying bysofort
, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.If paying bysofort
, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.setWechatPay
(EmptyParam wechatPay) If paying bywechat_pay
, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.If paying bywechat_pay
, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAcssDebit
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setAcssDebit(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AcssDebit acssDebit) If paying byacss_debit
, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent. -
setAcssDebit
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setAcssDebit(EmptyParam acssDebit) If paying byacss_debit
, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent. -
setAfterpayClearpay
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setAfterpayClearpay(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.AfterpayClearpay afterpayClearpay) If paying byafterpay_clearpay
, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent. -
setAfterpayClearpay
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setAfterpayClearpay(EmptyParam afterpayClearpay) If paying byafterpay_clearpay
, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent. -
setAlipay
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setAlipay(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Alipay alipay) If paying byalipay
, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent. -
setAlipay
If paying byalipay
, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent. -
setBancontact
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setBancontact(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Bancontact bancontact) If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent. -
setBancontact
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setBancontact(EmptyParam bancontact) If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent. -
setCard
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setCard(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Card card) If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent. -
setCard
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent. -
setCustomerBalance
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setCustomerBalance(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.CustomerBalance customerBalance) If paying bycustomer_balance
, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent. -
setCustomerBalance
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setCustomerBalance(EmptyParam customerBalance) If paying bycustomer_balance
, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent. -
putExtraParam
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.extraParams
for the field documentation. -
putAllExtraParam
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.extraParams
for the field documentation. -
setIdeal
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setIdeal(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Ideal ideal) If paying byideal
, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent. -
setIdeal
If paying byideal
, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent. -
setKlarna
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setKlarna(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna klarna) If paying byklarna
, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent. -
setKlarna
If paying byklarna
, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent. -
setLink
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setLink(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Link link) If paying bylink
, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent. -
setLink
If paying bylink
, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent. -
setOxxo
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setOxxo(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Oxxo oxxo) If paying byoxxo
, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent. -
setOxxo
If paying byoxxo
, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent. -
setP24
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setP24(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.P24 p24) If paying byp24
, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent. -
setP24
If paying byp24
, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent. -
setPaypal
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setPaypal(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal paypal) If paying bypaypal
, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent. -
setPaypal
If paying bypaypal
, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent. -
setSepaDebit
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setSepaDebit(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.SepaDebit sepaDebit) If paying bysepa_debit
, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent. -
setSepaDebit
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setSepaDebit(EmptyParam sepaDebit) If paying bysepa_debit
, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent. -
setSofort
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setSofort(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Sofort sofort) If paying bysofort
, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent. -
setSofort
If paying bysofort
, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent. -
setWechatPay
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setWechatPay(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.WechatPay wechatPay) If paying bywechat_pay
, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent. -
setWechatPay
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Builder setWechatPay(EmptyParam wechatPay) If paying bywechat_pay
, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.
-