Class FX
java.lang.Object
com.caplin.motif.fx.config.definitions.client.FX
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.4.0")
public class FX
extends Object
FX functionality configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncurrencies(Map<String, FXCurrency> currencies) currencyPairs(Map<String, FXCurrencyPair> currencyPairs) booleanfeatures(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 FXFeaturesGet featuresinthashCode()putCurrenciesItem(String key, FXCurrency currenciesItem) putCurrencyPairsItem(String key, FXCurrencyPair currencyPairsItem) voidsetCurrencies(Map<String, FXCurrency> currencies) voidsetCurrencyPairs(Map<String, FXCurrencyPair> currencyPairs) voidsetFeatures(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
-