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 java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields
build()
@NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
setAllInRateDPS(int allInRateDPS)
@NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
setAllInRateDPS(@NotNull java.lang.String allInRateDPS)
@NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder
setTenor(@NotNull java.lang.String tenor)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setTenor
@NotNull public @NotNull QuoteUnavailablePartsDef.QuoteUnavailableLegFields.Builder setTenor(@NotNull @NotNull java.lang.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 java.lang.String allInRateDPS)
- Parameters:
allInRateDPS
- e.g. 5- Returns:
- The number of decimal places to display after the decimal point.
-
-