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 java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TradeConfPartsDef.RemarksEntry.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull TradeConfPartsDef.RemarksEntry
build()
@NotNull TradeConfPartsDef.RemarksEntry.Builder
setRemarkDateTime(@NotNull java.lang.String remarkDateTime)
@NotNull TradeConfPartsDef.RemarksEntry.Builder
setRemarkDateTime(@NotNull java.time.Instant remarkDateTime)
@NotNull TradeConfPartsDef.RemarksEntry.Builder
setRemarks(@NotNull java.lang.String remarks)
@NotNull TradeConfPartsDef.RemarksEntry.Builder
setRemarkSource(@NotNull java.lang.String remarkSource)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.RemarksEntry.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.RemarksEntry build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.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.
-
-