Class TradeDetailsPartsDef.TradeDetailsFields.Builder

    • Method Detail

      • toString

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

        @NotNull
        public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setDealtCurrency​(@NotNull
                                                                                         @NotNull java.lang.String dealtCurrency)
        Parameters:
        dealtCurrency - e.g. GBP
        Returns:
        The currency of the Amount of a trade or order.
      • setTradingType

        @NotNull
        public @NotNull TradeDetailsPartsDef.TradeDetailsFields.Builder setTradingType​(@NotNull
                                                                                       @NotNull java.lang.String tradingType)
        Returns:
        Caplin supported values are [SPOT, FWD, NDF, NDF_FIXING, NDS, TIME_OPTION, DRAWDOWN, SWAP, BLOCK, PAR_FORWARD]. See the constants defined within com.caplin.motif.fx.trading.FXTradingType for further details.