Class OutboundPaymentQuote.FxQuote

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.OutboundPaymentQuote.FxQuote
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
OutboundPaymentQuote

public static class OutboundPaymentQuote.FxQuote extends StripeObject
The underlying FXQuote details for the OutboundPaymentQuote.
  • Constructor Details

    • FxQuote

      public FxQuote()
  • Method Details

    • getLockDuration

      public String getLockDuration()
      The duration the exchange rate lock remains valid from creation time. Allowed value is five_minutes or none.

      One of five_minutes, or none.

    • getLockExpiresAt

      public Instant getLockExpiresAt()
      Time at which the rate lock will expire, measured in seconds since the Unix epoch. Null when rate locking is not supported.
    • getLockStatus

      public String 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, or none.

    • getRates

      Key pair: from currency Value: exchange rate going from_currency -> to_currency.
    • getToCurrency

      public String getToCurrency()
      The currency that the transaction is exchanging to.
    • setLockDuration

      public void setLockDuration(String lockDuration)
      The duration the exchange rate lock remains valid from creation time. Allowed value is five_minutes or none.

      One of five_minutes, or none.

    • setLockExpiresAt

      public void setLockExpiresAt(Instant lockExpiresAt)
      Time at which the rate lock will expire, measured in seconds since the Unix epoch. Null when rate locking is not supported.
    • setLockStatus

      public void setLockStatus(String lockStatus)
      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, or none.

    • setRates

      public void setRates(Map<String,OutboundPaymentQuote.FxQuote.Rate> rates)
      Key pair: from currency Value: exchange rate going from_currency -> to_currency.
    • setToCurrency

      public void setToCurrency(String toCurrency)
      The currency that the transaction is exchanging to.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object