Class TradeConfPartsDef.BlockTradeConfirmationFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.BlockTradeConfirmationFields.Builder
- Enclosing class:
- TradeConfPartsDef.BlockTradeConfirmationFields
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setNetBuySell
(@NotNull String netBuySell) setNetContraAmount
(@NotNull String netContraAmount) setNetContraAmount
(@NotNull BigDecimal netContraAmount) setNetDealtAmount
(@NotNull String netDealtAmount) setNetDealtAmount
(@NotNull BigDecimal netDealtAmount) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull TradeConfPartsDef.BlockTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setNetBuySell
@NotNull public @NotNull TradeConfPartsDef.BlockTradeConfirmationFields.Builder setNetBuySell(@NotNull @NotNull String netBuySell) - Returns:
- The net direction of all the trade legs, from the client's perspective. This always refers to the BaseCurrency, NOT the DealtCurrency.
-
setNetDealtAmount
@NotNull public @NotNull TradeConfPartsDef.BlockTradeConfirmationFields.Builder setNetDealtAmount(@NotNull @NotNull BigDecimal netDealtAmount) - Parameters:
netDealtAmount
- e.g. 1000000- Returns:
- The net dealt amount (unsigned) for all the trade legs
-
setNetDealtAmount
@NotNull public @NotNull TradeConfPartsDef.BlockTradeConfirmationFields.Builder setNetDealtAmount(@NotNull @NotNull String netDealtAmount) - Parameters:
netDealtAmount
- e.g. 1000000- Returns:
- The net dealt amount (unsigned) for all the trade legs
-
setNetContraAmount
@NotNull public @NotNull TradeConfPartsDef.BlockTradeConfirmationFields.Builder setNetContraAmount(@NotNull @NotNull BigDecimal netContraAmount) - Parameters:
netContraAmount
- e.g. 1123400- Returns:
- The net contra amount (unsigned) for all the trade legs
-
setNetContraAmount
@NotNull public @NotNull TradeConfPartsDef.BlockTradeConfirmationFields.Builder setNetContraAmount(@NotNull @NotNull String netContraAmount) - Parameters:
netContraAmount
- e.g. 1123400- Returns:
- The net contra amount (unsigned) for all the trade legs
-