Class RateCreateParams.Tier
java.lang.Object
com.stripe.param.v2.billing.ratecards.RateCreateParams.Tier
- Enclosing class:
- RateCreateParams
Required. The unit value for the custom pricing unit, as a string.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Map of extra parameters for custom features not available in this client library.Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places.Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at most 12 decimal places.Up to and including this quantity will be contained in the tier.No upper bound to this tier.int
hashCode()
-
Method Details
-
builder
-
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. -
getFlatAmount
Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. -
getUnitAmount
Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at most 12 decimal places. -
getUpToDecimal
Up to and including this quantity will be contained in the tier. Only one ofup_to_decimal
andup_to_inf
may be set. -
getUpToInf
No upper bound to this tier. Only one ofup_to_decimal
andup_to_inf
may be set. -
equals
-
canEqual
-
hashCode
public int hashCode()
-