Customer class

Constructors

Customer({int id, String dateCreated, String dateCreatedGmt, String dateModified, String dateModifiedGmt, String email, String firstName, String lastName, String role, String username, Billing billing, Shipping shipping, bool isPayingCustomer, String avatarUrl, List<MetaData> metaData, Links links})
Customer.fromJson(Map<String, dynamic> json)

Properties

avatarUrl ↔ String
read / write
billing Billing
read / write
dateCreated ↔ String
read / write
dateCreatedGmt ↔ String
read / write
dateModified ↔ String
read / write
dateModifiedGmt ↔ String
read / write
email ↔ String
read / write
firstName ↔ String
read / write
id ↔ int
read / write
isPayingCustomer ↔ bool
read / write
lastName ↔ String
read / write
read / write
metaData ↔ List<MetaData>
read / write
role ↔ String
read / write
shipping Shipping
read / write
username ↔ String
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited