Package com.stripe.param
Class PriceCreateParams.CurrencyOption
java.lang.Object
com.stripe.param.PriceCreateParams.CurrencyOption
- Enclosing class:
- PriceCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
static class
The starting unit amount which can be updated by the customer. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.Map of extra parameters for custom features not available in this client library.Only required if a default tax behavior was not provided in the Stripe Tax settings.getTiers()
Each element represents a pricing tier.A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.Same asunit_amount
, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places.
-
Method Details
-
builder
-
getCustomUnitAmount
When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links. -
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. -
getTaxBehavior
Only required if a default tax behavior was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One ofinclusive
,exclusive
, orunspecified
. Once specified as eitherinclusive
orexclusive
, it cannot be changed. -
getTiers
Each element represents a pricing tier. This parameter requiresbilling_scheme
to be set totiered
. See also the documentation forbilling_scheme
. -
getUnitAmount
A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge. -
getUnitAmountDecimal
Same asunit_amount
, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amount
andunit_amount_decimal
can be set.
-