Actions
- 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 (BcardGetByMember)/ getShopperByBcard (MemberGetByBcard)¶
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 (MemberBcardAdd)/ editBCardMember (MemberBcardEdit)/ deleteBCardMember (MemberBcardDel)¶
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 over 3 years ago ยท 2 revisions