Class QuotePartsDef.SalesSwapQuoteFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.rates.QuotePartsDef.SalesSwapQuoteFields.Builder
-
- Enclosing class:
- QuotePartsDef.SalesSwapQuoteFields
public static final class QuotePartsDef.SalesSwapQuoteFields.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull QuotePartsDef.SalesSwapQuoteFields
build()
@NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
setDefaultSwapAskMargin(@NotNull java.lang.String defaultSwapAskMargin)
@NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
setDefaultSwapAskMargin(@NotNull java.math.BigDecimal defaultSwapAskMargin)
@NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
setDefaultSwapBidMargin(@NotNull java.lang.String defaultSwapBidMargin)
@NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
setDefaultSwapBidMargin(@NotNull java.math.BigDecimal defaultSwapBidMargin)
@NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
setTraderSwapAskPoints(@NotNull java.lang.String traderSwapAskPoints)
@NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
setTraderSwapAskPoints(@NotNull java.math.BigDecimal traderSwapAskPoints)
@NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
setTraderSwapBidPoints(@NotNull java.lang.String traderSwapBidPoints)
@NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
setTraderSwapBidPoints(@NotNull java.math.BigDecimal traderSwapBidPoints)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setTraderSwapAskPoints
@NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder setTraderSwapAskPoints(@NotNull @NotNull java.math.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 java.lang.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 java.math.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 java.lang.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 java.math.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 java.lang.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 java.math.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 java.lang.String defaultSwapBidMargin)
- Parameters:
defaultSwapBidMargin
- e.g. 0.000040- Returns:
- The default swap margin to be applied to the bid side: L1_DefaultFwdAskMargin + L2_DefaultFwdBidMargin
-
-