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()
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()
-