Class TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder
-
- Enclosing class:
- TradeConfPartsDef.SalesLegTradeConfirmationFields
public static final class TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setTraderAllInRate
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setTraderAllInRate(@NotNull @NotNull java.math.BigDecimal traderAllInRate)
- Parameters:
traderAllInRate
- e.g. 1.005390- Returns:
- The all-in rate, with no client margin applied to it
-
setTraderAllInRate
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setTraderAllInRate(@NotNull @NotNull java.lang.String traderAllInRate)
- Parameters:
traderAllInRate
- e.g. 1.005390- Returns:
- The all-in rate, with no client margin applied to it
-
setTraderFwdPoints
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setTraderFwdPoints(@NotNull @NotNull java.math.BigDecimal traderFwdPoints)
- Parameters:
traderFwdPoints
- e.g. 0.005390- Returns:
- The forward points with no client margin applied to them.
-
setTraderFwdPoints
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setTraderFwdPoints(@NotNull @NotNull java.lang.String traderFwdPoints)
- Parameters:
traderFwdPoints
- e.g. 0.005390- Returns:
- The forward points with no client margin applied to them.
-
setFwdMargin
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setFwdMargin(@NotNull @NotNull java.math.BigDecimal fwdMargin, boolean isEditable)
- Parameters:
fwdMargin
- e.g. 0.000019- Returns:
- The Forward margin that the user has selected. This field should be sent raw and unformatted.
-
setFwdMargin
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setFwdMargin(@NotNull @NotNull java.lang.String fwdMargin, boolean isEditable)
- Parameters:
fwdMargin
- e.g. 0.000019- Returns:
- The Forward margin that the user has selected. This field should be sent raw and unformatted.
-
setFwdMarginEditable
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setFwdMarginEditable()
-
setAllInMargin
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setAllInMargin(@NotNull @NotNull java.math.BigDecimal allInMargin, boolean isEditable)
- Parameters:
allInMargin
- e.g. 0.00054- Returns:
- The sales user's selected SpotMargin added to the sales user's selected L1_FwdMargin.
-
setAllInMargin
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setAllInMargin(@NotNull @NotNull java.lang.String allInMargin, boolean isEditable)
- Parameters:
allInMargin
- e.g. 0.00054- Returns:
- The sales user's selected SpotMargin added to the sales user's selected L1_FwdMargin.
-
setAllInMarginEditable
@NotNull public @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder setAllInMarginEditable()
-
-