Class DrawdownPartsDef.DrawdownConfirmationLegFields
java.lang.Object
com.caplin.generated.motif.fx.drawdown.DrawdownPartsDef.DrawdownConfirmationLegFields
- All Implemented Interfaces:
BuilderMessage,Message
- Enclosing class:
- DrawdownPartsDef
public static final class DrawdownPartsDef.DrawdownConfirmationLegFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull DrawdownPartsDef.DrawdownConfirmationLegFieldsstatic @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields@Nullable BigDecimal@Nullable BigDecimal@NotNull Map<String,Collection<String>> @NotNull Map<String,Collection<String>> @Nullable Stringstatic @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields.Builder@NotNull StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
Method Details
-
getAmount
- Returns:
- The amount of a trade or order in the DealtCurrency.
-
getContraAmount
- Returns:
- The amount that is exchanged for the Amount. This will be defined in the contra currency of the DealtCurrency.
-
getSettlementDate
- 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.
-
getFields
-
getFieldFlags
- Specified by:
getFieldFlagsin interfaceBuilderMessage- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFieldsin interfaceBuilderMessage- Returns:
- Get the fields for all flags.
-
toString
-
from
@NotNull public static @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull DrawdownPartsDef.DrawdownConfirmationLegFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-