Class TradeConfPartsDef.RemarksEntry.Builder

java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.RemarksEntry.Builder
Enclosing class:
TradeConfPartsDef.RemarksEntry

public static final class TradeConfPartsDef.RemarksEntry.Builder extends Object
  • Method Details

    • addField

      @NotNull public @NotNull TradeConfPartsDef.RemarksEntry.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
    • build

      @NotNull public @NotNull TradeConfPartsDef.RemarksEntry build()
    • toString

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

      @NotNull public @NotNull TradeConfPartsDef.RemarksEntry.Builder setRemarks(@NotNull @NotNull String remarks)
      Returns:
      The text content of a comment left on a leg of a trade or order, visible to Client and sales and possibly the trader, set/edited by Client or sales
    • setRemarkDateTime

      @NotNull public @NotNull TradeConfPartsDef.RemarksEntry.Builder setRemarkDateTime(@NotNull @NotNull 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 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 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 String remarkOriginStatus)
      Returns:
      Additional remark field pointing at the previous status of the trade.
    • setRemarkTargetStatus

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