Class TradeConfPartsDef.NetConfirmationFields.Builder

    • Method Detail

      • toString

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

        @NotNull
        public @NotNull TradeConfPartsDef.NetConfirmationFields.Builder setNetBuySell​(@NotNull
                                                                                      @NotNull java.lang.String netBuySell)
        Returns:
        The net direction of all the trade legs, from the client's perspective. This always refers to the BaseCurrency, NOT the DealtCurrency.
      • setNetDealtAmount

        @NotNull
        public @NotNull TradeConfPartsDef.NetConfirmationFields.Builder setNetDealtAmount​(@NotNull
                                                                                          @NotNull java.math.BigDecimal netDealtAmount)
        Parameters:
        netDealtAmount - e.g. 1000000
        Returns:
        The net dealt amount (unsigned) for all the trade legs
      • setNetDealtAmount

        @NotNull
        public @NotNull TradeConfPartsDef.NetConfirmationFields.Builder setNetDealtAmount​(@NotNull
                                                                                          @NotNull java.lang.String netDealtAmount)
        Parameters:
        netDealtAmount - e.g. 1000000
        Returns:
        The net dealt amount (unsigned) for all the trade legs
      • setNetContraAmount

        @NotNull
        public @NotNull TradeConfPartsDef.NetConfirmationFields.Builder setNetContraAmount​(@NotNull
                                                                                           @NotNull java.math.BigDecimal netContraAmount)
        Parameters:
        netContraAmount - e.g. 1123400
        Returns:
        The net contra amount for all the trade legs
      • setNetContraAmount

        @NotNull
        public @NotNull TradeConfPartsDef.NetConfirmationFields.Builder setNetContraAmount​(@NotNull
                                                                                           @NotNull java.lang.String netContraAmount)
        Parameters:
        netContraAmount - e.g. 1123400
        Returns:
        The net contra amount for all the trade legs