Actions
Specification » History » Revision 1
Revision 1/2
| Next »
Soh Keong, 10/28/2020 03:40 PM
- Table of contents
- Specification
- Programming Guide
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.0 | Init |
Jar File Download¶
properties file¶
- service.properties
- json.url - Dotnet team's web service URL
- json.key - Provided by Dotnet team
- connection.timeout - set connection timeout
- connection.read.timeout - set connection read timeout
Methods¶
Common Instance¶
com.cosway.bcard.dotnet.service.MemberService service = new com.cosway.bcard.dotnet.service.MemberService();
getBcardByShopperId / getShopperByBcard¶
com.cosway.bcard.dotnet.bean.BCardResultBean result = service.getBcardByShopperId(String shopperId) com.cosway.bcard.dotnet.bean.BCardResultBean result = service.getShopperByBcard(String bcardNo)
- com.cosway.bcard.dotnet.bean.BCardResultBean
- errCode - String
- errMessage - String
- totalRec - int
- totalRecEcosway - int
- totalRecCosway - int
- bCardList - List<String>
- memberList - List<String>
addBCardMember / editBCardMember / deleteBCardMember¶
ResultBean result = service.addBCardMember(BCardMemberBean bean) ResultBean result = service.editBCardMember(BCardMemberBean bean) ResultBean result = service.deleteBCardMember(BCardMemberBean bean)
- com.cosway.bcard.dotnet.bean.BCardMemberBean
- shopperId - String
- bcardNo - String
- orderId - String
- centerId - String (com.cosway.bcard.dotnet.constant.CommonConstant.CENTER_ID_ONLINE)
- companyCode - String (com.cosway.bcard.dotnet.constant.CommonConstant.COMPANY_CODE_COSWAY | COMPANY_CODE_ECOSWAY)
Updated by Soh Keong about 4 years ago · 1 revisions