Project

General

Profile

Actions

Specification » History » Revision 6

« Previous | Revision 6/38 (diff) | Next »
Soh Keong, 01/15/2021 03:56 PM


Specification

Programming Guide

Jar version

version Description
1.13.1 Init
1.13.2 Added Delivery
1.4 Payment Method priority

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 · 6 revisions