Customer class abstract
Customer
Properties:
- id - JSON object with the customer Id. Specify this field to update the customer. Referencing non-existing customer Id will cause error. Omit this field to create new customer.
- createdTime - Timestamp of the customer creation, in milliseconds
- additionalInfo - Additional parameters of the customer. May include: 'description' (string), 'homeDashboardId' (string, UUID of the home dashboard), 'homeDashboardHideToolbar' (boolean, whether to hide the dashboard toolbar), 'isPublic' (boolean, whether this is a public customer).
- country - Country
- state - State
- city - City
- address - Address Line 1
- address2 - Address Line 2
- zip - Zip code
- phone - Phone number
- email - Email
- title - Title of the customer
- tenantId - JSON object with Tenant Id
- parentCustomerId - JSON object with parent Customer Id
- version
- customMenuId
- customerId - JSON object with parent Customer Id
- name - Name of the customer. Read-only, duplicated from title for backward compatibility
- ownerId - JSON object with Customer or Tenant Id
- Annotations
-
- @BuiltValue.new()
Constructors
- Customer([void updates(CustomerBuilder b)])
-
factory
Properties
- additionalInfo → JsonObject?
-
Additional parameters of the customer. May include: 'description' (string), 'homeDashboardId' (string, UUID of the home dashboard), 'homeDashboardHideToolbar' (boolean, whether to hide the dashboard toolbar), 'isPublic' (boolean, whether this is a public customer).
no setter
- address → String?
-
Address Line 1
no setter
- address2 → String?
-
Address Line 2
no setter
- city → String?
-
City
no setter
- country → String?
-
Country
no setter
- createdTime → int?
-
Timestamp of the customer creation, in milliseconds
no setter
- customerId → CustomerId?
-
JSON object with parent Customer Id
no setter
- customMenuId → CustomMenuId?
-
no setter
- email → String?
-
Email
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → CustomerId?
-
JSON object with the customer Id. Specify this field to update the customer. Referencing non-existing customer Id will cause error. Omit this field to create new customer.
no setter
- name → String?
-
Name of the customer. Read-only, duplicated from title for backward compatibility
no setter
- ownerId → EntityId?
-
JSON object with Customer or Tenant Id
no setter
- parentCustomerId → CustomerId?
-
JSON object with parent Customer Id
no setter
- phone → String?
-
Phone number
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String?
-
State
no setter
- tenantId → TenantId?
-
JSON object with Tenant Id
no setter
- title → String
-
Title of the customer
no setter
- version → int?
-
no setter
- zip → String?
-
Zip code
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(CustomerBuilder)) → Customer -
Rebuilds the instance.
inherited
-
toBuilder(
) → CustomerBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Customer> -
no setter