LoginSession class

LoginSession This is the session class which stores all of the user's data throughtout a login session.

Syntax

new LoginSession( sessionId, customerId, displayName, msisdn, transaction, contacts, billTypes, registeredbill, openbill, openBillArray, openRequestArray, accounts, offlinesvas, totalaccounts, customer, svaalert, coupons, couponTypes, categories, category_grandparent, identification, customerAlert, alertNotificationMessages, otherIdentifications, transit_value, image, uploadUrl, downloads, locations, defaultTermAndConditions, openTermAndConditions, gcmregid )

Parameters

Name Type Description
sessionId   The session id as returned by the server
customerId   The id of the customer
displayName   The display name of the customer
msisdn   The phone number of the customer
transaction   Is an array of tranasctions
contacts   Is an array of contacts from the address book of the user's smartphone
billTypes   Is an array of avaiable invoic types
registeredbill   A list of all registered bills for the user
openbill   The information of an open bill
openBillArray   A list of all open and due bills for the user
openRequestArray   A list of all open and due demand for payment for the user
accounts   A list of money accounts registered by the user
offlinesvas   A list of offline SVA accounts registered by the user
totalaccounts   total number of money accounts registered by the user
customer   particular information of the user
svaalert   A list of balance alerts registered for SVA of the user
coupons   A list of coupons available for the user
couponTypes   A list of coupon types in system
categories   A list of coupon categories in one level of category tree
category_grandparent   the category node in up two level of current node
identification   A list of identification registered by the user
customerAlert   particular information of an alert for a user
alertNotificationMessages   A list of alert Notification message
otherIdentifications   A list of additional identification registerd by the user
transit_value   A variable to hold the temporary data between pages in navigation
image   A handler to hold the image
uploadUrl   The url address in system for uploading a image
downloads   A list of handlers of images to download from system
locations   A list of locations in system
defaultTermAndConditions   A list of default term & conditions in registration
openTermAndConditions   A list of open term & conditions after user login
gcmregid   The GCM registration ID of this application

Source

SY_Data_Objects.js line 94.