Project

General

Profile

Actions

Specification

Programming Guide

Jar version

version Description
1.0 Init

Jar File Download

Jar
Lib
Properties

properties file

  • service.properties
  1. json.url - Dotnet team's web service URL
  2. json.key - Provided by Dotnet team
  3. connection.timeout - set connection timeout
  4. 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