Package com.stripe.param
Class PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Builder
public static class PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.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.setCategory
(PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category category) Type of the line item.setDescription
(String description) Description of the line item.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCategory
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Builder setCategory(PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Category category) Type of the line item. -
setDescription
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Builder setDescription(String description) Description of the line item. -
putExtraParam
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.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. SeePaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.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. SeePaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.extraParams
for the field documentation. -
setSoldBy
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Paypal.Builder setSoldBy(String soldBy)
-