Class OutboundPaymentQuote.FxQuote
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.OutboundPaymentQuote.FxQuote
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- OutboundPaymentQuote
For more details about FxQuote, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Rate, 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 duration the exchange rate lock remains valid from creation time.Time at which the rate lock will expire, measured in seconds since the Unix epoch.Lock status of the quote.getRates()
Key pair: from currency Value: exchange rate going from_currency -> to_currency.The currency that the transaction is exchanging to.int
hashCode()
void
setLockDuration
(String lockDuration) The duration the exchange rate lock remains valid from creation time.void
setLockExpiresAt
(Instant lockExpiresAt) Time at which the rate lock will expire, measured in seconds since the Unix epoch.void
setLockStatus
(String lockStatus) Lock status of the quote.void
Key pair: from currency Value: exchange rate going from_currency -> to_currency.void
setToCurrency
(String toCurrency) The currency that the transaction is exchanging to.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
FxQuote
public FxQuote()
-
-
Method Details
-
getLockDuration
The duration the exchange rate lock remains valid from creation time. Allowed value is five_minutes.Equal to
five_minutes
. -
getLockExpiresAt
Time at which the rate lock will expire, measured in seconds since the Unix epoch. -
getLockStatus
Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp. Value can be active or expired.One of
active
, orexpired
. -
getRates
Key pair: from currency Value: exchange rate going from_currency -> to_currency. -
getToCurrency
The currency that the transaction is exchanging to. -
setLockDuration
The duration the exchange rate lock remains valid from creation time. Allowed value is five_minutes.Equal to
five_minutes
. -
setLockExpiresAt
Time at which the rate lock will expire, measured in seconds since the Unix epoch. -
setLockStatus
Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp. Value can be active or expired.One of
active
, orexpired
. -
setRates
Key pair: from currency Value: exchange rate going from_currency -> to_currency. -
setToCurrency
The currency that the transaction is exchanging to. -
equals
-
canEqual
-
hashCode
public int hashCode()
-