Package com.stripe.model.v2.billing
Class LicenseFeeVersion.Tier
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.LicenseFeeVersion.Tier
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- LicenseFeeVersion
For more details about Tier, please refer to the API
Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
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()
void
setFlatAmount
(String flatAmount) Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places.void
setUnitAmount
(String unitAmount) Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at most 12 decimal places.void
setUpToDecimal
(String upToDecimal) Up to and including this quantity will be contained in the tier.void
setUpToInf
(String upToInf) No upper bound to this tier.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Tier
public Tier()
-
-
Method Details
-
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. -
setFlatAmount
Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places. -
setUnitAmount
Per-unit price for units included in this tier, represented as a decimal string in minor currency units with at most 12 decimal places. -
setUpToDecimal
Up to and including this quantity will be contained in the tier. Only one ofup_to_decimal
andup_to_inf
may be set. -
setUpToInf
No upper bound to this tier. Only one ofup_to_decimal
andup_to_inf
may be set. -
equals
-
canEqual
-
hashCode
public int hashCode()
-