OrderState enum
Indicates state of the order.
Constructors
- OrderState()
-
const
Values
- open → const OrderState
-
Indicates the order is open. Open orders may be updated.
- completed → const OrderState
-
Indicates the order is completed. Completed orders are fully paid. This is a terminal state.
- canceled → const OrderState
-
Indicates the order is canceled. Canceled orders are not paid. This is a terminal state.
- draft → const OrderState
-
Indicates that the order is in a draft state. Draft orders can be updated, but cannot be paid or fulfilled.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
OrderState> - A constant List of the values in this enum, in order of their declaration.