Project

General

Profile

Actions

Specification » History » Revision 36

« Previous | Revision 36/38 (diff) | Next »
Soh Keong, 03/03/2023 11:21 AM


Specification

Programming Guide

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

Jar File Download

Jar
Lib
Properties

properties file

  • service.properties
  1. json.url - Cosway dotnet's URL
  2. json.key - for encryption
  3. connection.timeout - set connection timeout
  4. connection.read.timeout - set connection read timeout

Methods

MOM Order

com.ecosway.cosway.momwcf.service.MomService service = new com.ecosway.cosway.momwcf.service.MomService();

getMomBean

com.ecosway.cosway.momwcf.model.MomHeaderBean momBean = service.getMomBean(Connection conn, String orderId);

addOrder (IAddOrder)

com.ecosway.cosway.momwcf.model.ResultBean resultBean = service.addOrder(Connection conn, MomHeaderBean bean)
  • com.ecosway.cosway.momwcf.model.ResultBean
  • errCode - String
  • errMessage - String

Updated by Soh Keong almost 2 years ago · 36 revisions