Class TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
- Enclosing class:
- TradeConfPartsDef.SalesSwapTradeConfirmationFields
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setComponent1
(@NotNull TradeConfPartsDef.SalesSwapSyntheticComponentTradeConfirmationFields component1) setComponent2
(@NotNull TradeConfPartsDef.SalesSwapSyntheticComponentTradeConfirmationFields component2) setSwapMargin
(@NotNull String swapMargin) setSwapMargin
(@NotNull String swapMargin, boolean isEditable) setSwapMargin
(@NotNull BigDecimal swapMargin) setSwapMargin
(@NotNull BigDecimal swapMargin, boolean isEditable) setTraderSwapPoints
(@NotNull String traderSwapPoints) setTraderSwapPoints
(@NotNull BigDecimal traderSwapPoints) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setTraderSwapPoints
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setTraderSwapPoints(@NotNull @NotNull BigDecimal traderSwapPoints) - Parameters:
traderSwapPoints
- e.g. 0.004211- Returns:
- The spot points with no client margins applied to them.
-
setTraderSwapPoints
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setTraderSwapPoints(@NotNull @NotNull String traderSwapPoints) - Parameters:
traderSwapPoints
- e.g. 0.004211- Returns:
- The spot points with no client margins applied to them.
-
setSwapMargin
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setSwapMargin(@NotNull @NotNull BigDecimal swapMargin, boolean isEditable) - Parameters:
swapMargin
- e.g. 0.000040- Returns:
- The swap margin that the sales user has selected. It should be sent as a raw value, and unformatted.
-
setSwapMargin
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setSwapMargin(@NotNull @NotNull BigDecimal swapMargin) - Parameters:
swapMargin
- e.g. 0.000040- Returns:
- The swap margin that the sales user has selected. It should be sent as a raw value, and unformatted.
-
setSwapMargin
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setSwapMargin(@NotNull @NotNull String swapMargin, boolean isEditable) - Parameters:
swapMargin
- e.g. 0.000040- Returns:
- The swap margin that the sales user has selected. It should be sent as a raw value, and unformatted.
-
setSwapMargin
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setSwapMargin(@NotNull @NotNull String swapMargin) - Parameters:
swapMargin
- e.g. 0.000040- Returns:
- The swap margin that the sales user has selected. It should be sent as a raw value, and unformatted.
-
setSwapMarginEditable
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setSwapMarginEditable() -
setComponent1
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setComponent1(@NotNull @NotNull TradeConfPartsDef.SalesSwapSyntheticComponentTradeConfirmationFields component1) - Returns:
- component1
-
setComponent2
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setComponent2(@NotNull @NotNull TradeConfPartsDef.SalesSwapSyntheticComponentTradeConfirmationFields component2) - Returns:
- component2
-