Project

General

Profile

Specification » History » Version 1

Soh Keong, 11/03/2020 10:41 AM

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.15      | Init           |
11
12
h3. Jar File Download
13
14
"Jar":/redmine/attachments/download/497/coswayService-1.15.jar
15
"Lib":/redmine/attachments/download/498/serviceJar.zip
16
"Properties":/redmine/attachments/download/499/service.properties
17
18
h3. properties file
19
20
* *service.properties*
21
22
# *json.url*                - provided by DotNet team
23
# *cosway.key*              - provided by DotNet team
24
# *initialization.vector*   - provided by DotNet team
25
# *aes.key*                 - provided by DotNet team
26
# *service.mode*            - provided by DotNet team
27
# *wsdl.url*                - provided by DotNet team
28
# *json.key*                - provided by DotNet team
29
# *connection.timeout*      - set connection timeout
30
# *connection.read.timeout* - set connection read timeout
31
32
h1. Methods
33
34
h2. Pin
35
36
<pre>
37
com.ecosway.cosway.cpsservice.service.CoswayService service = new com.ecosway.cosway.cpsservice.service.UpdateMemberHandler();
38
</pre>
39
40
h3. getBonusPoint
41
42
<pre>
43
com.ecosway.cosway.cpsservice.model.BonusPointResultBean resultBean = service.getBonusPoint(BonusPointBean bean)
44
</pre>
45
46
* *com.ecosway.cosway.cpsservice.model.BonusPointBean*
47
> * *countryId*      - String
48
> * *centerId*       - String (com.ecosway.cosway.cpsservice.constant.CommonConstant.CENTER_ID_ONLINE)
49
> * *memberId*       - String
50
51
* *com.ecosway.cosway.cpsservice.model.BonusPointResultBean*
52
> * *errorCode*      - String
53
> * *errorMessage*   - String
54
> * *countryId*      - String
55
> * *centerId*       - String
56
> * *memberId*       - String
57
> * *bonusPoint*     - double