Project

General

Profile

Specification » History » Version 15

Soh Keong, 04/07/2021 12:02 PM

1 1 Soh Keong
{{toc}}
2
3
h1. Specification
4
5
h2. Programming Guide
6
7
h3. Jar version 
8
9 13 Soh Keong
|_. version |_. Description                   |
10
| 1.13.1    | Init                            |
11
| 1.13.2    | Added Delivery                  |
12
| 1.14      | Payment Method priority         |
13
| 1.15      | Added Shopper Sales             |
14
| 1.16      | Added TNG                       |
15
| 1.17      | Added NoOfRecord                |
16
| 1.18      | First row of "Value" have value | 
17 15 Soh Keong
| 1.19      | Added stockist delivery         |
18 1 Soh Keong
19
h3. Jar File Download
20
21 15 Soh Keong
"Jar":/redmine/attachments/download/588/momService-1.19.jar
22 1 Soh Keong
"Lib":/redmine/attachments/download/515/lib.rar
23
"Properties":/redmine/attachments/download/516/service.properties
24
25
h3. properties file
26
27
* *service.properties*
28
29
# *json.url*                - Cosway dotnet's URL
30
# *json.key*                - for encryption 
31
# *connection.timeout*      - set connection timeout
32
# *connection.read.timeout* - set connection read timeout
33
34
35
h1. Methods
36
37
h2. MOM Order
38 2 Soh Keong
39
<pre>
40
com.ecosway.cosway.momwcf.service.MomService service = new com.ecosway.cosway.momwcf.service.MomService();
41
</pre>
42
43
h3. getMomBean
44
45
<pre>
46
com.ecosway.cosway.momwcf.model.MomHeaderBean momBean = service.getMomBean(Connection conn, String orderId);
47
</pre>
48
49 14 Soh Keong
h3. addOrder (IAddOrder)
50 2 Soh Keong
51
<pre>
52
com.ecosway.cosway.momwcf.model.ResultBean resultBean = service.addOrder(MomHeaderBean bean)
53
</pre>
54
55
* *com.ecosway.cosway.momwcf.model.ResultBean*
56
> * *errCode*       - String
57
> * *errMessage*    - String