Order class
Order model
- Annotations
-
- @JsonSerializable()
Constructors
-
Order.new({String? id, String? incrementId, String? status, String? state, int? customerId, String? customerEmail, String? customerFirstName, String? customerLastName, List<
OrderItem> ? items, OrderTotals? totals, String? currencyCode, DateTime? createdAt, DateTime? updatedAt}) -
Order.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createdAt → DateTime?
-
final
- currencyCode → String?
-
final
- customerEmail → String?
-
final
- customerFirstName → String?
-
final
- customerId → int?
-
final
- customerLastName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- incrementId → String?
-
final
-
items
→ List<
OrderItem> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String?
-
final
- status → String?
-
final
- totals → OrderTotals?
-
final
- updatedAt → DateTime?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited