Class QuotePartsDef.BlockCommonFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.rates.QuotePartsDef.BlockCommonFields.Builder
- Enclosing class:
- QuotePartsDef.BlockCommonFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull QuotePartsDef.BlockCommonFields
build()
setNetBuySell
(@NotNull String netBuySell) setNetDealtAmount
(@NotNull String netDealtAmount) setNetDealtAmount
(@NotNull BigDecimal netDealtAmount) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull QuotePartsDef.BlockCommonFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setNetBuySell
@NotNull public @NotNull QuotePartsDef.BlockCommonFields.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 QuotePartsDef.BlockCommonFields.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 QuotePartsDef.BlockCommonFields.Builder setNetDealtAmount(@NotNull @NotNull String netDealtAmount) - Parameters:
netDealtAmount
- e.g. 1000000- Returns:
- The net dealt amount (unsigned) for all the trade legs
-