Class TradeConfPartsDef.SwapTradeConfirmationFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SwapTradeConfirmationFields.Builder
-
- Enclosing class:
- TradeConfPartsDef.SwapTradeConfirmationFields
public static final class TradeConfPartsDef.SwapTradeConfirmationFields.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setSwapPoints
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapPoints(@NotNull @NotNull java.math.BigDecimal swapPoints)
- Parameters:
swapPoints
- e.g. 0.005390- Returns:
- The difference in interest rates between transaction currencies.
-
setSwapPoints
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapPoints(@NotNull @NotNull java.lang.String swapPoints)
- Parameters:
swapPoints
- e.g. 0.005390- Returns:
- The difference in interest rates between transaction currencies.
-
setSwapMidPoints
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapMidPoints(@NotNull @NotNull java.math.BigDecimal swapMidPoints)
- Parameters:
swapMidPoints
- e.g. 0.004553- Returns:
- swapMidPoints
-
setSwapMidPoints
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapMidPoints(@NotNull @NotNull java.lang.String swapMidPoints)
- Parameters:
swapMidPoints
- e.g. 0.004553- Returns:
- swapMidPoints
-
setSwapPips
@Deprecated @NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapPips(@NotNull @NotNull java.lang.String swapPips)
Deprecated.- Parameters:
swapPips
- e.g. 53.90- Returns:
- swapPips
-
setSwapType
@Deprecated @NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapType(@NotNull @NotNull java.lang.String swapType)
Deprecated.- Parameters:
swapType
- e.g. SPOTFWD- Returns:
- swapType
-
-