Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax.Builder
- Enclosing class:
- PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax
public static class PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax.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.Required. The tax for a single unit of the line item in minor units.Required. The tax behavior for the line item.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax.Builder setAmount(Long amount) Required. The tax for a single unit of the line item in minor units. Cannot be a negative number. -
setBehavior
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax.Builder setBehavior(PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior behavior) Required. The tax behavior for the line item. -
putExtraParam
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax.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.PaymentMethodOptions.Paypal.LineItem.Tax.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.LineItem.Tax.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.PaymentMethodOptions.Paypal.LineItem.Tax.extraParams
for the field documentation.
-