Class TradeDetailsPartsDef.TradeDetailsFields

    • Method Detail

      • getCurrencyPair

        @Nullable
        public @Nullable java.lang.String getCurrencyPair()
        Returns:
        The currency pair for the trade. For example, EURUSD
      • getDealtCurrency

        @Nullable
        public @Nullable java.lang.String getDealtCurrency()
        Returns:
        The currency of the Amount of a trade or order.
      • getTradingType

        @Nullable
        public @Nullable java.lang.String getTradingType()
        Returns:
        Caplin supported values are [SPOT, FWD, NDF, NDF_FIXING, TIME_OPTION, DRAWDOWN, SWAP, BLOCK]. See the constants defined within com.caplin.motif.fx.trading.FXTradingType for further details.
      • getFields

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.lang.String> getFields()
        Specified by:
        getFields in interface Message
      • getFieldFlags

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getFieldFlags()
        Specified by:
        getFieldFlags in interface BuilderMessage
        Returns:
        Get the flags for all fields.
      • getFlagFields

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getFlagFields()
        Specified by:
        getFlagFields in interface BuilderMessage
        Returns:
        Get the fields for all flags.
      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • from

        @NotNull
        public static @NotNull TradeDetailsPartsDef.TradeDetailsFields from​(@NotNull
                                                                            @NotNull java.util.Map<java.lang.String,​java.lang.String> fields,
                                                                            @NotNull
                                                                            @NotNull java.lang.String fieldPrefix)