Class QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.rates.QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
-
- Enclosing class:
- QuoteUnavailablePartsDef.QuoteUnavailableLegFields
public static final class QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
addField(@NotNull String key, @NotNull String value)
@NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields
build()
@NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
setAllInRateDPS(int allInRateDPS)
@NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
setAllInRateDPS(@NotNull String allInRateDPS)
@NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
setTenor(@NotNull String tenor)
@NotNull String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields build()
-
setTenor
@NotNull public @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder setTenor(@NotNull @NotNull String tenor)
- Parameters:
tenor
- e.g. 1M- Returns:
- Supported types are [ON, [TODAY, TOD, TD], TN, [TOM, ND], SPOT, SN, 1D, 1W, 2W, 3W, 4W, 1M, 2M, 4M, 5M, 6M, 7M, 8M, 9M, 10M, 11M, [1Y, 12M], 15M, 18M, 21M, [2Y, 24M], [3Y, 36M], [4Y, 48M], [5Y, 60M], broken]. broken indicates that a SettlementDate must be sent
-
setAllInRateDPS
@NotNull public @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder setAllInRateDPS(int allInRateDPS)
- Parameters:
allInRateDPS
- e.g. 5- Returns:
- The number of decimal places to display after the decimal point.
-
setAllInRateDPS
@NotNull public @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder setAllInRateDPS(@NotNull @NotNull String allInRateDPS)
- Parameters:
allInRateDPS
- e.g. 5- Returns:
- The number of decimal places to display after the decimal point.
-
-