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 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 monetary amount.getType()
The type of this amount.int
hashCode()
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
-
getMonetary
The monetary amount. -
getType
The type of this amount. We currently only supportmonetary
billing credits.Equal to
monetary
. -
setMonetary
The monetary amount. -
setType
The type of this amount. We currently only supportmonetary
billing credits.Equal to
monetary
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-