Class OrderAuditTypesDef.OrderLegAuditAction
java.lang.Object
com.caplin.generated.motif.fx.orders.OrderAuditTypesDef.OrderLegAuditAction
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- OrderAuditTypesDef
public static final class OrderAuditTypesDef.OrderLegAuditAction
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull OrderAuditTypesDef.OrderLegAuditAction
static @NotNull OrderAuditTypesDef.OrderLegAuditAction
@Nullable String
@Nullable Integer
@Nullable Instant
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
@Nullable String
@Nullable Integer
static @NotNull OrderAuditTypesDef.OrderLegAuditAction.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
-
getOrderID
- Returns:
- The id of the order.
-
getVersion
- Returns:
- The resulting version of this leg.
-
getActionDateTime
- Returns:
- actionDateTime
-
getActionBy
- Returns:
- Which user triggered the action to occur.
-
getOrderStatus
- Returns:
- Caplin supported statuses are [PENDING-ACCEPT, PENDING-ACTIVATION, ACTIVE, PARENT-ACTIVE, PENDING-DEACTIVATION, DEACTIVATED, EXPIRED, COMPLETED, REJECTED, PENDING-CANCEL, CANCELLED, CANCELLED-BY-PARTNER]
-
getActionCode
- Returns:
- Code for the action reason, to be translated by i18n. Constants are provided in the class ActionCode. Parameters for the translated message can be provided in the AuditParameter# fields. Custom codes should begin from 1000. If you don't want to provide a translation on the front end, you can send '9999' (or ActionCode.NON_TRANSLATABLE) and supply plain text in AuditParameter1.
-
getAuditParameter1
- Returns:
- Parameter to be placed into the translated action reason.
-
getAuditParameter2
- Returns:
- Parameter to be placed into the translated action reason.
-
getAuditParameter3
- Returns:
- Parameter to be placed into the translated action reason.
-
getAuditParameter4
- Returns:
- Parameter to be placed into the translated action reason.
-
getAuditParameter5
- Returns:
- Parameter to be placed into the translated action reason.
-
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 OrderAuditTypesDef.OrderLegAuditAction from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull OrderAuditTypesDef.OrderLegAuditAction from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-