Actions
- Table of contents
- Specification
- Methods
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.15 | Init |
1.16 | Added meaning printout |
Jar File Download¶
properties file¶
- service.properties
- json.url - provided by DotNet team
- cosway.key - provided by DotNet team
- initialization.vector - provided by DotNet team
- aes.key - provided by DotNet team
- service.mode - provided by DotNet team
- wsdl.url - provided by DotNet team
- json.key - provided by DotNet team
- connection.timeout - set connection timeout
- connection.read.timeout - set connection read timeout
Methods¶
Pin¶
com.ecosway.cosway.cpsservice.service.CoswayService service = new com.ecosway.cosway.cpsservice.service.UpdateMemberHandler();
getBonusPoint (iGetBonusDetail)¶
com.ecosway.cosway.cpsservice.model.BonusPointResultBean resultBean = service.getBonusPoint(BonusPointBean bean)
- com.ecosway.cosway.cpsservice.model.BonusPointBean
- countryId - String
- centerId - String (com.ecosway.cosway.cpsservice.constant.CommonConstant.CENTER_ID_ONLINE)
- memberId - String
- com.ecosway.cosway.cpsservice.model.BonusPointResultBean
- errorCode - String
- errorMessage - String
- countryId - String
- centerId - String
- memberId - String
- bonusPoint - double
getPinResult (iMemeberPINProcess)¶
com.ecosway.cosway.cpsservice.model.PinResultBean resultBean = service.getPinResult(PinBean bean)
- com.ecosway.cosway.cpsservice.model.PinBean
- countryId - String
- centerId - String (com.ecosway.cosway.cpsservice.constant.CommonConstant.CENTER_ID_ONLINE)
- memberId - String
- transactionId - String
- pin - String
- memberType - String
- com.ecosway.cosway.cpsservice.model.PinResultBean
- errorCode - String
- errorMessage - String
- countryId - String
- centerId - String
- memberId - String
- transactionId - String
Transaction¶
com.ecosway.cosway.cpsservice.service.TransactionHandler service = new com.ecosway.cosway.cpsservice.service.TransactionHandler();
getTrxProcess (eTrxProcess) / getTrxWithdraw (getTrxWithdraw)/ getTrxSalesLock (eTrxSalesLock)¶
com.ecosway.cosway.cpsservice.model.TransactionResultBean resultBean = service.getTrxProcess(TransactionBean bean) com.ecosway.cosway.cpsservice.model.TransactionResultBean resultBean = service.getTrxWithdraw(TransactionBean bean) com.ecosway.cosway.cpsservice.model.TransactionResultBean resultBean = service.getTrxSalesLock(TransactionBean bean)
- com.ecosway.cosway.cpsservice.model.TransactionBean
- countryId - String
- centerId - String (com.ecosway.cosway.cpsservice.constant.CommonConstant.CENTER_ID_ONLINE)
- memberId - String
- transactionId - String
- pin - String
- foreigner - boolean
- currencyRate - double
- processBeanList - List<TransactionProcessBean>
- salesType -
- invNo -
- poNo -
- invDate -
- oriInvDate -
- earnedPoint -
- utilizedPoint -
- amount -
- expiryDate -
- remarks -
- remarksBy -
- com.ecosway.cosway.cpsservice.model.TransactionResultBean
- errorCode - String
- errorMessage - String
- totalSales - String
- monthYear - String
- activationDate - String
- ePoint - String
- eAcc - String
- totalCashWithdrawToday - String
- passwordAttempt - String
- salesLocked - String
- currencyRate - String
transferRC (eRCTransferProcess)¶
com.ecosway.cosway.cpsservice.model.CommonResultBean resultBean = service.transferRC(RCTransferBean bean)
- com.ecosway.cosway.cpsservice.model.RCTransferBean
- transactionId - String
- countryId - String
- centerId - String
- invNo - String
- invDate - String
- pin - String
- memberIdFrom - String
- memberIdTo - String
- point - String
- pointFee - String
- companyCodeFrom - String
- companyCodeTo - String
- remarks - String
- remarksBy - String
- com.ecosway.cosway.cpsservice.model.PinResultBean
- errorCode - String
- errorMessage - String
- countryId - String
- centerId - String
- memberId - String
Member¶
com.ecosway.cosway.cpsservice.service.UpdateMemberHandler service = new com.ecosway.cosway.cpsservice.service.UpdateMemberHandler();
getMemberDetail (iGetMemberDetail)/ updateMemberActivation (iUpdateMemberDetail)¶
com.ecosway.cosway.cpsservice.model.UpdateMemberResultBean resultBean = service.getMemberDetail(UpdateMemberBean bean) com.ecosway.cosway.cpsservice.model.UpdateMemberResultBean resultBean = service.updateMemberActivation(UpdateMemberBean bean)
- com.ecosway.cosway.cpsservice.model.UpdateMemberBean
- countryId - String
- centerId - String (com.ecosway.cosway.cpsservice.constant.CommonConstant.CENTER_ID_ONLINE)
- memberId - String
- foreigner - boolean
- transactionId - String (For Update Only)
- actionCode - String (For Update Only)
- activationDate - Date (For Update Only)
- com.ecosway.cosway.cpsservice.model.UpdateMemberResultBean
- errorCode - String
- errorMessage - String
- totalSales - String
- monthYear - String
- activationDate - Date
- ePoint - int
- eAcc - doulbe
- totalCashWithdrawToday - double
- passwordAttempt - int
- salesLocked - boolean
- currencyRate - double
- residingCountryCode - String
- residingCurrencyCode - String
- memberStatus - String
- icNo - String
- companyCode - String
- memberType - String
- joinDate - Date
- expDate - Date
- memberName - String
- memberNameLocal - String
- dob - Date
- sponsorId - String
- nearExpiryPoint - int
- nearExpiryDate - Date
Updated by Soh Keong 28 days ago ยท 6 revisions