new AddressSchema(email, gender, firstName, lastName, street, zip, city, countryCode, pickupPoint)
Parameters:
Name | Type | Description |
---|---|---|
email |
String | email of a customer. |
gender |
String | gender of the customer (FEMALE / MALE) |
firstName |
String | first name of the customer |
lastName |
String | last name of the customer |
street |
String | street of the address |
zip |
String | zip code of the address |
city |
String | city of the address |
countryCode |
String | country of the address |
pickupPoint |
PickupPoint | pickup point of the address (Optional because only valid in shipping addresses) |