Package com.stripe.model
Class Price.CurrencyOption.CustomUnitAmount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Price.CurrencyOption.CustomUnitAmount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Price.CurrencyOption
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The maximum unit amount the customer can specify for this item.The minimum unit amount the customer can specify for this item.The starting unit amount which can be updated by the customer.int
hashCode()
void
setMaximum
(Long maximum) The maximum unit amount the customer can specify for this item.void
setMinimum
(Long minimum) The minimum unit amount the customer can specify for this item.void
The starting unit amount which can be updated by the customer.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CustomUnitAmount
public CustomUnitAmount()
-
-
Method Details
-
getMaximum
The maximum unit amount the customer can specify for this item. -
getMinimum
The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount. -
getPreset
The starting unit amount which can be updated by the customer. -
setMaximum
The maximum unit amount the customer can specify for this item. -
setMinimum
The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount. -
setPreset
The starting unit amount which can be updated by the customer. -
equals
-
canEqual
-
hashCode
public int hashCode()
-