Class QuotePartsDef.SalesSwapQuoteFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.rates.QuotePartsDef.SalesSwapQuoteFields.Builder
- Enclosing class:
- QuotePartsDef.SalesSwapQuoteFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull QuotePartsDef.SalesSwapQuoteFields
build()
setDefaultSwapAskMargin
(@NotNull String defaultSwapAskMargin) setDefaultSwapAskMargin
(@NotNull BigDecimal defaultSwapAskMargin) setDefaultSwapBidMargin
(@NotNull String defaultSwapBidMargin) setDefaultSwapBidMargin
(@NotNull BigDecimal defaultSwapBidMargin) setTraderSwapAskPoints
(@NotNull String traderSwapAskPoints) setTraderSwapAskPoints
(@NotNull BigDecimal traderSwapAskPoints) setTraderSwapBidPoints
(@NotNull String traderSwapBidPoints) setTraderSwapBidPoints
(@NotNull BigDecimal traderSwapBidPoints) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setTraderSwapAskPoints
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setTraderSwapAskPoints(@NotNull @NotNull BigDecimal traderSwapAskPoints) - Parameters:
traderSwapAskPoints
- e.g. 0.004894- Returns:
- The swap ask points with no client margins applied to them.
-
setTraderSwapAskPoints
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setTraderSwapAskPoints(@NotNull @NotNull String traderSwapAskPoints) - Parameters:
traderSwapAskPoints
- e.g. 0.004894- Returns:
- The swap ask points with no client margins applied to them.
-
setDefaultSwapAskMargin
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setDefaultSwapAskMargin(@NotNull @NotNull BigDecimal defaultSwapAskMargin) - Parameters:
defaultSwapAskMargin
- e.g. 0.000040- Returns:
- The default swap margin to be applied to the ask side: L1_DefaultFwdBidMargin + L2_DefaultFwdAskMargin
-
setDefaultSwapAskMargin
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setDefaultSwapAskMargin(@NotNull @NotNull String defaultSwapAskMargin) - Parameters:
defaultSwapAskMargin
- e.g. 0.000040- Returns:
- The default swap margin to be applied to the ask side: L1_DefaultFwdBidMargin + L2_DefaultFwdAskMargin
-
setTraderSwapBidPoints
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setTraderSwapBidPoints(@NotNull @NotNull BigDecimal traderSwapBidPoints) - Parameters:
traderSwapBidPoints
- e.g. 0.004211- Returns:
- The swap bid points with no client margins applied to them.
-
setTraderSwapBidPoints
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setTraderSwapBidPoints(@NotNull @NotNull String traderSwapBidPoints) - Parameters:
traderSwapBidPoints
- e.g. 0.004211- Returns:
- The swap bid points with no client margins applied to them.
-
setDefaultSwapBidMargin
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setDefaultSwapBidMargin(@NotNull @NotNull BigDecimal defaultSwapBidMargin) - Parameters:
defaultSwapBidMargin
- e.g. 0.000040- Returns:
- The default swap margin to be applied to the bid side: L1_DefaultFwdAskMargin + L2_DefaultFwdBidMargin
-
setDefaultSwapBidMargin
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setDefaultSwapBidMargin(@NotNull @NotNull String defaultSwapBidMargin) - Parameters:
defaultSwapBidMargin
- e.g. 0.000040- Returns:
- The default swap margin to be applied to the bid side: L1_DefaultFwdAskMargin + L2_DefaultFwdBidMargin
-