Index

Classes


Class Consumers

Class Summary
Constructor Attributes Constructor Name and Description
 
Class to store client info
Field Summary
Field Attributes Field Name and Description
 
- array of client's Adresses
 
- client born date (format : dd/MM/yyyy)
 
- the client Civility ("M.
 
- free client number
 
- free comment
 
- the client company
 
- array of client's TheWave cookies ContactMedias
 
- adress book oid where the client is found;
 
- the client firstname
 
- array of client's instant messager adresses ContactMedias
 
- if true, the client has been autocreated by an external service, if false, the client has been created by an agent
 
- "0" : client has not been identified by the agent, "1" : client has been identified by the agent
 
- 0 : No VIP, 1 : VIP
 
Job
- client job title
 
- array of client's emails ContactMedias
 
- the client name
 
- the client unique identifier
 
- array of client's Social Network account ContactMedias
 
- array of client's phonenumbers ContactMedias
Method Summary
Method Attributes Method Name and Description
 
AddMediaByContext(contextType, mediaNumber)
Add one new media value for the specified context
 
load(tab)
Clean initialize a Consumer object from the result of webservice
 
merge(c)
Merge informations from the specified Consumers object
Class Detail
Consumers()
Class to store client info
Field Detail
{Array} Adresses
- array of client's Adresses

{string} BornDate
- client born date (format : dd/MM/yyyy)

{string} Civility
- the client Civility ("M.", "Mme", "Mlle")

{string} ClientNumber
- free client number

{string} Comment
- free comment

{string} Company
- the client company

{Array} Cookies
- array of client's TheWave cookies ContactMedias

{string} crmOid
- adress book oid where the client is found;

{string} FirstName
- the client firstname

{Array} InstantMessenger
- array of client's instant messager adresses ContactMedias

{boolean} IsAutoCreated
- if true, the client has been autocreated by an external service, if false, the client has been created by an agent

{string} IsIdentified
- "0" : client has not been identified by the agent, "1" : client has been identified by the agent

{number} IsVIP
- 0 : No VIP, 1 : VIP

{string} Job
- client job title

{Array} Mails
- array of client's emails ContactMedias

{string} Name
- the client name

{string} ReferenceClient
- the client unique identifier

{Array} SocialNetworks
- array of client's Social Network account ContactMedias

{Array} Tels
- array of client's phonenumbers ContactMedias
Method Detail
AddMediaByContext(contextType, mediaNumber)
Add one new media value for the specified context
Parameters:
{ContextTypes} contextType
- the context for which to add the media value
{string} mediaNumber
- the media value to add (phonenumber, email, etc)

load(tab)
Clean initialize a Consumer object from the result of webservice
Parameters:
{Consumers} tab
- the object received on webservice

merge(c)
Merge informations from the specified Consumers object
Parameters:
{Consumers} c
- the other client to merge

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Nov 05 2014 12:49:32 GMT+0100 (CET)