Class QuotePartsDef.SwapQuoteFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.rates.QuotePartsDef.SwapQuoteFields.Builder
-
- Enclosing class:
- QuotePartsDef.SwapQuoteFields
public static final class QuotePartsDef.SwapQuoteFields.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull QuotePartsDef.SwapQuoteFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull QuotePartsDef.SwapQuoteFields
build()
@NotNull QuotePartsDef.SwapQuoteFields.Builder
setSwapAskPips(@NotNull java.lang.String swapAskPips)
Deprecated.@NotNull QuotePartsDef.SwapQuoteFields.Builder
setSwapAskPoints(@NotNull java.lang.String swapAskPoints)
@NotNull QuotePartsDef.SwapQuoteFields.Builder
setSwapAskPoints(@NotNull java.math.BigDecimal swapAskPoints)
@NotNull QuotePartsDef.SwapQuoteFields.Builder
setSwapBidPips(@NotNull java.lang.String swapBidPips)
Deprecated.@NotNull QuotePartsDef.SwapQuoteFields.Builder
setSwapBidPoints(@NotNull java.lang.String swapBidPoints)
@NotNull QuotePartsDef.SwapQuoteFields.Builder
setSwapBidPoints(@NotNull java.math.BigDecimal swapBidPoints)
@NotNull QuotePartsDef.SwapQuoteFields.Builder
setSwapMidPoints(@NotNull java.lang.String swapMidPoints)
@NotNull QuotePartsDef.SwapQuoteFields.Builder
setSwapMidPoints(@NotNull java.math.BigDecimal swapMidPoints)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull QuotePartsDef.SwapQuoteFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull QuotePartsDef.SwapQuoteFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setSwapAskPoints
@NotNull public @NotNull QuotePartsDef.SwapQuoteFields.Builder setSwapAskPoints(@NotNull @NotNull java.math.BigDecimal swapAskPoints)
- Parameters:
swapAskPoints
- e.g. 0.004934- Returns:
- swapAskPoints
-
setSwapAskPoints
@NotNull public @NotNull QuotePartsDef.SwapQuoteFields.Builder setSwapAskPoints(@NotNull @NotNull java.lang.String swapAskPoints)
- Parameters:
swapAskPoints
- e.g. 0.004934- Returns:
- swapAskPoints
-
setSwapBidPoints
@NotNull public @NotNull QuotePartsDef.SwapQuoteFields.Builder setSwapBidPoints(@NotNull @NotNull java.math.BigDecimal swapBidPoints)
- Parameters:
swapBidPoints
- e.g. 0.004171- Returns:
- swapBidPoints
-
setSwapBidPoints
@NotNull public @NotNull QuotePartsDef.SwapQuoteFields.Builder setSwapBidPoints(@NotNull @NotNull java.lang.String swapBidPoints)
- Parameters:
swapBidPoints
- e.g. 0.004171- Returns:
- swapBidPoints
-
setSwapMidPoints
@NotNull public @NotNull QuotePartsDef.SwapQuoteFields.Builder setSwapMidPoints(@NotNull @NotNull java.math.BigDecimal swapMidPoints)
- Parameters:
swapMidPoints
- e.g. 0.004553- Returns:
- swapMidPoints
-
setSwapMidPoints
@NotNull public @NotNull QuotePartsDef.SwapQuoteFields.Builder setSwapMidPoints(@NotNull @NotNull java.lang.String swapMidPoints)
- Parameters:
swapMidPoints
- e.g. 0.004553- Returns:
- swapMidPoints
-
setSwapAskPips
@Deprecated @NotNull public @NotNull QuotePartsDef.SwapQuoteFields.Builder setSwapAskPips(@NotNull @NotNull java.lang.String swapAskPips)
Deprecated.- Parameters:
swapAskPips
- e.g. 49.34- Returns:
- swapAskPips
-
setSwapBidPips
@Deprecated @NotNull public @NotNull QuotePartsDef.SwapQuoteFields.Builder setSwapBidPips(@NotNull @NotNull java.lang.String swapBidPips)
Deprecated.- Parameters:
swapBidPips
- e.g. 41.71- Returns:
- swapBidPips
-
-