Package com.stripe.model
Class ShippingRate.FixedAmount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.ShippingRate.FixedAmount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- ShippingRate
Must be greater than 0.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A non-negative integer in cents representing how much to charge.Three-letter ISO currency code, in lowercase.Shipping rates defined in each available currency option.int
hashCode()
void
A non-negative integer in cents representing how much to charge.void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
setCurrencyOptions
(Map<String, ShippingRate.FixedAmount.CurrencyOption> currencyOptions) Shipping rates defined in each available currency option.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
FixedAmount
public FixedAmount()
-
-
Method Details
-
getAmount
A non-negative integer in cents representing how much to charge. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getCurrencyOptions
Shipping rates defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency. -
setAmount
A non-negative integer in cents representing how much to charge. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setCurrencyOptions
Shipping rates defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency. -
equals
-
canEqual
-
hashCode
public int hashCode()
-