Class WarningPartsDef.AmendWarning
java.lang.Object
com.caplin.generated.motif.fx.warning.WarningPartsDef.AmendWarning
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- WarningPartsDef
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull WarningPartsDef.AmendWarning
static @NotNull WarningPartsDef.AmendWarning
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
static @NotNull WarningPartsDef.AmendWarning.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
-
getWarningType
- Returns:
- The type of a warning message. Caplin supported warning types are [AMEND_REASON, GENERIC]. See the constants defined within com.caplin.motif.fx.trading.WarningTypes.
-
getAmendmentType
- Returns:
- The type of the trade amendment, only used when amending a trade
-
getAmendmentReasons
- Returns:
- A list of possible reasons for the trade amendment, only used when amending a trade
-
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 WarningPartsDef.AmendWarning from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull WarningPartsDef.AmendWarning from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-