Class TradeDetailsTypesDef.AllocationTradeDetails
java.lang.Object
com.caplin.generated.motif.fx.tradedetails.TradeDetailsTypesDef.AllocationTradeDetails
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- TradeDetailsTypesDef
public static final class TradeDetailsTypesDef.AllocationTradeDetails
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeDetailsTypesDef.AllocationTradeDetails
static @NotNull TradeDetailsTypesDef.AllocationTradeDetails
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> getLegTradeDetails
(int id) @org.jetbrains.annotations.Nullable int
static @NotNull TradeDetailsTypesDef.AllocationTradeDetails.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
-
getCommonTradeDetailsFields
- Returns:
- commonTradeDetailsFields
-
getTradeDetailsFields
- Returns:
- tradeDetailsFields
-
getInterventionTradeDetailsFields
@NotNull public TradeDetailsPartsDef.InterventionTradeDetailsFields getInterventionTradeDetailsFields()- Returns:
- interventionTradeDetailsFields
-
getAllocatingFromTrade
- Returns:
- allocatingFromTrade
-
getLegTradeDetails
@Nullable public @Nullable TradeDetailsTypesDef.NettedLegTradeDetailsFields getLegTradeDetails(int id) - Returns:
- legTradeDetails
-
getNumLegTradeDetails
@Nullable public @org.jetbrains.annotations.Nullable int getNumLegTradeDetails() -
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 TradeDetailsTypesDef.AllocationTradeDetails from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeDetailsTypesDef.AllocationTradeDetails from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-