Class FX
- java.lang.Object
-
- com.caplin.motif.fx.config.definitions.client.FX
-
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class FX extends java.lang.Object
FX functionality configuration
-
-
Constructor Summary
Constructors Constructor Description FX()
FX(FXFeatures features)
Constructor with only required parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FX
currencies(java.util.Map<java.lang.String,FXCurrency> currencies)
FX
currencyPairs(java.util.Map<java.lang.String,FXCurrencyPair> currencyPairs)
boolean
equals(java.lang.Object o)
FX
features(FXFeatures features)
java.util.Map<java.lang.String,FXCurrency>
getCurrencies()
Provide a list of currency permissions.java.util.Map<java.lang.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.@NotNull FXFeatures
getFeatures()
Get featuresint
hashCode()
FX
putCurrenciesItem(java.lang.String key, FXCurrency currenciesItem)
FX
putCurrencyPairsItem(java.lang.String key, FXCurrencyPair currencyPairsItem)
void
setCurrencies(java.util.Map<java.lang.String,FXCurrency> currencies)
void
setCurrencyPairs(java.util.Map<java.lang.String,FXCurrencyPair> currencyPairs)
void
setFeatures(FXFeatures features)
java.lang.String
toString()
-
-
-
Constructor Detail
-
FX
public FX()
-
FX
public FX(FXFeatures features)
Constructor with only required parameters
-
-
Method Detail
-
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(java.util.Map<java.lang.String,FXCurrencyPair> currencyPairs)
-
putCurrencyPairsItem
public FX putCurrencyPairsItem(java.lang.String key, FXCurrencyPair currencyPairsItem)
-
getCurrencyPairs
public java.util.Map<java.lang.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(java.util.Map<java.lang.String,FXCurrencyPair> currencyPairs)
-
currencies
public FX currencies(java.util.Map<java.lang.String,FXCurrency> currencies)
-
putCurrenciesItem
public FX putCurrenciesItem(java.lang.String key, FXCurrency currenciesItem)
-
getCurrencies
public java.util.Map<java.lang.String,FXCurrency> 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
public void setCurrencies(java.util.Map<java.lang.String,FXCurrency> currencies)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-