Class QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.rates.QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
- Enclosing class:
- QuoteUnavailablePartsDef.QuoteUnavailableLegFields
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setAllInRateDPS
(int allInRateDPS) setAllInRateDPS
(@NotNull String allInRateDPS) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
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 the settlement date does not fall onto a tenor.
-
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.
-