Package com.stripe.param
Class SubscriptionCreateParams.Item.PriceData
java.lang.Object
com.stripe.param.SubscriptionCreateParams.Item.PriceData
- Enclosing class:
- SubscriptionCreateParams.Item
Required. The number of intervals, as an whole number greater than
0. Stripe multiplies this by the interval type to get the overall duration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanRequired. Three-letter ISO currency code, in lowercase.Map of extra parameters for custom features not available in this client library.Required. The recurring components of a price such asintervalandinterval_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.inthashCode()
-
Method Details
-
builder
-
getCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
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@SerializedNamevalue. 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. -
getProduct
-
getRecurring
Required. The recurring components of a price such asintervalandinterval_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 eitherinclusiveorexclusive, it cannot be changed. -
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_amountandunit_amount_decimalcan be set. -
equals
-
canEqual
-
hashCode
public int hashCode()
-