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 Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder
addField(@NotNull String key, @NotNull String value)
@NotNull TradeConfPartsDef.SwapTradeConfirmationFields
build()
@NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder
setSwapMidPoints(@NotNull String swapMidPoints)
@NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder
setSwapMidPoints(@NotNull BigDecimal swapMidPoints)
@NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder
setSwapPips(@NotNull String swapPips)
Deprecated.@NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder
setSwapPoints(@NotNull String swapPoints)
@NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder
setSwapPoints(@NotNull BigDecimal swapPoints)
@NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder
setSwapType(@NotNull String swapType)
Deprecated.@NotNull String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields build()
-
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:
- swapMidPoints
-
setSwapMidPoints
@NotNull public @NotNull TradeConfPartsDef.SwapTradeConfirmationFields.Builder setSwapMidPoints(@NotNull @NotNull String swapMidPoints)
- Parameters:
swapMidPoints
- e.g. 0.004553- Returns:
- swapMidPoints
-
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
-
-