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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields
build()
@NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
setSwapMargin(@NotNull java.lang.String swapMargin, boolean isEditable)
@NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
setSwapMargin(@NotNull java.math.BigDecimal swapMargin, boolean isEditable)
@NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
setSwapMarginEditable()
@NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
setTraderSwapPoints(@NotNull java.lang.String traderSwapPoints)
@NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
setTraderSwapPoints(@NotNull java.math.BigDecimal traderSwapPoints)
@NotNull java.lang.String
toString()
-
-
-
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.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.
-
setSwapMarginEditable
@NotNull public @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder setSwapMarginEditable()
-
-