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 java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setTraderSwapPoints
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setTraderSwapPoints(@NotNull @NotNull java.math.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 java.lang.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 java.math.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 java.math.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 java.lang.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 java.lang.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()
-
-