Class FX


  • @Generated("org.openapitools.codegen.languages.SpringCodegen")
    public class FX
    extends java.lang.Object
    FX functionality configuration
    • Constructor Detail

      • FX

        public FX()
      • FX

        public FX​(FXFeatures features)
        Constructor with only required parameters
    • Method Detail

      • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object