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