Class TradeConfPartsDef.RemarksEntry.Builder

    • Method Detail

      • toString

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

        @NotNull
        public @NotNull TradeConfPartsDef.RemarksEntry.Builder setRemarks​(@NotNull
                                                                          @NotNull java.lang.String remarks)
        Returns:
        The text content of a comment left on a leg of a trade or order.
      • setRemarkDateTime

        @NotNull
        public @NotNull TradeConfPartsDef.RemarksEntry.Builder setRemarkDateTime​(@NotNull
                                                                                 @NotNull java.time.Instant remarkDateTime)
        Parameters:
        remarkDateTime - e.g. 2018-03-16T07:25:16+00:00
        Returns:
        The date and time a remark was left on in ISO-8601 format.
      • setRemarkDateTime

        @NotNull
        public @NotNull TradeConfPartsDef.RemarksEntry.Builder setRemarkDateTime​(@NotNull
                                                                                 @NotNull java.lang.String remarkDateTime)
        Parameters:
        remarkDateTime - e.g. 2018-03-16T07:25:16+00:00
        Returns:
        The date and time a remark was left on in ISO-8601 format.
      • setRemarkSource

        @NotNull
        public @NotNull TradeConfPartsDef.RemarksEntry.Builder setRemarkSource​(@NotNull
                                                                               @NotNull java.lang.String remarkSource)
        Returns:
        The username of the person who left a remark on a trade.
      • setRemarkOriginStatus

        @NotNull
        public @NotNull TradeConfPartsDef.RemarksEntry.Builder setRemarkOriginStatus​(@NotNull
                                                                                     @NotNull java.lang.String remarkOriginStatus)
        Returns:
        Additional remark field pointing at the previous status of the trade.
      • setRemarkTargetStatus

        @NotNull
        public @NotNull TradeConfPartsDef.RemarksEntry.Builder setRemarkTargetStatus​(@NotNull
                                                                                     @NotNull java.lang.String remarkTargetStatus)
        Returns:
        Additional remark field pointing at the current status of the trade when the remark was added.