Project

General

Profile

Actions

Specification » History » Revision 15

« Previous | Revision 15/21 (diff) | Next »
Soh Keong, 05/25/2023 05:07 PM


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

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 -

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