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