EAOrder class

EAOrder payload

Inheritance

Constructors

EAOrder({required String path, required String estimateRef})
Constructor set the path and estimateref properties

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 EAEstimate instance
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAction(Action action) → void
Sets the action property
inherited
setAmount(double amount) → void
Sets the amount property
inherited
setCFlag(SiteCentric cFlag) → void
Sets the cflag property
inherited
setCurrency(String currency) → void
Sets the currency property
inherited
setEmail(String email) → void
Sets the email property
inherited
setEstimateRef(String estimateRef) → void
Sets the estimateref property
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
setPayment(String payment) → void
Sets the payment property
setProfile(String profile) → void
Sets the profile property
inherited
setProperty(SiteCentric property) → void
Sets the property property
inherited
setType(String type) → void
Sets the type 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