From d1dce43e775ce51bbdd52b0d26a6cf160a118ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Tue, 26 Oct 2021 10:06:49 +0200 Subject: [PATCH] add some comment on customer --- src/Models/Customer.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Models/Customer.php b/src/Models/Customer.php index a9f3dca..eaacf6f 100644 --- a/src/Models/Customer.php +++ b/src/Models/Customer.php @@ -14,6 +14,11 @@ use TypeError; * the account validation status. You can use it as * a standalone class but beware of catching exceptions * + * Be warned that on server side data is normalized + * - firstname and lastname are 'capitalized' + * - fields are trimmed + * - non numeric chars are removed from postcode + * * @property string $hashcode The crm hashcode this is a readonly field * @property string $email Must be a rfc valid email on a valid domain name * @property string $password Required only on create, must have upper and lowers chars,