Actions
Specification » History » Revision 5
« Previous |
Revision 5/23
(diff)
| Next »
Soh Keong, 10/23/2020 02:29 PM
- Table of contents
- Specification
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
2.8 | Init |
Jar File Download¶
properties file¶
- service.properties
- json.url.mom - Provided by POS
- json.key - Provided by POS
- aes.key - Provided by POS
- connection.timeout - Set connection timeout
- connection.read.timeout - Set connection red timeout
Methods¶
Common Instance¶
com.bv.ws.service.MomService service = new com.bv.ws.service.MomService();
getMomBeanByOrderId¶
com.bv.ws.model.MomBean momBean = service.getMomBeanByOrderId(Connection connStore, String orderId);
getCancelMomByOrderId¶
com.bv.ws.model.MomBean momBean = service.getMomBeanByOrderId(Connection connUsa, Connection connStore, String orderId);
checkShippingStatus¶
com.bv.ws.model.QueryResultBean checkShippingStatus(QueryOrderBean bean)
- *com.bv.ws.model.QueryOrderBean *
- orderId - String
- countryCode - String
- com.bv.ws.model.QueryResultBean
- errCode - String
- errMessage - String
- invoiceStatus - String ("return" = good had return : empty = yet return)
- shipped - boolean
updateCancelRequestBeforeApproval¶
com.bv.ws.model.ResultBean resultBean = service.updateCancelRequestBeforeApproval(UpdateOrderBean bean)
- com.bv.ws.model.UpdateOrderBean
- orderId - String
- countryCode - String
- stockistCode - String
- orderList - String
- orderId - String
- cancelRequest - String (NO NEED to set value, Fixed to R)
NOTE: R=Before Approval; Y=After Approval
getShippingCountryByOrderId¶
String shippingCountry = service.getShippingCountryByOrderId(Connection connStore, String orderId);
- com.bv.ws.model.MomBean
- orderId - String
- countryCode - String
- deliveryAddress - String
- memberIc - String
- telNo - String
- receiverName - String
- stockistCode - String
- orderDate - Date
- memberId - String
- invoiceAmount - double
- processDate - Date
- collectorName - String
- collectorIc - String
- collectorContact - String
- deliveryType - String
- pickupStore - String
- approvalCode - String
- freightCharges - double
- purchaserName - String
- ewalletAdminFee - double
- currency - String
- originalOrdNo - String
- onlineMall - String
- warehouse - String
- lossFee - double
- productList
- setId - String
- productId - String
- productType - String
- quantity - int
- setSold - int
- productPrice - double
- deductStock - String
- childPrice - double
- childTotalPrice - double
Updated by Soh Keong about 4 years ago · 5 revisions