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