Class PayoutIntent.FxQuote

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

public static class PayoutIntent.FxQuote extends StripeObject
FX rate information for fee transparency.
  • Constructor Details

    • FxQuote

      public FxQuote()
  • Method Details

    • getLockDuration

      public String getLockDuration()
      Open Enum. Duration of the FX rate lock.

      One of five_minutes, or none.

    • getLockExpiresAt

      public Instant getLockExpiresAt()
      Timestamp when the rate lock expires. Null when rate locking is not supported.
    • getLockStatus

      public String getLockStatus()
      Open Enum. Lock status of the FX rate.

      One of active, expired, or none.

    • getRates

      public Map<String,PayoutIntent.FxQuote.Rate> getRates()
      Maps each source currency to its exchange rate into to_currency.
    • getToCurrency

      public String getToCurrency()
      The destination currency.
    • setLockDuration

      public void setLockDuration(String lockDuration)
      Open Enum. Duration of the FX rate lock.

      One of five_minutes, or none.

    • setLockExpiresAt

      public void setLockExpiresAt(Instant lockExpiresAt)
      Timestamp when the rate lock expires. Null when rate locking is not supported.
    • setLockStatus

      public void setLockStatus(String lockStatus)
      Open Enum. Lock status of the FX rate.

      One of active, expired, or none.

    • setRates

      public void setRates(Map<String,PayoutIntent.FxQuote.Rate> rates)
      Maps each source currency to its exchange rate into to_currency.
    • setToCurrency

      public void setToCurrency(String toCurrency)
      The destination currency.
    • 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