Enum OrderStatus

    • Enum Constant Detail

      • Unknown

        public static final OrderStatus Unknown
        Unknown
      • NotReported

        public static final OrderStatus NotReported
        Not reported
      • ReplacedNotReported

        public static final OrderStatus ReplacedNotReported
        Replaced but not reported
      • ProtectedNotReported

        public static final OrderStatus ProtectedNotReported
        Protected but not reported
      • VarietiesNotReported

        public static final OrderStatus VarietiesNotReported
        Varieties not reported
      • Filled

        public static final OrderStatus Filled
        Filled
      • WaitToNew

        public static final OrderStatus WaitToNew
        Wait to new
      • WaitToReplace

        public static final OrderStatus WaitToReplace
        Wait to replace
      • PendingReplace

        public static final OrderStatus PendingReplace
        Pending replace
      • Replaced

        public static final OrderStatus Replaced
        Replaced
      • PartialFilled

        public static final OrderStatus PartialFilled
        Partial filled
      • WaitToCancel

        public static final OrderStatus WaitToCancel
        Wait to cancel
      • PendingCancel

        public static final OrderStatus PendingCancel
        Pending cancel
      • Rejected

        public static final OrderStatus Rejected
        Rejected
      • Canceled

        public static final OrderStatus Canceled
        Canceled
      • Expired

        public static final OrderStatus Expired
        Expired
      • PartialWithdrawal

        public static final OrderStatus PartialWithdrawal
        Partial withdrawal
    • Method Detail

      • values

        public static OrderStatus[] 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 (OrderStatus c : OrderStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OrderStatus 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