Skip to content

Commit cc68fc9

Browse files
committedNov 23, 2016
Make it compatible with current cutomer.gender and customer.type choices
1 parent 96af82a commit cc68fc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ $customerAddress->address_addition = "Cerca de la plaza Santa Ana"; // Address a
9191
$customer = new stdClass();
9292
$customer->id = "1618"; // Customer ID.
9393
$customer->email = "dev@aplazame.com"; // The customer email.
94-
$customer->type = 'existing'; // Customer type. Other options are: 'guest' and 'new'.
95-
$customer->gender = 'unknown'; // Customer gender. Other options are: 'male', 'female'and 'gender_not_aplicable'.
94+
$customer->type = 'e'; // Customer type, the choices are g:guest, n:new, e:existing.
95+
$customer->gender = 0; // Customer gender, the choices are 0: not known, 1: male, 2:female, 3: not applicable.
9696
$customer->first_name = "John"; // Customer first name.
9797
$customer->last_name = "Coltrane"; // Customer last name.
9898
$customer->birthday = Aplazame\Serializer\Date::fromDateTime(new DateTime("1990-08-21 13:56:45")); // Customer birthday.

0 commit comments

Comments
 (0)
Please sign in to comment.