Project

General

Profile

Specification » History » Version 17

Soh Keong, 09/22/2021 11:40 AM

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 17 Soh Keong
| 1.20      | Added supplier delivery         |
19 1 Soh Keong
20
h3. Jar File Download
21
22 17 Soh Keong
"Jar":/redmine/attachments/download/611/momService-1.20.jar
23 1 Soh Keong
"Lib":/redmine/attachments/download/515/lib.rar
24
"Properties":/redmine/attachments/download/516/service.properties
25
26
h3. properties file
27
28
* *service.properties*
29
30
# *json.url*                - Cosway dotnet's URL
31
# *json.key*                - for encryption 
32
# *connection.timeout*      - set connection timeout
33
# *connection.read.timeout* - set connection read timeout
34
35
36
h1. Methods
37
38
h2. MOM Order
39 2 Soh Keong
40
<pre>
41
com.ecosway.cosway.momwcf.service.MomService service = new com.ecosway.cosway.momwcf.service.MomService();
42
</pre>
43
44
h3. getMomBean
45
46
<pre>
47
com.ecosway.cosway.momwcf.model.MomHeaderBean momBean = service.getMomBean(Connection conn, String orderId);
48
</pre>
49
50 14 Soh Keong
h3. addOrder (IAddOrder)
51 2 Soh Keong
52
<pre>
53
com.ecosway.cosway.momwcf.model.ResultBean resultBean = service.addOrder(MomHeaderBean bean)
54
</pre>
55
56
* *com.ecosway.cosway.momwcf.model.ResultBean*
57
> * *errCode*       - String
58
> * *errMessage*    - String