Class TradeConfPartsDef.SwapTradeConfirmationFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SwapTradeConfirmationFields.Builder
- Enclosing class:
- TradeConfPartsDef.SwapTradeConfirmationFields
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setSwapMidPoints(@NotNull String swapMidPoints) setSwapMidPoints(@NotNull BigDecimal swapMidPoints) setSwapPips(@NotNull String swapPips) Deprecated.setSwapPoints(@NotNull String swapPoints) setSwapPoints(@NotNull BigDecimal swapPoints) setSwapType(@NotNull String swapType) Deprecated.@NotNull StringtoString()
-
Method Details
-
addField
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setSwapPoints
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapPoints(@NotNull @NotNull 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 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 BigDecimal swapMidPoints) - Parameters:
swapMidPoints- e.g. 0.004553- Returns:
- The value of swap points that is halfway between the swap bid points and the swap ask points.
-
setSwapMidPoints
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapMidPoints(@NotNull @NotNull String swapMidPoints) - Parameters:
swapMidPoints- e.g. 0.004553- Returns:
- The value of swap points that is halfway between the swap bid points and the swap ask points.
-
setSwapPips
@Deprecated @NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapPips(@NotNull @NotNull String swapPips) Deprecated.- Parameters:
swapPips- e.g. 53.90- Returns:
- swapPips
-
setSwapType
@Deprecated @NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapType(@NotNull @NotNull String swapType) Deprecated.- Parameters:
swapType- e.g. SPOTFWD- Returns:
- swapType
-