CustomerGroup class

A customer group that can be used to organize customers into groups of similar traits.

Annotations
  • @JsonSerializable()

Constructors

CustomerGroup({required String id, required String name, List<Customer>? customers, List<PriceList>? priceLists, required String createdAt, required String updatedAt, String? deletedAt, Map<String, dynamic>? metadata})
CustomerGroup.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt String
The date with timezone at which the resource was created.
getter/setter pair
customers List<Customer>?
The details of the customers that belong to the customer group.
getter/setter pair
deletedAt String?
The date with timezone at which the resource was deleted.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
The customer group's ID
getter/setter pair
metadata Map<String, dynamic>?
An optional key-value map with additional details
getter/setter pair
name String
The name of the customer group
getter/setter pair
priceLists List<PriceList>?
The price lists that are associated with the customer group.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt String
The date with timezone at which the resource was updated.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited