CustomerAttributes class
Represents additional customer attributes to be sent during registration.
This class defines various optional customer attributes that can be included with the customer registration request. These attributes can be used to personalize the customer's experience within the Gameball platform.
- Annotations
-
- @JsonSerializable()
Constructors
-
CustomerAttributes.new({String? displayName, String? firstName, String? lastName, String? email, String? gender, String? mobileNumber, String? dateOfBirth, String? joinDate, String? preferredLanguage, String? channel, Map<
String, String> ? customAttributes}) -
Creates a new
CustomerAttributes
object. -
CustomerAttributes.fromJson(Map<
String, dynamic> json) -
factory
Properties
- channel ↔ String?
-
The channel through which the customer joined (defaults to "mobile").
getter/setter pair
-
customAttributes
↔ Map<
String, String> ? -
A map containing additional custom customer attributes (optional).
getter/setter pair
- dateOfBirth ↔ String?
-
The customer's date of birth in a format suitable for the API (optional).
getter/setter pair
- displayName ↔ String?
-
The customer's display name (optional).
getter/setter pair
- email ↔ String?
-
The customer's email address (optional).
getter/setter pair
- firstName ↔ String?
-
The customer's first name (optional).
getter/setter pair
- gender ↔ String?
-
The customer's gender (optional).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- joinDate ↔ String?
-
The customer's join date in a format suitable for the API (optional).
getter/setter pair
- lastName ↔ String?
-
The customer's last name (optional).
getter/setter pair
- mobileNumber ↔ String?
-
The customer's mobile number (optional).
getter/setter pair
- preferredLanguage ↔ String?
-
The customer's preferred language (optional).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the
CustomerAttributes
object to a JSON map. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited