Package com.stripe.model.billing
Class CreditGrant.Amount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.CreditGrant.Amount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- CreditGrant
For more details about Amount, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about CustomPricingUnit, please refer to the API Reference.static class
For more details about Monetary, 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
The custom pricing unit amount.The monetary amount.getType()
The type of this amount.int
hashCode()
void
setCustomPricingUnit
(CreditGrant.Amount.CustomPricingUnit customPricingUnit) The custom pricing unit amount.void
setMonetary
(CreditGrant.Amount.Monetary monetary) The monetary amount.void
The type of this amount.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Amount
public Amount()
-
-
Method Details
-
getCustomPricingUnit
The custom pricing unit amount. -
getMonetary
The monetary amount. -
getType
The type of this amount. We currently only supportmonetary
billing credits.One of
custom_pricing_unit
, ormonetary
. -
setCustomPricingUnit
The custom pricing unit amount. -
setMonetary
The monetary amount. -
setType
The type of this amount. We currently only supportmonetary
billing credits.One of
custom_pricing_unit
, ormonetary
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-