CustomerAttributes constructor
CustomerAttributes({})
Creates a new CustomerAttributes object.
Arguments (all optional):
displayName: The customer's display name.firstName: The customer's first name.lastName: The customer's last name.email: The customer's email address.gender: The customer's gender.mobileNumber: The customer's mobile number.dateOfBirth: The customer's date of birth (API format).joinDate: The customer's join date (API format).preferredLanguage: The customer's preferred language.channel: The channel through which the customer joined (defaults to "mobile").customAttributes: A map of additional custom customer attributes.
Implementation
CustomerAttributes({
this.displayName,
this.firstName,
this.lastName,
this.email,
this.gender,
this.mobileNumber,
this.dateOfBirth,
this.joinDate,
this.preferredLanguage,
this.channel,
this.customAttributes,
});