Actions
Specification » History » Revision 3
« Previous |
Revision 3/5
(diff)
| Next »
Soh Keong, 11/11/2020 05:33 PM
- Table of contents
- Specification
- Methods
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.3 | Init |
Jar File Download¶
properties file¶
- service.properties
- json.url - Provided by offline team
- json.key - for encryption
- connection.timeout - set connection timeout
- connection.read.timeout - set connection read timeout
Methods¶
InventoryLevel¶
com.ecosway.vmart.cnwhs.service.InventoryService service = new com.ecosway.vmart.cnwhs.service.InventoryService();
getInventoryLevel¶
com.ecosway.vmart.cnwhs.model.InventoryResultBean resultBean = service.getInventoryLevel(InventoryBean invBean)
- com.ecosway.vmart.cnwhs.model.InventoryBean
- orderId - String
- centerId - String (com.ecosway.vmart.cnwhs.contant.CommonConstant.CENTER_ID_ONLINE)
- countryId - String
- warehouseCode - String (com.ecosway.vmart.cnwhs.contant.CommonConstant.WAREHOUSE_CODE_2 | WAREHOUSE_CODE_4)
- productList - List<ProductBean>
- productId - String
- consum - String (com.ecosway.vmart.cnwhs.contant.CommonConstant.CONSUME_YES)
- requestQuantity - Int
- com.ecosway.vmart.cnwhs.model.InventoryResultBean
- errCode - String
- errMessage - String
- countryId - String
- warehouseCode - String
- productList - List<ProductBean>
- productId - String
- consum - String (com.ecosway.vmart.cnwhs.contant.CommonConstant.CONSUME_YES)
- requestQuantity - Int
- availableQuantity - Int
OrdersService¶
com.ecosway.vmart.cnwhs.service.OrdersService service = new com.ecosway.vmart.cnwhs.service.OrdersService();
addOrders¶
com.ecosway.vmart.cnwhs.model.ResultBean resultBean = service.addOrders(List<OrdersBean> ordersBeanList)
- com.ecosway.vmart.cnwhs.model.OrdersBean
- orderId - String
// TODO
- com.ecosway.vmart.cnwhs.model.ResultBean
- errCode - String
- errMessage - String
Updated by Soh Keong about 4 years ago · 3 revisions