EACart class
EACart payload
- Inheritance
-
- Object
- EAProperty
- EACart
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
payload
↔ Map<
EAPropertyKey, dynamic> -
internal payload Map<K, V>
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addProduct(
{required Product product, double? amount, int? quantity}) → void - Adds a product to the EACart instance
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAction(
Action action) → void -
Sets the action property
inherited
-
setCartCumul(
bool cumul) → void - Sets the scartcumul flag
-
setCFlag(
SiteCentric cFlag) → void -
Sets the cflag property
inherited
-
setEmail(
String email) → void -
Sets the email property
inherited
-
setLocation(
{required double latitude, required double longitude}) → void -
Sets the ea-lon and ea-lat properties
inherited
-
setNewCustomer(
bool isNew) → void -
Sets the newcustomer property
inherited
-
setPageGroup(
String group) → void -
Sets the pagegroup property
inherited
-
setPath(
String path) → void -
Sets the path property
inherited
-
setProfile(
String profile) → void -
Sets the profile property
inherited
-
setProperty(
SiteCentric property) → void -
Sets the property property
inherited
-
setUID(
String uid) → void -
Sets the uid property
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes payload
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited