Project

General

Profile

Actions

Specification » History » Revision 18

« Previous | Revision 18/21 (diff) | Next »
Soh Keong, 06/07/2023 10:45 AM


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

Jar File Download

Jar

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
  • 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 AppType 'P003' 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

Updated by Soh Keong over 1 year ago · 18 revisions