Class DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.drawdown.DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
- Enclosing class:
- DrawdownPartsDef.DrawdownConfirmationLegFields
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setAmount(@NotNull BigDecimal amount) setContraAmount(@NotNull String contraAmount) setContraAmount(@NotNull BigDecimal contraAmount) setSettlementDate(@NotNull String settlementDate) @NotNull StringtoString()
-
Method Details
-
addField
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setAmount
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder setAmount(@NotNull @NotNull BigDecimal amount) - Returns:
- The amount of a trade or order in the DealtCurrency.
-
setAmount
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder setAmount(@NotNull @NotNull String amount) - Returns:
- The amount of a trade or order in the DealtCurrency.
-
setContraAmount
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder setContraAmount(@NotNull @NotNull BigDecimal contraAmount) - Parameters:
contraAmount- e.g. 350- Returns:
- The amount that is exchanged for the Amount. This will be defined in the contra currency of the DealtCurrency.
-
setContraAmount
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder setContraAmount(@NotNull @NotNull String contraAmount) - Parameters:
contraAmount- e.g. 350- Returns:
- The amount that is exchanged for the Amount. This will be defined in the contra currency of the DealtCurrency.
-
setSettlementDate
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder setSettlementDate(@NotNull @NotNull String settlementDate) - Parameters:
settlementDate- e.g. 20160314- Returns:
- The date on which the two currencies in the FX trade are exchanged. Can be a tenor or a broken date, i.e. SPOT or 20160314.
-