ECommerceOrder class

Class with order information:

  • identifier - order ID. Maximum length - up to 100 characters;
  • items - list of products in the cart;
  • payload - additional information about the order. The maximum size is 20 KB.

Constructors

ECommerceOrder({required String identifier, required List<ECommerceCartItem> items, Map<String, String>? payload})
Creates an object with order information. The parameters identifier, items are required.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
final
items List<ECommerceCartItem>
final
payload Map<String, String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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