Class OrderAuditTypesDef.OrderLegAuditAction

    • 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()
        Specified by:
        getFields in interface Message
      • getFieldFlags

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getFieldFlags()
        Specified by:
        getFieldFlags in interface BuilderMessage
        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 interface BuilderMessage
        Returns:
        Get the fields for all flags.
      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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)