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