Package com.stripe.param
Class OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.Builder
java.lang.Object
com.stripe.param.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.Builder
public static class OrderUpdateParams.Payment.Settings.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.setBehavior
(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior behavior) 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 OrderUpdateParams.Payment.Settings.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 OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.Builder setBehavior(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.Behavior behavior) Required. The tax behavior for the line item. -
putExtraParam
public OrderUpdateParams.Payment.Settings.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.extraParams
for the field documentation. -
putAllExtraParam
public OrderUpdateParams.Payment.Settings.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Paypal.LineItem.Tax.extraParams
for the field documentation.
-