Customer
The Customer object holds details about a customer and is used in the following methods:
Attribute | Type | Required | Description |
---|---|---|---|
firstName | string | Y | Customer first name |
lastName | string | Y | Customer surname |
email | string | Y | Customer email address |
address | string | Y | Customer address e.g. 315/123, Success Blvd |
city | string | Y | Customer suburb/city |
postcode | string | Y | Customer postcode |
state | string | Y | Customer state |
country | string | Y | Customer country. ISO Alpha 2 country codes. e.g. AU, GB, NZ |
{
firstName: 'Captain',
lastName: 'America',
email: '[email protected]',
address: '123 Australia Blvd.',
city: 'Sydney',
postcode: '2000',
state: 'NSW',
country: 'AU'
}
Updated over 3 years ago