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 java.lang.Object implements BuilderMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrderAuditTypesDef.OrderLegAuditAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull OrderAuditTypesDef.OrderLegAuditAction
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields)
static @NotNull OrderAuditTypesDef.OrderLegAuditAction
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields, @NotNull java.lang.String fieldPrefix)
@Nullable java.lang.String
getActionBy()
@Nullable java.lang.Integer
getActionCode()
@Nullable java.time.Instant
getActionDateTime()
@Nullable java.lang.String
getAuditParameter1()
@Nullable java.lang.String
getAuditParameter2()
@Nullable java.lang.String
getAuditParameter3()
@Nullable java.lang.String
getAuditParameter4()
@Nullable java.lang.String
getAuditParameter5()
@NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>>
getFieldFlags()
@NotNull java.util.Map<java.lang.String,java.lang.String>
getFields()
@NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>>
getFlagFields()
@Nullable java.lang.String
getOrderID()
@Nullable java.lang.String
getOrderStatus()
@Nullable java.lang.Integer
getVersion()
static @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder
newBuilder()
@NotNull java.lang.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 Detail
-
getOrderID
@Nullable public @Nullable java.lang.String getOrderID()
- Returns:
- The id of the order.
-
getVersion
@Nullable public @Nullable java.lang.Integer getVersion()
- Returns:
- The resulting version of this leg.
-
getActionDateTime
@Nullable public @Nullable java.time.Instant getActionDateTime()
- Returns:
- actionDateTime
-
getActionBy
@Nullable public @Nullable java.lang.String getActionBy()
- Returns:
- Which user triggered the action to occur.
-
getOrderStatus
@Nullable public @Nullable java.lang.String 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
@Nullable public @Nullable java.lang.Integer 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
@Nullable public @Nullable java.lang.String getAuditParameter1()
- Returns:
- Parameter to be placed into the translated action reason.
-
getAuditParameter2
@Nullable public @Nullable java.lang.String getAuditParameter2()
- Returns:
- Parameter to be placed into the translated action reason.
-
getAuditParameter3
@Nullable public @Nullable java.lang.String getAuditParameter3()
- Returns:
- Parameter to be placed into the translated action reason.
-
getAuditParameter4
@Nullable public @Nullable java.lang.String getAuditParameter4()
- Returns:
- Parameter to be placed into the translated action reason.
-
getAuditParameter5
@Nullable public @Nullable java.lang.String getAuditParameter5()
- Returns:
- Parameter to be placed into the translated action reason.
-
getFields
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.String> getFields()
-
getFieldFlags
@NotNull public @NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getFieldFlags()
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
@NotNull public @NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getFlagFields()
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
from
@NotNull public static @NotNull OrderAuditTypesDef.OrderLegAuditAction from(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> fields)
-
from
@NotNull public static @NotNull OrderAuditTypesDef.OrderLegAuditAction from(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> fields, @NotNull @NotNull java.lang.String fieldPrefix)
-
newBuilder
@NotNull public static @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder newBuilder()
-
-