Class TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
-
- Enclosing class:
- TradeConfPartsDef.SalesSwapTradeConfirmationFields
public static final class TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields build()
-
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()
-
-