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
For more details about FxQuote, please refer to the API Reference.
  • 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.

      Equal to five_minutes.

    • getLockExpiresAt

      public Instant getLockExpiresAt()
      Time at which the rate lock will expire, measured in seconds since the Unix epoch.
    • 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 or expired.

      One of active, or expired.

    • 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.

      Equal to five_minutes.

    • setLockExpiresAt

      public void setLockExpiresAt(Instant lockExpiresAt)
      Time at which the rate lock will expire, measured in seconds since the Unix epoch.
    • 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 or expired.

      One of active, or expired.

    • 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