Project

General

Profile

Actions

Specification

Activity Diagram

Programming Guide

Jar version

version Description
1.0 Init

Jar File Download

Jar
Properties

properties file

  • mitake.properties
  1. mitake.api.username
  2. mitake.api.password
  3. mitake.api.charset
  4. mitake.max.bulk.sms.count
  5. url.send.sms.single
  6. url.send.sms.bulk
  7. sms.response.url.ac.tw
  8. connection.timeout
  9. connection.read.timeout

Database Table

CREATE TABLE MITAKE_INTERFACE (
    SMS_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),
    MESSAGE_ID VARCHAR(20),
    CREATE_DATETIME TIMESTAMP WITH DEFAULT CURRENT TIMESTAMP,
    MODIFY_DATETIME TIMESTAMP,
    ORDER_ID VARCHAR(15),
    PRIMARY KEY (SMS_ID))

OTP Service

com.mitake.service.MitakeService service = new com.mitake.service.MitakeService(); 

sendOTP

com.mitake.bean.SmsResponseBean result = service.sendSingleSms(Connection conn, com.mitake.bean.SmsRequestBean smsBean)
  1. conn - Database connection.
  2. smsBean - SmsRequestBean object.
  • clientId
  • mobileNo
  • transactionCode
  • memberName
  • shopperRefNo
  • content
  • projectName - com.mitake.constant.CommonConstant.PROJECT_NAME_ACES_TAIWAN
  1. result - SmsResponseBean object.
  • clientId
  • messageId
  • statusCode - com.mitake.constant.CommonConstant.ERROR_CODE_*
  • StatusDescription
  • duplicate

Updated by Soh Keong over 3 years ago ยท 1 revisions