Package com.stripe.param
Class PriceCreateParams.CustomUnitAmount
java.lang.Object
com.stripe.param.PriceCreateParams.CustomUnitAmount
- Enclosing class:
- PriceCreateParams
-
Nested Class Summary
-
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
-
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.
-