Package com.stripe.param.checkout
Class SessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.Builder
java.lang.Object
com.stripe.param.checkout.SessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.Builder
public static class SessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.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. A non-negative integer in cents representing how much to charge.setTaxBehavior
(SessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.TaxBehavior taxBehavior) Specifies whether the rate is considered inclusive of taxes or exclusive of taxes.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public SessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.Builder setAmount(Long amount) Required. A non-negative integer in cents representing how much to charge. -
putExtraParam
public SessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.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. SeeSessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.extraParams
for the field documentation. -
putAllExtraParam
public SessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.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. SeeSessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.extraParams
for the field documentation. -
setTaxBehavior
public SessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.Builder setTaxBehavior(SessionUpdateParams.ShippingOption.ShippingRateData.FixedAmount.CurrencyOption.TaxBehavior taxBehavior) Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One ofinclusive
,exclusive
, orunspecified
.
-