Class FX
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 Summary
ConstructorsConstructorDescriptionFX()FX(FXFeatures features, Map<String, FXCurrencyPair> currencyPairs) Constructor with only required parameters -
Method Summary
Modifier and TypeMethodDescriptionaddProfitCurrenciesItem(String profitCurrenciesItem) currencyPairs(Map<String, FXCurrencyPair> currencyPairs) booleanfeatures(FXFeatures features) @NotNull Map<String,FXCurrencyPair> 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 featuresA list of currencies the user can choose to have the estimated profit displayed in.inthashCode()profitCurrencies(List<String> profitCurrencies) putCurrencyPairsItem(String key, FXCurrencyPair currencyPairsItem) voidsetCurrencyPairs(Map<String, FXCurrencyPair> currencyPairs) voidsetFeatures(FXFeatures features) voidsetProfitCurrencies(List<String> profitCurrencies) 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
-
profitCurrencies
-
addProfitCurrenciesItem
-
getProfitCurrencies
A list of currencies the user can choose to have the estimated profit displayed in.- Returns:
- profitCurrencies
-
setProfitCurrencies
-
equals
-
hashCode
public int hashCode() -
toString
-