Project

General

Profile

Specification » History » Version 36

Soh Keong, 03/03/2023 11:21 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 32 Soh Keong
| 3.0       | Multiple grant Voucher          |
27 34 Soh Keong
| 3.5       | Added Installment Plan          |
28 35 Soh Keong
| 3.6       | Added S62 product sync to Promo |
29 36 Soh Keong
| 3.7       | Added voucher payment only      |
30 1 Soh Keong
31
h3. Jar File Download
32
33 36 Soh Keong
"Jar":/redmine/attachments/download/735/momService-3.7.jar
34 1 Soh Keong
"Lib":/redmine/attachments/download/515/lib.rar
35
"Properties":/redmine/attachments/download/516/service.properties
36
37
h3. properties file
38
39
* *service.properties*
40
41
# *json.url*                - Cosway dotnet's URL
42
# *json.key*                - for encryption 
43
# *connection.timeout*      - set connection timeout
44
# *connection.read.timeout* - set connection read timeout
45
46
47
h1. Methods
48
49
h2. MOM Order
50 2 Soh Keong
51
<pre>
52
com.ecosway.cosway.momwcf.service.MomService service = new com.ecosway.cosway.momwcf.service.MomService();
53
</pre>
54
55
h3. getMomBean
56
57
<pre>
58
com.ecosway.cosway.momwcf.model.MomHeaderBean momBean = service.getMomBean(Connection conn, String orderId);
59
</pre>
60
61 14 Soh Keong
h3. addOrder (IAddOrder)
62 2 Soh Keong
63
<pre>
64 22 Soh Keong
com.ecosway.cosway.momwcf.model.ResultBean resultBean = service.addOrder(Connection conn, MomHeaderBean bean)
65 2 Soh Keong
</pre>
66
67
* *com.ecosway.cosway.momwcf.model.ResultBean*
68
> * *errCode*       - String
69
> * *errMessage*    - String