Class DrawdownTypeDef.DrawdownConfirmation
java.lang.Object
com.caplin.generated.motif.fx.drawdown.DrawdownTypeDef.DrawdownConfirmation
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- DrawdownTypeDef
public static final class DrawdownTypeDef.DrawdownConfirmation
extends Object
implements BuilderMessage
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull DrawdownTypeDef.DrawdownConfirmation
static @NotNull DrawdownTypeDef.DrawdownConfirmation
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> getLegFields
(int id) @org.jetbrains.annotations.Nullable int
@Nullable BigDecimal
static @NotNull DrawdownTypeDef.DrawdownConfirmation.Builder
@NotNull String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
Method Details
-
getRemainingAmount
- Returns:
- remainingAmount e.g. 500
-
getCurrencyPair
- Returns:
- The currency pair for the trade. For example, EURUSD
-
getDealtCurrency
- Returns:
- The currency of the Amount of a trade or order.
-
getLegFields
- Returns:
- legFields
-
getNumLegFields
@Nullable public @org.jetbrains.annotations.Nullable int getNumLegFields() -
getFields
-
getFieldFlags
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
toString
-
from
@NotNull public static @NotNull DrawdownTypeDef.DrawdownConfirmation from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull DrawdownTypeDef.DrawdownConfirmation from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-