Actions
- Table of contents
- Specification
- Activity Diagram
Specification¶
Activity Diagram
¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.0 | Init |
Jar File Download¶
properties file¶
- mitake.properties
- mitake.api.username
- mitake.api.password
- mitake.api.charset
- mitake.max.bulk.sms.count
- url.send.sms.single
- url.send.sms.bulk
- sms.response.url.ac.tw
- connection.timeout
- 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)
- conn - Database connection.
- smsBean - SmsRequestBean object.
- clientId
- mobileNo
- transactionCode
- memberName
- shopperRefNo
- content
- projectName - com.mitake.constant.CommonConstant.PROJECT_NAME_ACES_TAIWAN
- result - SmsResponseBean object.
- clientId
- messageId
- statusCode - com.mitake.constant.CommonConstant.ERROR_CODE_*
- StatusDescription
- duplicate
Updated by Soh Keong almost 4 years ago ยท 1 revisions