Diglin\Ricardo\Services\Customer
Class Customer
Synopsis
class Customer
extends ServiceAbstract
{
- // Inherited constants from ServiceAbstract
- const TOKEN_TYPE_ANONYMOUS = 'anonymous';
- const TOKEN_TYPE_IDENTIFIED = 'identified';
- const TOKEN_TYPE_ANTIFORGERY = 'antiforgery';
- const TOKEN_TYPE_TEMPORARY = 'temporary';
- const TOKEN_TYPE_DEFAULT = '';
- // members
- protected $_service;
- protected $_typeOfToken;
- // Inherited members from ServiceAbstract
- protected $_service;
- protected $_typeOfToken;
- // methods
- public array getCustomerInformation()
- public bool getCustomerInformationResult()
- // Inherited methods from ServiceAbstract
- public string getService()
- public string getTypeOfToken()
Hierarchy
Constants
Name | Value |
---|---|
TOKEN_TYPE_ANONYMOUS | 'anonymous' |
TOKEN_TYPE_IDENTIFIED | 'identified' |
TOKEN_TYPE_ANTIFORGERY | 'antiforgery' |
TOKEN_TYPE_TEMPORARY | 'temporary' |
TOKEN_TYPE_DEFAULT | '' |
Members
protected
- $_service — string
- $_service — string
- $_typeOfToken — string
- $_typeOfToken — string
Methods
public
- getCustomerInformation()
- getCustomerInformationResult() — Array ( [Addresses] => Array ( [0] => Array ( [Address1] => [Address2] => [City] => [Country] => 2 [PostalBox] => [StreetNumber] => [ZipCode] => ) ) [CustomerId] => 123456789 [Infos] => Array ( [ActivityStatus] => 0 [BirthDate] => /Date(329004000000+0200)/ [CompanyName] => [CountryId] => 2 [CreationDate] => /Date(1293993568500+0100)/ [Email] => [FirstName] => [Gender] => m [IsBuyerOnly] => [LanguageId] => 3 [LastLoginDate] => /Date(1410991140000+0200)/ [LastName] => [Mobile] => [NickName] => [PartnerId] => [Phone] => [RegionId] => 2 [SellerType] => 1 )
Inherited from Diglin\Ricardo\Services\ServiceAbstract
public
- getService() — Get the current name of the API service
- getTypeOfToken() — Get the type of token needed for this service <pre> It can be: - anonymous - identified - antiforgery - empty </pre>
History
-
2014-09-28T11:30:04+02:00 (commit #207ba4b)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Add doc block in some classes
-
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-18T14:18:38+02:00 (commit #0593ee8)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
[RIC-76] Implement the logic to know if the credit card is available for an account. Update unit test