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