Specification » History » Revision 36
Revision 35 (Soh Keong, 02/16/2023 10:13 AM) → Revision 36/38 (Soh Keong, 03/03/2023 11:21 AM)
{{toc}} h1. Specification h2. Programming Guide h3. Jar version |_. version |_. Description | | 1.13.1 | Init | | 1.13.2 | Added Delivery | | 1.14 | Payment Method priority | | 1.15 | Added Shopper Sales | | 1.16 | Added TNG | | 1.17 | Added NoOfRecord | | 1.18 | First row of "Value" have value | | 1.19 | Added stockist delivery | | 1.20 | Added supplier delivery | | 2.0 | Added promoService for COXTRA | | 2.1 | Added Aeon Credit | | 2.1.1 | Fixed Product Section bug | | 2.2 | Voucher Type - PWP | | 2.2.1 | Fixed duplicated issue | | 2.3 | Added SupplierID | | 2.3.2 | Fixed stockistCode issue | | 3.0 | Multiple grant Voucher | | 3.5 | Added Installment Plan | | 3.6 | Added S62 product sync to Promo | | 3.7 | Added voucher payment only | h3. Jar File Download "Jar":/redmine/attachments/download/735/momService-3.7.jar "Jar":/redmine/attachments/download/729/momService-3.6.jar "Lib":/redmine/attachments/download/515/lib.rar "Properties":/redmine/attachments/download/516/service.properties h3. properties file * *service.properties* # *json.url* - Cosway dotnet's URL # *json.key* - for encryption # *connection.timeout* - set connection timeout # *connection.read.timeout* - set connection read timeout h1. Methods h2. MOM Order <pre> com.ecosway.cosway.momwcf.service.MomService service = new com.ecosway.cosway.momwcf.service.MomService(); </pre> h3. getMomBean <pre> com.ecosway.cosway.momwcf.model.MomHeaderBean momBean = service.getMomBean(Connection conn, String orderId); </pre> h3. addOrder (IAddOrder) <pre> com.ecosway.cosway.momwcf.model.ResultBean resultBean = service.addOrder(Connection conn, MomHeaderBean bean) </pre> * *com.ecosway.cosway.momwcf.model.ResultBean* > * *errCode* - String > * *errMessage* - String