Actions
Specification » History » Revision 1
Revision 1/10
| Next »
Soh Keong, 01/06/2021 02:35 PM
- Table of contents
- Specification
- Activity Diagram
Specification¶
Activity Diagram
¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.11 | Init |
Jar File Download¶
Jar
Lib
"Properties":redmine/attachments/download/557/ginota.properties
properties file¶
- ginota.properties
- ginota.api.key.{DB}.{country/project}
- ginota.api.secret.{DB}.{country/project}
- otp.validity.in.second.{DB}.{country/project}
- local.valid.period.in.second.{DB}.{country/project}
- url.send.otp
- url.verify.otp
- url.send.sms
- connection.timeout
- connection.read.timeout
Database Table¶
CREATE TABLE OTP_INTERFACE ( OTP_ID VARCHAR(15) NOT NULL, MOBILE VARCHAR(15) NOT NULL, TRX_CODE VARCHAR(5) NOT NULL, STATUS_CODE VARCHAR(5), SHOPPER_REF_NO INTEGER, STATUS_DESC VARCHAR(100), REQUEST_ID VARCHAR(20), TOTAL_SMS INTEGER, CREATE_DATETIME TIMESTAMP NOT NULL, MODIFY_DATETIME TIMESTAMP, ORDER_ID VARCHAR(15), PRIMARY KEY (OTP_ID))
OTP Service¶
com.cosway.ginota.service.OtpService service = new com.cosway.ginota.service.OtpService();
sendOTP¶
com.cosway.ginota.bean.ResultBean result = service.sendOTP(Connection conn, com.cosway.ginota.bean.OTPBean otpBean)
Updated by Soh Keong almost 4 years ago · 1 revisions