Class FX
java.lang.Object
com.caplin.motif.fx.config.definitions.client.FX
FX functionality configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncurrencies
(Map<String, FXCurrency> currencies) currencyPairs
(Map<String, FXCurrencyPair> currencyPairs) boolean
features
(FXFeatures features) Provide a list of currency permissions.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.@NotNull FXFeatures
Get featuresint
hashCode()
putCurrenciesItem
(String key, FXCurrency currenciesItem) putCurrencyPairsItem
(String key, FXCurrencyPair currencyPairsItem) void
setCurrencies
(Map<String, FXCurrency> currencies) void
setCurrencyPairs
(Map<String, FXCurrencyPair> currencyPairs) void
setFeatures
(FXFeatures features) toString()
-
Constructor Details
-
FX
public FX() -
FX
Constructor with only required parameters
-
-
Method Details
-
features
-
getFeatures
Get features- Returns:
- features
-
setFeatures
-
currencyPairs
-
putCurrencyPairsItem
-
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
-
currencies
-
putCurrenciesItem
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-