Class QuotePartsDef.SalesLegFields.Builder

java.lang.Object
com.caplin.generated.motif.fx.rates.QuotePartsDef.SalesLegFields.Builder
Enclosing class:
QuotePartsDef.SalesLegFields

public static final class QuotePartsDef.SalesLegFields.Builder extends Object
  • Method Details

    • addField

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

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

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object
    • setTraderAllInBidRate

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setTraderAllInBidRate(@NotNull @NotNull BigDecimal traderAllInBidRate)
      Parameters:
      traderAllInBidRate - e.g. 1.091790
      Returns:
      This field represents the all-in bid rate, with no client margin applied to it
    • setTraderAllInBidRate

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setTraderAllInBidRate(@NotNull @NotNull String traderAllInBidRate)
      Parameters:
      traderAllInBidRate - e.g. 1.091790
      Returns:
      This field represents the all-in bid rate, with no client margin applied to it
    • setTraderFwdBidPoints

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setTraderFwdBidPoints(@NotNull @NotNull BigDecimal traderFwdBidPoints)
      Parameters:
      traderFwdBidPoints - e.g. 0.001198
      Returns:
      This field represents the forward bid points with no client margin applied to them.
    • setTraderFwdBidPoints

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setTraderFwdBidPoints(@NotNull @NotNull String traderFwdBidPoints)
      Parameters:
      traderFwdBidPoints - e.g. 0.001198
      Returns:
      This field represents the forward bid points with no client margin applied to them.
    • setDefaultFwdBidMargin

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setDefaultFwdBidMargin(@NotNull @NotNull BigDecimal defaultFwdBidMargin)
      Parameters:
      defaultFwdBidMargin - e.g. 0.000019
      Returns:
      This field represents the default margin to be applied to the L1_TraderFwdBidPoints. It should be sent as an unformatted, raw value.
    • setDefaultFwdBidMargin

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setDefaultFwdBidMargin(@NotNull @NotNull String defaultFwdBidMargin)
      Parameters:
      defaultFwdBidMargin - e.g. 0.000019
      Returns:
      This field represents the default margin to be applied to the L1_TraderFwdBidPoints. It should be sent as an unformatted, raw value.
    • setTraderAllInAskRate

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setTraderAllInAskRate(@NotNull @NotNull BigDecimal traderAllInAskRate)
      Parameters:
      traderAllInAskRate - e.g. 1.091790
      Returns:
      This field represents the all-in ask rate, with no client margin applied to it
    • setTraderAllInAskRate

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setTraderAllInAskRate(@NotNull @NotNull String traderAllInAskRate)
      Parameters:
      traderAllInAskRate - e.g. 1.091790
      Returns:
      This field represents the all-in ask rate, with no client margin applied to it
    • setTraderFwdAskPoints

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setTraderFwdAskPoints(@NotNull @NotNull BigDecimal traderFwdAskPoints)
      Parameters:
      traderFwdAskPoints - e.g. 0.001198
      Returns:
      This field represents the forward ask points with no client margin applied to them.
    • setTraderFwdAskPoints

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setTraderFwdAskPoints(@NotNull @NotNull String traderFwdAskPoints)
      Parameters:
      traderFwdAskPoints - e.g. 0.001198
      Returns:
      This field represents the forward ask points with no client margin applied to them.
    • setDefaultFwdAskMargin

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setDefaultFwdAskMargin(@NotNull @NotNull BigDecimal defaultFwdAskMargin)
      Parameters:
      defaultFwdAskMargin - e.g. 0.000019
      Returns:
      This field represents the default margin to be applied to the L1_TraderFwdAskPoints. It should be sent as an unformatted, raw value.
    • setDefaultFwdAskMargin

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setDefaultFwdAskMargin(@NotNull @NotNull String defaultFwdAskMargin)
      Parameters:
      defaultFwdAskMargin - e.g. 0.000019
      Returns:
      This field represents the default margin to be applied to the L1_TraderFwdAskPoints. It should be sent as an unformatted, raw value.
    • setComponent1

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setComponent1(@NotNull @NotNull QuotePartsDef.SalesSyntheticComponentLegFields component1)
      Returns:
      component1
    • setComponent2

      @NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setComponent2(@NotNull @NotNull QuotePartsDef.SalesSyntheticComponentLegFields component2)
      Returns:
      component2