Package com.stripe.model
Class PaymentRecord.AmountGuaranteed
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentRecord.AmountGuaranteed
- 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 smallest currency unit for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.int
hashCode()
void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
A positive integer representing the amount in the smallest currency unit for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AmountGuaranteed
public AmountGuaranteed()
-
-
Method Details
-
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getValue
A positive integer representing the amount in the smallest currency unit for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setValue
A positive integer representing the amount in the smallest currency unit for example, 100 cents for 1 USD or 100 for 100 JPY, a zero-decimal currency. -
equals
-
canEqual
-
hashCode
public int hashCode()
-