Class DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.drawdown.DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
-
- Enclosing class:
- DrawdownPartsDef.DrawdownConfirmationLegFields
public static final class DrawdownPartsDef.DrawdownConfirmationLegFields.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull DrawdownPartsDef.DrawdownConfirmationLegFields
build()
@NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
setAmount(@NotNull java.lang.String amount)
@NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
setAmount(@NotNull java.math.BigDecimal amount)
@NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
setContraAmount(@NotNull java.lang.String contraAmount)
@NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
setContraAmount(@NotNull java.math.BigDecimal contraAmount)
@NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder
setSettlementDate(@NotNull java.lang.String settlementDate)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setAmount
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder setAmount(@NotNull @NotNull java.math.BigDecimal amount)
- Returns:
- The amount of a trade or order in the DealtCurrency.
-
setAmount
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder setAmount(@NotNull @NotNull java.lang.String amount)
- Returns:
- The amount of a trade or order in the DealtCurrency.
-
setContraAmount
@NotNull public @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder setContraAmount(@NotNull @NotNull java.math.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 java.lang.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 java.lang.String settlementDate)
- Returns:
- settlementDate
-
-