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

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.4.0") public class FX extends Object
FX functionality configuration
  • Constructor Details

  • 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

      @NotNull public @NotNull 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)
    • profitCurrencies

      public FX profitCurrencies(List<String> profitCurrencies)
    • addProfitCurrenciesItem

      public FX addProfitCurrenciesItem(String profitCurrenciesItem)
    • getProfitCurrencies

      public List<String> getProfitCurrencies()
      A list of currencies the user can choose to have the estimated profit displayed in.
      Returns:
      profitCurrencies
    • setProfitCurrencies

      public void setProfitCurrencies(List<String> profitCurrencies)
    • 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