Project

General

Profile

Actions

Specification » History » Revision 1

Revision 1/6 | Next »
Soh Keong, 10/19/2020 03:42 PM


Specification

Programming Guide

Resources

SCM

see wiki

Jar File Download

Jar
Lib
Properties

properties file

  • service.properties
  1. ws.key - Provided by bInfinite
  2. ws.company.code - Provided by bInfinite
  3. ws.branch.code - Provided by bInfinite
  4. ws.post.id - Provided by bInfinite

Methods

Common Instance

com.cosway.bcard.service.BcardService service = new com.cosway.bcard.service.BcardService();

Point Inquiry

com.cosway.bcard.bean.PointResultBean resultBean = service.pointInquiry(CardBean cardBean);
  • com.cosway.bcard.bean.CardBean
  • bcardNo - bInfinite card number
  • password - bInfinite card's password
  • com.cosway.bcard.bean.PointResultBean
  • errorCode - String
  • errorMessage - String
  • bcardNo - String
  • principalPoint - int
  • tokenPoint - int
  • mintoken - int
  • totalpoint - int

Check Card

com.cosway.bcard.bean.CheckCardResultBean resultBean = service.pointInquiry(String cardNumber);
  • com.cosway.bcard.bean.CheckCardResultBean
  • errorCode - String
  • errorMessage - String
  • bcardNo - String
  • status - String

Updated by Soh Keong about 4 years ago · 1 revisions