Class SettlementInstructionsPartsDef.NettingComponents.Builder
java.lang.Object
com.caplin.generated.motif.fx.settlementinstructions.SettlementInstructionsPartsDef.NettingComponents.Builder
- Enclosing class:
- SettlementInstructionsPartsDef.NettingComponents
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setAmount
(@NotNull BigDecimal amount) setBuySell
(@NotNull String buySell) setTradeID
(@NotNull String tradeID) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setTradeID
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setTradeID(@NotNull @NotNull String tradeID) - Parameters:
tradeID
- e.g. 00001561- Returns:
- A unique identifier for this trade
-
setBuySell
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setBuySell(@NotNull @NotNull String buySell) - Returns:
- The direction of the trade or trade leg, from the client's perspective. This always refers to the BaseCurrency, NOT the DealtCurrency.
-
setAmount
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setAmount(@NotNull @NotNull BigDecimal amount) - Returns:
- The amount of a trade or order in the DealtCurrency.
-
setAmount
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setAmount(@NotNull @NotNull String amount) - Returns:
- The amount of a trade or order in the DealtCurrency.
-