java.lang.Object
com.caplin.motif.fx.config.definitions.sales.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, List<String> currencyPairs)
      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(List<String> currencyPairs)
    • addCurrencyPairsItem

      public FX addCurrencyPairsItem(String currencyPairsItem)
    • getCurrencyPairs

      @NotNull public @NotNull List<String> 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(List<String> 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