Contact class

Encapsulates contact information needed for billing and shipping.

Constructors

Contact({String? emailAddress, PersonNameComponents? name, String? phoneNumber, PostalAddress? postalAddress})
Encapsulates contact information needed for billing and shipping.

Properties

emailAddress String?
The contact’s email address, or null if the contact’s email is not needed for the transaction.
final
hashCode int
The hash code for this object.
no setterinherited
name PersonNameComponents?
The contact’s first and last name, or null if the contact’s name is not needed for the transaction.
final
phoneNumber String?
The contact’s telephone number, or null if the contact’s phone number is not needed for the transaction.
final
postalAddress PostalAddress?
The contact’s full postal address.
final
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
toString() String
A string representation of this object.
inherited

Operators

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