Project

General

Profile

Actions

Specification » History » Revision 1

Revision 1/10 | Next »
Soh Keong, 01/06/2021 02:35 PM


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
  1. ginota.api.key.{DB}.{country/project}
  2. ginota.api.secret.{DB}.{country/project}
  3. otp.validity.in.second.{DB}.{country/project}
  4. local.valid.period.in.second.{DB}.{country/project}
  5. url.send.otp
  6. url.verify.otp
  7. url.send.sms
  8. connection.timeout
  9. 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 over 3 years ago · 1 revisions