Class QuotePartsDef.SalesLegFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.rates.QuotePartsDef.SalesLegFields.Builder
- Enclosing class:
- QuotePartsDef.SalesLegFields
-
Method Summary
Modifier and TypeMethodDescription@NotNull QuotePartsDef.SalesLegFields.Builder
@NotNull QuotePartsDef.SalesLegFields
build()
@NotNull QuotePartsDef.SalesLegFields.Builder
setComponent1
(@NotNull QuotePartsDef.SalesSyntheticComponentLegFields component1) @NotNull QuotePartsDef.SalesLegFields.Builder
setComponent2
(@NotNull QuotePartsDef.SalesSyntheticComponentLegFields component2) @NotNull QuotePartsDef.SalesLegFields.Builder
setDefaultFwdAskMargin
(@NotNull String defaultFwdAskMargin) @NotNull QuotePartsDef.SalesLegFields.Builder
setDefaultFwdAskMargin
(@NotNull BigDecimal defaultFwdAskMargin) @NotNull QuotePartsDef.SalesLegFields.Builder
setDefaultFwdBidMargin
(@NotNull String defaultFwdBidMargin) @NotNull QuotePartsDef.SalesLegFields.Builder
setDefaultFwdBidMargin
(@NotNull BigDecimal defaultFwdBidMargin) @NotNull QuotePartsDef.SalesLegFields.Builder
setTraderAllInAskRate
(@NotNull String traderAllInAskRate) @NotNull QuotePartsDef.SalesLegFields.Builder
setTraderAllInAskRate
(@NotNull BigDecimal traderAllInAskRate) @NotNull QuotePartsDef.SalesLegFields.Builder
setTraderAllInBidRate
(@NotNull String traderAllInBidRate) @NotNull QuotePartsDef.SalesLegFields.Builder
setTraderAllInBidRate
(@NotNull BigDecimal traderAllInBidRate) @NotNull QuotePartsDef.SalesLegFields.Builder
setTraderFwdAskPoints
(@NotNull String traderFwdAskPoints) @NotNull QuotePartsDef.SalesLegFields.Builder
setTraderFwdAskPoints
(@NotNull BigDecimal traderFwdAskPoints) @NotNull QuotePartsDef.SalesLegFields.Builder
setTraderFwdBidPoints
(@NotNull String traderFwdBidPoints) @NotNull QuotePartsDef.SalesLegFields.Builder
setTraderFwdBidPoints
(@NotNull BigDecimal traderFwdBidPoints) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull QuotePartsDef.SalesLegFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
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
-