Class OutboundPaymentQuote.FxQuote
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.OutboundPaymentQuote.FxQuote
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- OutboundPaymentQuote
The underlying FXQuote details for the OutboundPaymentQuote.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor 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 booleanbooleanThe 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.inthashCode()voidsetLockDuration(String lockDuration) The duration the exchange rate lock remains valid from creation time.voidsetLockExpiresAt(Instant lockExpiresAt) Time at which the rate lock will expire, measured in seconds since the Unix epoch.voidsetLockStatus(String lockStatus) Lock status of the quote.voidKey pair: from currency Value: exchange rate going from_currency -> to_currency.voidsetToCurrency(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 or none.One of
five_minutes, ornone. -
getLockExpiresAt
Time at which the rate lock will expire, measured in seconds since the Unix epoch. Null when rate locking is not supported. -
getLockStatus
Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp. Value can be active, expired or none.One of
active,expired, ornone. -
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 or none.One of
five_minutes, ornone. -
setLockExpiresAt
Time at which the rate lock will expire, measured in seconds since the Unix epoch. Null when rate locking is not supported. -
setLockStatus
Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp. Value can be active, expired or none.One of
active,expired, ornone. -
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()
-