Package com.stripe.model
Class PaymentRecord.AmountRequested
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentRecord.AmountRequested
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentRecord
A representation of an amount of money, consisting of an amount and a currency.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Three-letter ISO currency code, in lowercase.getValue()
A positive integer representing the amount in the currency's minor unit.int
hashCode()
void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
A positive integer representing the amount in the currency's minor unit.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AmountRequested
public AmountRequested()
-
-
Method Details
-
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getValue
A positive integer representing the amount in the currency's minor unit. For example,100
can represent 1 USD or 100 JPY. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setValue
A positive integer representing the amount in the currency's minor unit. For example,100
can represent 1 USD or 100 JPY. -
equals
-
canEqual
-
hashCode
public int hashCode()
-