EAEstimate class
EAEstimate payload
- Inheritance
-
- Object
- EAProperty
- EAEstimate
- Implementers
Constructors
- EAEstimate.new({required String path, required String ref})
- Constructor sets the path and ref 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
-
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
-
setCFlag(
SiteCentric cFlag) → void -
Sets the cflag property
inherited
-
setCurrency(
String currency) → void - Sets the currency property
-
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
-
setNoTag(
bool isNoTag) → void -
Sets the notag 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
-
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