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