Customer class

Customer

Constructors

Customer({required String id, required String referenceId, required String email, required String givenNames, required String surname, required String description, required String mobileNumber, required String phoneNumber, required String nationality, required String dateOfBirth, Map<String, String> cardInfo = const <String, String>{}, List<Address> addresses = const <Address>[]})
Customer.from(Map json)
Convert Map to Customer

Properties

addresses List<Address>
Address List
final
cardInfo Map<String, String>
Card Info
final
dateOfBirth String
Date of Birth
final
description String
Description
final
email String
Email
final
givenNames String
Given Names
final
hashCode int
The hash code for this object.
no setterinherited
id String
Customer ID
final
mobileNumber String
Mobile Number
final
nationality String
Nationality
final
phoneNumber String
Phone Number
final
referenceId String
Merchant ID
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surname String
Surname
final

Methods

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

Operators

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