Actions
Specification » History » Revision 3
« Previous |
Revision 3/8
(diff)
| Next »
Soh Keong, 01/14/2021 12:17 PM
- Table of contents
- Specification
- Methods
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
2.5 | Init |
Jar File Download¶
properties file¶
- service.properties
- json.url - provided by DotNet team
- cosway.key - provided by DotNet team
- initialization.vector - provided by DotNet team
- aes.key - provided by DotNet team
- service.mode - provided by DotNet team
- wsdl.url - provided by DotNet team
- json.key - provided by DotNet team
- connection.timeout - set connection timeout
- connection.read.timeout - set connection read timeout
Methods¶
Store Pickup Service¶
com.ecosway.cosway.cpsjson.service.StorePickupService service = new com.ecosway.cosway.cpsjson.service.StorePickupService();
getOrderByStore¶
com.ecosway.cosway.cpsjson.model.OrderByStoreResultBean resultBean = service.getOrderByStore(String stockistCode)
- com.ecosway.cosway.cpsjson.model.OrderByStoreResultBean
- errCode - String
- errMessage - String
- stockistCode - String
- totalRec - String
- orderBeanList - List<OrderResultBean>
- boId - String
- invDate - Date
- invNo - String
getOrderByInvoice¶
com.ecosway.cosway.cpsjson.model.OrderByInvNoResultBean resultBean = service.getOrderByInvoice(String invNo)
- com.ecosway.cosway.cpsjson.model.OrderByInvNoResultBean
.ITEM_STATUS_CODE_FULFILLED
- errCode - String
- errMessage - String
- boId - String
- city - String
- collectorContact - String
- collectorIC - String
- collectorName - String
- deliveryType - String
- invDate - Date
- invNo - String
- invStatus - com.ecosway.cosway.cpsjson.constant.CommonConstant.ITEM_STATUS_CODE_APPROVED
.ITEM_STATUS_CODE_CANCELLED
.ITEM_STATUS_CODE_HOLD
.ITEM_STATUS_CODE_PARTIAL
.ITEM_STATUS_CODE_WAREHOUSE_CANCEL
- pickupType - String
- invoiceRC - String
- referralID - String
- state - String
- stockistCode - String
- totalRec - Int
- orderDetailBeanList - List<OrderDetailResultBean>
- gstAmt - String
- itemStatusCode - String
- itemStatusCodeDatetime - Date
- prodCode - String
- prodType - String
- qtyCancel - Int
- qtyFulfill - Int
- qtyReturn - Int
- qtySold - Int
- setCode - String
- taxCode - String
- uKeyOffline - String
- uKeyOnline - String
- value - String
- childRetailPrice - Double
- nowPrice - Double
- prodRCUtilized - Int
updateOrderByInvoice¶
com.ecosway.cosway.cpsjson.model.ResultBean resultBean = service.updateOrderByInvoice(UpdateOrderByInvoiceBean bean)
- com.ecosway.cosway.cpsjson.model.UpdateOrderByInvoiceBean
- invNo - String
- statusCode - String
- receiveNoteNo - String
- com.ecosway.cosway.cpsjson.model.ResultBean
- errCode - String
- errMessage - String
Taiwan Activation¶
com.ecosway.cosway.cpsjson.service.TaiwanRegistrationService service = new com.ecosway.cosway.cpsjson.service.TaiwanRegistrationService();
sendActivationList¶
com.ecosway.cosway.cpsjson.service.ResultBean resultBean = service.sendActivationList(TWActivationBean activationBean)
- com.ecosway.cosway.cpsjson.model.TWActivationBean
- countryId - String
- centerId - String (com.ecosway.cosway.cpsjson.constant.CommonConstant.CENTER_ID_ONLINE)
- transactionId - String
- familyBeanList - List<TWFamilyBean>
- memberId - String
- sponsorId - String
- placementId - String
- tempPlacementId - String
- icNo - String
- name - String
- status - String
- com.ecosway.cosway.cpsjson.model.ResultBean
- errCode - String
- errMessage - String
Updated by Soh Keong almost 4 years ago · 3 revisions