Actions
- Table of contents
- Specification
- Methods
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.0 | Init |
1.1 | Added createDatetime (requestOTP) |
1.2 | Added locale |
1.3 | Added currentDatetime |
1.4 | Added own define OTP ExpiryDateTime |
1.4.1 | Added ByPass indicator for requestOTP |
1.4.2 | Removed ByPass. Added P003 |
1.5 | Added P004 (Voucher Utilization) |
Jar File Download¶
Methods¶
Message Service¶
com.cosway.soap.client.service.MessageService service = new com.cosway.soap.client.service.MessageService();
requestVerifyCode¶
com.cosway.soap.client.bean.AppPinResultBean resultBean = service.requestVerifyCode(com.cosway.soap.client.bean.AppPinBean bean)
- com.cosway.soap.client.bean.AppPinBean
- shopperId
- AppType - AppType
- CreateBy - com.cosway.soap.client.common.CommonConstant.CREATED_BY_ONLINE
- Locale - default en_US
- ExpiryDateTime - java.time.LocalDateTime.now().plusDays(2)
- com.cosway.soap.client.bean.AppPinResultBean
- ErrCode - ErroCode
- ErrMessage -
- CreateDatetime -
- VerifyCode - For com.cosway.soap.client.common.CommonConstant.APP_TYPE_PIN_EMAIL_ACTIVATION ONLY
verifyVerifyCode¶
com.cosway.soap.client.bean.ResultBean resultBean = service.verifyVerifyCode(com.cosway.soap.client.bean.AppPinBean bean)
- com.cosway.soap.client.bean.AppPinBean
- shopperId -
- AppType - AppType
- AppPin -
sendNotification¶
com.cosway.soap.client.bean.ResultBean resultBean = service.sendNotification(com.cosway.soap.client.bean.AppNoticeBean bean)
- com.cosway.soap.client.bean.AppNoticeBean
- shopperId -
- AppType - AppType
- Params - String in Json format
- com.cosway.soap.client.bean.ResultBean
- ErrCode - ErroCode
- ErrMessage -
Updated by Soh Keong 1 day ago ยท 21 revisions