Actions
Specification » History » Revision 6
« Previous |
Revision 6/38
(diff)
| Next »
Soh Keong, 01/15/2021 03:56 PM
- Table of contents
- Specification
- Methods
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.13.1 | Init |
1.13.2 | Added Delivery |
1.4 | Payment Method priority |
Jar File Download¶
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
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