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 booleanbooleanPrice 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.inthashCode()voidsetFlatAmount(String flatAmount) Price for the entire tier, represented as a decimal string in minor currency units with at most 12 decimal places.voidsetUnitAmount(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.voidsetUpToDecimal(String upToDecimal) Up to and including this quantity will be contained in the tier.voidsetUpToInf(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_decimalandup_to_infmay be set. -
getUpToInf
No upper bound to this tier. Only one ofup_to_decimalandup_to_infmay 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_decimalandup_to_infmay be set. -
setUpToInf
No upper bound to this tier. Only one ofup_to_decimalandup_to_infmay be set. -
equals
-
canEqual
-
hashCode
public int hashCode()
-