Class TradeDetailsPartsDef.CommonTradeDetailsFields
java.lang.Object
com.caplin.generated.motif.mm.tradedetails.TradeDetailsPartsDef.CommonTradeDetailsFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- TradeDetailsPartsDef
public static final class TradeDetailsPartsDef.CommonTradeDetailsFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields
static @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
@Nullable String
static @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields.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
-
getAccount
- Returns:
- The used account for the trade.
-
getTOBOUser
- Returns:
- The client who the trade is for.
-
getTradingType
- Returns:
- The type of the trade. Supported types are [LOAN, DEPOSIT, CALL-DEPOSIT, TERM-DEPOSIT, FLEXI-NOTICE-DEPOSIT, TREASURY-BILL or GOVERNMENT-BOND].
-
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 TradeDetailsPartsDef.CommonTradeDetailsFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-