Package com.stripe.param
Class ProductCreateParams.DefaultPriceData.CurrencyOption.CustomUnitAmount
java.lang.Object
com.stripe.param.ProductCreateParams.DefaultPriceData.CurrencyOption.CustomUnitAmount
- Enclosing class:
- ProductCreateParams.DefaultPriceData.CurrencyOption
public static class ProductCreateParams.DefaultPriceData.CurrencyOption.CustomUnitAmount
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Required. Pass intrue
to enablecustom_unit_amount
, otherwise omitcustom_unit_amount
.Map of extra parameters for custom features not available in this client library.The maximum unit amount the customer can specify for this item.The minimum unit amount the customer can specify for this item.The starting unit amount which can be updated by the customer.
-
Method Details
-
builder
public static ProductCreateParams.DefaultPriceData.CurrencyOption.CustomUnitAmount.Builder builder() -
getEnabled
Required. Pass intrue
to enablecustom_unit_amount
, otherwise omitcustom_unit_amount
. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getMaximum
The maximum unit amount the customer can specify for this item. -
getMinimum
The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount. -
getPreset
The starting unit amount which can be updated by the customer.
-