Diglin\Ricardo\Enums\CustomerErrors
Synopsis
class CustomerErrors
extends AbstractEnums
{
- // constants
- const NOTALLOWEDTOSELL = 1;
- const BILLINGERROR = 2;
- const GETCUSTOMERERROR = 3;
- const NEEDTOCHANGEPASSWORDERROR = 4;
- const GETACCOUNTPREFERENCESERROR = 5;
- const INVALIDARGUMENTS = 6;
- const EMPTYCOUNTRYID = 7;
- const EMPTYNICKNAME = 8;
- const EMPTYIPADDRESS = 9;
- const EMPTYEMAIL = 10;
- const EMPTYCUSTOMERID = 11;
- const EMPTYGUID = 12;
- const NICKNAMEISNOTUNIQUE = 13;
- const EMAILISNOTUNIQUE = 14;
- const EMPTYFIRSTNAME = 15;
- const TOOLONGFIRSTNAME = 16;
- const EMPTYLASTNAME = 17;
- const TOOLONGLASTNAME = 18;
- const TOOLONGNICKNAME = 19;
- const TOOLONGEMAIL = 20;
- const MUSTBEOVER18 = 21;
- const EMPTYADDRESS1 = 22;
- const TOOLONGADDRESS1 = 23;
- const TOOLONGADDRESS2 = 24;
- const TOOLONGSTREETNR = 25;
- const TOOLONGPOSTALBOX = 26;
- const EMPTYZIPCODE = 27;
- const TOOLONGZIPCODE = 28;
- const EMPTYCITY = 29;
- const TOOLONGCITY = 30;
- const EMPTYCANTONID = 31;
- const EMPTYPHONENUMBER = 32;
- const TOOLONGPHONENUMBER = 33;
- const INVALIDNICKNAME = 34;
- const INVALIDEMAIL = 35;
- const INVALIDSTREETNR = 36;
- const INVALIDZIPCODE = 37;
- const INVALIDPHONENUMBER = 38;
- const EMPTYPASSWORD = 39;
- const COMPANYDETAILSNOTFULL = 40;
- const TOOLONGCOMPANYNAME = 41;
- const TOOLONGCOMPANYVATNUMBER = 42;
- const TOOLONGCOMPANYREGISTRYNUMBER = 43;
- const INVALIDVALIDATIONKEY = 44;
- const UNABLETOVALIDATE = 45;
- const MAXNUMBEROFCALLSTOAUTOMATICALLYVALIDATEUSERINFORMATION = 46;
- const EMPTYSTREETNR = 47;
- const NOTCARDEALER = 48;
- const PASSWORDCOMPLEXITY = 49;
- const UNABLETOUPDATE = 50;
- const EMPTYNEWEMAIL = 51;
- const EMPTYNEWNICK = 52;
- const VALIDATIONKEYEXPIRED = 53;
- const TOOMANYPREMIUMPACKAGES = 54;
- const CARDPAYMENTOPTIONNOTAVAILABLE = 55;
- const CUSTOMERBANNED = 56;
- const BUYERNOTFROMCHORLI = 57;
- const BUYERNORDVNORAC = 58;
- const EMPTYCUSTOMERINFOS = 59;
- const EMPTYMEMBERPREFERENCES = 60;
- const EMPTYADDRESSES = 61;
- const UNABLETOINSERT = 62;
- const CREDITLIMITEXCEEDED = 63;
- const ACTIVATIONCODESTATUSMANUALLYBLOCKED = 64;
- // methods
- public static array getEnums()
- // Inherited methods from AbstractEnums
- public static array getEnums()
- public static bool getLabel()
- public static array getValues()
Hierarchy
Constants
| Name | Value |
|---|---|
| NOTALLOWEDTOSELL | 1 |
| BILLINGERROR | 2 |
| GETCUSTOMERERROR | 3 |
| NEEDTOCHANGEPASSWORDERROR | 4 |
| GETACCOUNTPREFERENCESERROR | 5 |
| INVALIDARGUMENTS | 6 |
| EMPTYCOUNTRYID | 7 |
| EMPTYNICKNAME | 8 |
| EMPTYIPADDRESS | 9 |
| EMPTYEMAIL | 10 |
| EMPTYCUSTOMERID | 11 |
| EMPTYGUID | 12 |
| NICKNAMEISNOTUNIQUE | 13 |
| EMAILISNOTUNIQUE | 14 |
| EMPTYFIRSTNAME | 15 |
| TOOLONGFIRSTNAME | 16 |
| EMPTYLASTNAME | 17 |
| TOOLONGLASTNAME | 18 |
| TOOLONGNICKNAME | 19 |
| TOOLONGEMAIL | 20 |
| MUSTBEOVER18 | 21 |
| EMPTYADDRESS1 | 22 |
| TOOLONGADDRESS1 | 23 |
| TOOLONGADDRESS2 | 24 |
| TOOLONGSTREETNR | 25 |
| TOOLONGPOSTALBOX | 26 |
| EMPTYZIPCODE | 27 |
| TOOLONGZIPCODE | 28 |
| EMPTYCITY | 29 |
| TOOLONGCITY | 30 |
| EMPTYCANTONID | 31 |
| EMPTYPHONENUMBER | 32 |
| TOOLONGPHONENUMBER | 33 |
| INVALIDNICKNAME | 34 |
| INVALIDEMAIL | 35 |
| INVALIDSTREETNR | 36 |
| INVALIDZIPCODE | 37 |
| INVALIDPHONENUMBER | 38 |
| EMPTYPASSWORD | 39 |
| COMPANYDETAILSNOTFULL | 40 |
| TOOLONGCOMPANYNAME | 41 |
| TOOLONGCOMPANYVATNUMBER | 42 |
| TOOLONGCOMPANYREGISTRYNUMBER | 43 |
| INVALIDVALIDATIONKEY | 44 |
| UNABLETOVALIDATE | 45 |
| MAXNUMBEROFCALLSTOAUTOMATICALLYVALIDATEUSERINFORMATION | 46 |
| EMPTYSTREETNR | 47 |
| NOTCARDEALER | 48 |
| PASSWORDCOMPLEXITY | 49 |
| UNABLETOUPDATE | 50 |
| EMPTYNEWEMAIL | 51 |
| EMPTYNEWNICK | 52 |
| VALIDATIONKEYEXPIRED | 53 |
| TOOMANYPREMIUMPACKAGES | 54 |
| CARDPAYMENTOPTIONNOTAVAILABLE | 55 |
| CUSTOMERBANNED | 56 |
| BUYERNOTFROMCHORLI | 57 |
| BUYERNORDVNORAC | 58 |
| EMPTYCUSTOMERINFOS | 59 |
| EMPTYMEMBERPREFERENCES | 60 |
| EMPTYADDRESSES | 61 |
| UNABLETOINSERT | 62 |
| CREDITLIMITEXCEEDED | 63 |
| ACTIVATIONCODESTATUSMANUALLYBLOCKED | 64 |
Methods
History
-
2015-02-05T13:02:27+01:00 (commit #17cc8fe)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Change license from OSL v3 to GPL v3
-
2014-12-16T12:45:07+01:00 (commit #ec26574)
Author: Sylvain Rayé (sylvain.raye@rissip.com) / Commiter: Sylvain Rayé (sylvain.raye@rissip.com)
PSR2 compliant
-
2014-09-28T11:22:59+02:00 (commit #3e11a2c)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Update the License to OSL v3.0, add license file, change code header and composer.json
-
2014-09-14T22:08:58+02:00 (commit #3af9690)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Add Enums, Exceptions, Parameters classes