Project

General

Profile

Specification » History » Version 2

Soh Keong, 11/04/2020 02:37 PM

1 1 Soh Keong
{{toc}}
2
3
h1. Specification
4
5
h2. Programming Guide
6
7
h3. Jar version 
8
9
|_. version |_. Description  |
10
| 1.13      | Init           |
11
12
h3. Jar File Download
13
14
"Jar":/redmine/attachments/download/501/offlineService-1.13.jar
15
"Lib":/redmine/attachments/download/500/serviceJar.zip
16
"Properties":/redmine/attachments/download/502/service.properties
17
18
h3. properties file
19
20
* *service.properties*
21
22
# *json.url*                - provided by DotNet team
23
# *wsdl.url*                - provided by DotNet team
24
# *json.key*                - for encryption 
25
# *bcard.area.code*         - for bcard prefix
26
# *connection.timeout*      - set connection timeout
27
# *connection.read.timeout* - set connection read timeout
28
29
30
h1. Methods
31
32
h2. Member
33
34
<pre>
35
com.ecosway.cosway.memberservice.service.MemberService service = new com.ecosway.cosway.memberservice.service.MemberService();
36
</pre>
37
38
h3. mobileAppService
39
40
<pre>
41
com.ecosway.cosway.memberservice.model.MobileAppResultBean resultBean = service.mobileAppService(MobileAppRequestBean bean)
42
</pre>
43
44
* *com.ecosway.cosway.memberservice.model.MobileAppRequestBean*
45
> * *processType*       - String (com.ecosway.cosway.memberservice.constant.CommonConstant.PROCESS_TYPE_GET | PROCESS_TYPE_UPDATE | PROCESS_TYPE_LOCK | PROCESS_TYPE_UNLOCK)
46
> * *mobileAppCode*     - String
47
> * *countryId*         - String
48
> * *transactionId*     - String (For UPDATE | LOCK | UNLOCK)
49
> * *centerId*          - String (For GET | UPDATE)
50
> * *memberId*          - String (For GET | UPDATE)
51
> * *invoiceNo*         - String (For UPDATE Only)
52
> * *invoiceDate*       - String (For UPDATE Only)
53
54
* *com.ecosway.cosway.memberservice.model.MobileAppResultBean*
55
> * *responseCode*      - String
56
> * *responseMessage*   - String
57
> * *memberId*          - String
58
> * *mobileAppCode*     - String
59
> * *isLocked*          - boolean
60
> * *expiryDate*        - Date
61
> * *prodCode*          - String
62 2 Soh Keong
63
64
h3. getNewBCardNo
65
66
<pre>
67
com.ecosway.cosway.memberservice.model.BCardResultBean resultBean = service.getNewBCardNo(String orderId)
68
</pre>
69
70
* *com.ecosway.cosway.memberservice.model.BCardResultBean*
71
> * *errorCode*   - String
72
> * *errorMsg*    - String
73
> * *bcardNumber* - String