Class QuotePartsDef.SwapPointQuoteFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.rates.QuotePartsDef.SwapPointQuoteFields.Builder
- Enclosing class:
- QuotePartsDef.SwapPointQuoteFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull QuotePartsDef.SwapPointQuoteFieldsbuild()setAllInRateDPS(int allInRateDPS) setAllInRateDPS(@NotNull String allInRateDPS) setSwapAskPoints(@NotNull String swapAskPoints) setSwapAskPoints(@NotNull BigDecimal swapAskPoints) setSwapBidPoints(@NotNull String swapBidPoints) setSwapBidPoints(@NotNull BigDecimal swapBidPoints) @NotNull StringtoString()
-
Method Details
-
addField
@NotNull public @NotNull QuotePartsDef.SwapPointQuoteFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setAllInRateDPS
@NotNull public @NotNull QuotePartsDef.SwapPointQuoteFields.Builder setAllInRateDPS(int allInRateDPS) - Parameters:
allInRateDPS- e.g. 5- Returns:
- The number of decimal places to display after the decimal point.
-
setAllInRateDPS
@NotNull public @NotNull QuotePartsDef.SwapPointQuoteFields.Builder setAllInRateDPS(@NotNull @NotNull String allInRateDPS) - Parameters:
allInRateDPS- e.g. 5- Returns:
- The number of decimal places to display after the decimal point.
-
setSwapAskPoints
@NotNull public @NotNull QuotePartsDef.SwapPointQuoteFields.Builder setSwapAskPoints(@NotNull @NotNull BigDecimal swapAskPoints) - Parameters:
swapAskPoints- e.g. 0.004934- Returns:
- The swap ask points that the client wants to trade on
-
setSwapAskPoints
@NotNull public @NotNull QuotePartsDef.SwapPointQuoteFields.Builder setSwapAskPoints(@NotNull @NotNull String swapAskPoints) - Parameters:
swapAskPoints- e.g. 0.004934- Returns:
- The swap ask points that the client wants to trade on
-
setSwapBidPoints
@NotNull public @NotNull QuotePartsDef.SwapPointQuoteFields.Builder setSwapBidPoints(@NotNull @NotNull BigDecimal swapBidPoints) - Parameters:
swapBidPoints- e.g. 0.004171- Returns:
- The swap bid points that the client wants to trade on
-
setSwapBidPoints
@NotNull public @NotNull QuotePartsDef.SwapPointQuoteFields.Builder setSwapBidPoints(@NotNull @NotNull String swapBidPoints) - Parameters:
swapBidPoints- e.g. 0.004171- Returns:
- The swap bid points that the client wants to trade on
-