java.lang.Object
com.caplin.motif.fx.config.definitions.client.FX

@Generated("org.openapitools.codegen.languages.SpringCodegen") public class FX extends Object
FX functionality configuration
  • Constructor Details

    • FX

      public FX()
    • FX

      public FX(FXFeatures features)
      Constructor with only required parameters
  • Method Details

    • features

      public FX features(FXFeatures features)
    • getFeatures

      @NotNull public @NotNull FXFeatures getFeatures()
      Get features
      Returns:
      features
    • setFeatures

      public void setFeatures(FXFeatures features)
    • currencyPairs

      public FX currencyPairs(Map<String,FXCurrencyPair> currencyPairs)
    • putCurrencyPairsItem

      public FX putCurrencyPairsItem(String key, FXCurrencyPair currencyPairsItem)
    • getCurrencyPairs

      public Map<String,FXCurrencyPair> getCurrencyPairs()
      By default a currency pair is assumed to six characters, with the first three characters for the base currency, and the last three for the term currency, e.g. EURUSD. To specify currency pairs with a different number of characters, please use _ as a delimiter, e.g. USDC_DOGE
      Returns:
      currencyPairs
    • setCurrencyPairs

      public void setCurrencyPairs(Map<String,FXCurrencyPair> currencyPairs)
    • currencies

      public FX currencies(Map<String,FXCurrency> currencies)
    • putCurrenciesItem

      public FX putCurrenciesItem(String key, FXCurrency currenciesItem)
    • getCurrencies

      public Map<String,FXCurrency> getCurrencies()
      Provide a list of currency permissions. Use this option if you wish the client to dynamically generate a list of permissioned currency pairs by crossing individual currencies.
      Returns:
      currencies
    • setCurrencies

      public void setCurrencies(Map<String,FXCurrency> currencies)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object