Class OrderAuditTypesDef.OrderLegAuditAction.Builder

    • Method Detail

      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setOrderStatus

        @NotNull
        public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setOrderStatus​(@NotNull
                                                                                      @NotNull java.lang.String orderStatus)
        Returns:
        Caplin supported statuses are [PENDING-ACCEPT, PENDING-ACTIVATION, ACTIVE, PARENT-ACTIVE, PENDING-DEACTIVATION, DEACTIVATED, EXPIRED, COMPLETED, REJECTED, PENDING-CANCEL, CANCELLED, CANCELLED-BY-PARTNER]
      • setActionCode

        @NotNull
        public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setActionCode​(int actionCode)
        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.
      • setActionCode

        @NotNull
        public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setActionCode​(@NotNull
                                                                                     @NotNull java.lang.String actionCode)
        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.
      • setAuditParameter1

        @NotNull
        public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter1​(@NotNull
                                                                                          @NotNull java.lang.String auditParameter1)
        Returns:
        Parameter to be placed into the translated action reason.
      • setAuditParameter2

        @NotNull
        public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter2​(@NotNull
                                                                                          @NotNull java.lang.String auditParameter2)
        Returns:
        Parameter to be placed into the translated action reason.
      • setAuditParameter3

        @NotNull
        public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter3​(@NotNull
                                                                                          @NotNull java.lang.String auditParameter3)
        Returns:
        Parameter to be placed into the translated action reason.
      • setAuditParameter4

        @NotNull
        public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter4​(@NotNull
                                                                                          @NotNull java.lang.String auditParameter4)
        Returns:
        Parameter to be placed into the translated action reason.
      • setAuditParameter5

        @NotNull
        public @NotNull OrderAuditTypesDef.OrderLegAuditAction.Builder setAuditParameter5​(@NotNull
                                                                                          @NotNull java.lang.String auditParameter5)
        Returns:
        Parameter to be placed into the translated action reason.