A set of data objects utilized by the Mobiliser Smartphone application for mBanking services.
1 /**
2 * @overview
3 * A set of data objects utilized by the Mobiliser Smartphone application for mBanking services.
4 *
5 * @name SY_MB_Data_Objects.js
6 * @author SAP AG
7 * @version 1.0
8 */
9
10 /**
11 * Network Provider class containing details of NetworkProviders
12 */
13 function NetworkProvider() {
14 this.id = ''; //id of the provider
15 this.provider = '';//displayStr for provider
16 }
17
18 /**
19 * @description Service Package for a particular customer
20 * @param service package id
21 * @param list of allowed alert types
22 */
23 function ServicePackage() {
24 this.servicePackageId = '';
25 this.supportedAlertList = [];
26 this.supportedChannel = [];
27 }
28
29 /**
30 * Extend the existing Setting to point to mbanking service
31 */
32 Setting.prototype.mbwsname = 'mobiliser/rest/spmmbanking';
33
34 /**
35 * Extend the existing accounts object to have additional member variable
36 */
37 Accounts.prototype.accountIdentification = '';
38 Accounts.prototype.status = 0;
39
40 /**
41 * Extend the existing LoginSession object to have additional member variables
42 */
43 LoginSession.prototype.customerServicePackage = new ServicePackage();
44 LoginSession.prototype.tc = [];
45 LoginSession.prototype.exchangeRate = '';