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