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 java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull QuotePartsDef.SalesLegFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull QuotePartsDef.SalesLegFields
build()
@NotNull QuotePartsDef.SalesLegFields.Builder
setDefaultFwdAskMargin(@NotNull java.lang.String defaultFwdAskMargin)
@NotNull QuotePartsDef.SalesLegFields.Builder
setDefaultFwdAskMargin(@NotNull java.math.BigDecimal defaultFwdAskMargin)
@NotNull QuotePartsDef.SalesLegFields.Builder
setDefaultFwdBidMargin(@NotNull java.lang.String defaultFwdBidMargin)
@NotNull QuotePartsDef.SalesLegFields.Builder
setDefaultFwdBidMargin(@NotNull java.math.BigDecimal defaultFwdBidMargin)
@NotNull QuotePartsDef.SalesLegFields.Builder
setTraderAllInAskRate(@NotNull java.lang.String traderAllInAskRate)
@NotNull QuotePartsDef.SalesLegFields.Builder
setTraderAllInAskRate(@NotNull java.math.BigDecimal traderAllInAskRate)
@NotNull QuotePartsDef.SalesLegFields.Builder
setTraderAllInBidRate(@NotNull java.lang.String traderAllInBidRate)
@NotNull QuotePartsDef.SalesLegFields.Builder
setTraderAllInBidRate(@NotNull java.math.BigDecimal traderAllInBidRate)
@NotNull QuotePartsDef.SalesLegFields.Builder
setTraderFwdAskPoints(@NotNull java.lang.String traderFwdAskPoints)
@NotNull QuotePartsDef.SalesLegFields.Builder
setTraderFwdAskPoints(@NotNull java.math.BigDecimal traderFwdAskPoints)
@NotNull QuotePartsDef.SalesLegFields.Builder
setTraderFwdBidPoints(@NotNull java.lang.String traderFwdBidPoints)
@NotNull QuotePartsDef.SalesLegFields.Builder
setTraderFwdBidPoints(@NotNull java.math.BigDecimal traderFwdBidPoints)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull QuotePartsDef.SalesLegFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setTraderAllInBidRate
@NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder setTraderAllInBidRate(@NotNull @NotNull java.math.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 java.lang.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 java.math.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 java.lang.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 java.math.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 java.lang.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 java.math.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 java.lang.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 java.math.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 java.lang.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 java.math.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 java.lang.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.
-
-