Actions
Specification » History » Revision 2
« Previous |
Revision 2/6
(diff)
| Next »
Soh Keong, 10/19/2020 05:40 PM
Specification¶
Programming Guide¶
Resources¶
SCM¶
see wiki
Jar File Download¶
properties file¶
- service.properties
- ws.key - Provided by bInfinite
- ws.company.code - Provided by bInfinite
- ws.branch.code - Provided by bInfinite
- 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.checkCard(String cardNumber);
- com.cosway.bcard.bean.CheckCardResultBean
- errorCode - String
- errorMessage - String
- bcardNo - String
- status - String
Redemption¶
com.cosway.bcard.bean.RedemptionResultBean resultBean = service.checkCard(RedemptionBean redempBean);
- com.cosway.bcard.bean.RedemptionBean
- bcardNo - String
- password - String
- trxDate - Date
- point - int
- *com.cosway.bcard.bean.RedemptionResultBean *
- errorCode - String
- errorMessage - String
- bcardNo - String
- redemptionId - String
- redemptionDate - Date
- balancePoint - int
Updated by Soh Keong about 4 years ago · 2 revisions