Project

General

Profile

Actions

Specification » History » Revision 17

« Previous | Revision 17/21 (diff) | Next »
Soh Keong, 06/01/2023 11:01 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

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)
  • ByPass - boolean
  • com.cosway.soap.client.bean.AppPinResultBean
  • ErrCode - ErroCode
  • ErrMessage -
  • CreateDatetime -

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 · 17 revisions