Project

General

Profile

Actions

Specification » History » Revision 22

« Previous | Revision 22/38 (diff) | Next »
Soh Keong, 10/12/2021 06:28 PM


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

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 about 3 years ago · 22 revisions