Project

General

Profile

Actions

Specification » History » Revision 11

« Previous | Revision 11/38 (diff) | Next »
Soh Keong, 02/24/2021 03:35 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

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

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

Updated by Soh Keong almost 4 years ago · 11 revisions