Enum OrderStatusEnum

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ABORTED
      Display: Aborted
      Code Value: aborted Processing the order was stopped because of some workflow/business logic reason.
      ACCEPTED
      Display: Accepted
      Code Value: accepted The order has been accepted, and work is in progress.
      CANCELLED
      Display: Cancelled
      Code Value: cancelled Processing the order was halted at the initiators request.
      COMPLETED
      Display: Completed
      Code Value: completed The order has been completed.
      ERROR
      Display: Error
      Code Value: error The order was unable to be processed because of a technical error (i.e.
      PENDING
      Display: Pending
      Code Value: pending The order is known, but no processing has occurred at this time
      REJECTED
      Display: Rejected
      Code Value: rejected The order was rejected because of a workflow/business logic reason
      REPLACED
      Display: Replaced
      Code Value: replaced The order has been cancelled and replaced by another.
      REVIEW
      Display: Review
      Code Value: review The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review)
    • Enum Constant Detail

      • PENDING

        public static final OrderStatusEnum PENDING
        Display: Pending
        Code Value: pending The order is known, but no processing has occurred at this time
      • REVIEW

        public static final OrderStatusEnum REVIEW
        Display: Review
        Code Value: review The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review)
      • REJECTED

        public static final OrderStatusEnum REJECTED
        Display: Rejected
        Code Value: rejected The order was rejected because of a workflow/business logic reason
      • ERROR

        public static final OrderStatusEnum ERROR
        Display: Error
        Code Value: error The order was unable to be processed because of a technical error (i.e. unexpected error)
      • ACCEPTED

        public static final OrderStatusEnum ACCEPTED
        Display: Accepted
        Code Value: accepted The order has been accepted, and work is in progress.
      • CANCELLED

        public static final OrderStatusEnum CANCELLED
        Display: Cancelled
        Code Value: cancelled Processing the order was halted at the initiators request.
      • REPLACED

        public static final OrderStatusEnum REPLACED
        Display: Replaced
        Code Value: replaced The order has been cancelled and replaced by another.
      • ABORTED

        public static final OrderStatusEnum ABORTED
        Display: Aborted
        Code Value: aborted Processing the order was stopped because of some workflow/business logic reason.
      • COMPLETED

        public static final OrderStatusEnum COMPLETED
        Display: Completed
        Code Value: completed The order has been completed.
    • Method Detail

      • values

        public static OrderStatusEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OrderStatusEnum c : OrderStatusEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OrderStatusEnum valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getCode

        public String getCode()
        Returns the code associated with this enumerated value
      • getSystem

        public String getSystem()
        Returns the code system associated with this enumerated value