Package com.stripe.param
Class PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Builder
public static class PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Builder
extends Object
-
Constructor Summary
Constructors -
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.This sub-hash contains line item details that are specific tocardpayment method.".setCardPresent(PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent cardPresent) This sub-hash contains line item details that are specific tocard_presentpayment method.".This sub-hash contains line item details that are specific toklarnapayment method.".This sub-hash contains line item details that are specific topaypalpayment method.".
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCard
public PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Builder setCard(PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Card card) This sub-hash contains line item details that are specific tocardpayment method.". -
setCardPresent
public PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Builder setCardPresent(PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent cardPresent) This sub-hash contains line item details that are specific tocard_presentpayment method.". -
putExtraParam
public PaymentIntentConfirmParams.AmountDetails.LineItem.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. SeePaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.AmountDetails.LineItem.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. SeePaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.extraParamsfor the field documentation. -
setKlarna
public PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Builder setKlarna(PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna klarna) This sub-hash contains line item details that are specific toklarnapayment method.". -
setPaypal
public PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Builder setPaypal(PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal paypal) This sub-hash contains line item details that are specific topaypalpayment method.".
-