Package com.stripe.param.checkout
Class SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder
- java.lang.Object
-
- com.stripe.param.checkout.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder
-
- Enclosing class:
- SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount
public static class SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount
build()
Finalize and obtain parameter instance from this builder.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder
setAmount(java.lang.Long amount)
A non-negative integer in cents representing how much to charge.SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder
setCurrency(java.lang.String currency)
Three-letter ISO currency code, in lowercase.
-
-
-
Method Detail
-
build
public SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount build()
Finalize and obtain parameter instance from this builder.
-
setAmount
public SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder setAmount(java.lang.Long amount)
A non-negative integer in cents representing how much to charge.
-
setCurrency
public SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder setCurrency(java.lang.String currency)
Three-letter ISO currency code, in lowercase. Must be a supported currency.
-
putExtraParam
public SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder putExtraParam(java.lang.String key, java.lang.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. SeeSessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.extraParams
for the field documentation.
-
putAllExtraParam
public SessionCreateParams.ShippingOption.ShippingRateData.FixedAmount.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
-
-