Class TradeConfPartsDef.RemarksEntry

java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.RemarksEntry
All Implemented Interfaces:
BuilderMessage, Message
Enclosing class:
TradeConfPartsDef

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

    • getRemarks

      @Nullable public @Nullable String getRemarks()
      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
    • getRemarkDateTime

      @Nullable public @Nullable Instant getRemarkDateTime()
      Returns:
      The date and time a remark was left on in ISO-8601 format.
    • getRemarkSource

      @Nullable public @Nullable String getRemarkSource()
      Returns:
      The username of the person who left a remark on a trade.
    • getRemarkOriginStatus

      @Nullable public @Nullable String getRemarkOriginStatus()
      Returns:
      Additional remark field pointing at the previous status of the trade.
    • getRemarkTargetStatus

      @Nullable public @Nullable String getRemarkTargetStatus()
      Returns:
      Additional remark field pointing at the current status of the trade when the remark was added.
    • getFields

      @NotNull public @NotNull Map<String,String> getFields()
      Specified by:
      getFields in interface Message
    • getFieldFlags

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

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

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

      @NotNull public static @NotNull TradeConfPartsDef.RemarksEntry from(@NotNull @NotNull Map<String,String> fields)
    • from

      @NotNull public static @NotNull TradeConfPartsDef.RemarksEntry from(@NotNull @NotNull Map<String,String> fields, @NotNull @NotNull String fieldPrefix)
    • newBuilder

      @NotNull public static @NotNull TradeConfPartsDef.RemarksEntry.Builder newBuilder()