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 Object
  • Method Details

    • addField

      @NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
    • build

      @NotNull public @NotNull QuotePartsDef.SalesSwapQuoteFields build()
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object
    • 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