CreateCustomerRequest class

Annotations
  • @JsonSerializable()

Constructors

CreateCustomerRequest({String? idempotencyKey, String? givenName, String? familyName, String? companyName, String? nickname, String? emailAddress, Address? address, String? phoneNumber, String? referenceId, String? note, String? birthday, List<CustomerTaxIds>? taxIds})
const
CreateCustomerRequest.fromJson(Map<String, dynamic> json)
Converts a Map to an CreateCustomerRequest
factory

Properties

address Address?
The physical address associated with the customer profile.
final
birthday String?
The birthday associated with the customer profile, in RFC 3339 format. The year is optional. The timezone and time are not allowed. For example, 0000-09-21T00:00:00-00:00 represents a birthday on September 21 and 1998-09-21T00:00:00-00:00 represents a birthday on September 21, 1998. You can also specify this value in YYYY-MM-DD format.
final
companyName String?
A business name associated with the customer profile.
final
emailAddress String?
The email address associated with the customer profile.
final
familyName String?
The family name (that is, the last name) associated with the customer profile.
final
givenName String?
The given name (that is, the first name) associated with the customer profile.
final
hashCode int
The hash code for this object.
no setterinherited
idempotencyKey String?
The idempotency key for the request
final
nickname String?
A nickname for the customer profile.
final
note String?
A custom note associated with the customer profile.
final
phoneNumber String?
The 11-digit phone number associated with the customer profile.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
referenceId String?
An optional second ID used to associate the customer profile with an entity in another system.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
taxIds List<CustomerTaxIds>?
The tax ID associated with the customer profile. This field is available only for customers of sellers in EU countries or the United Kingdom. In other countries, this field is ignored when included in a CreateCustomer request.
final

Methods

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

Operators

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