Package com.stripe.param
Class ProductCreateParams.DefaultPriceData
java.lang.Object
com.stripe.param.ProductCreateParams.DefaultPriceData
- Enclosing class:
- ProductCreateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
The starting unit amount which can be updated by the customer.static enum
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Required. Three-letter ISO currency code, in lowercase.Prices defined in each available currency option.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.Set of key-value pairs that you can attach to an object.The recurring components of a price such asinterval
andinterval_count
.Only required if a default tax behavior was not provided in the Stripe Tax settings.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.int
hashCode()
-
Method Details
-
builder
-
getCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getCurrencyOptions
Prices defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency. -
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. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
getRecurring
The recurring components of a price such asinterval
andinterval_count
. -
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. -
getUnitAmount
A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge. One ofunit_amount
,unit_amount_decimal
, orcustom_unit_amount
is required. -
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. -
equals
-
canEqual
-
hashCode
public int hashCode()
-