Actions
Deployment Guide - qiwi-billManagement » History » Revision 10
« Previous |
Revision 10/16
(diff)
| Next »
Soh Keong, 06/14/2012 09:53 AM
Deployment Guide - qiwi-billManagement¶
Steps-By-Steps:- checkout the qiwi-billManagement project into
Eclipse
- upload application.properties to /data/qiwi-provider/application.properties (\\cwyrnd2-server\src\sohkeong\QIWI\Qiwi_billManagement_Properties)
- Jar file (\\cwyrnd2-server\src\sohkeong\QIWI\Qiwi_billManagement_Jar)
- By calling below methods will get the result code.
main.java.com.ecosway.service.IShopServerService service = new main.java.com.ecosway.service.impl.IShopServerServiceImpl();
Create Bill¶
int result = service.createBill(Connection conn, String user, double amount, String comment, String transaction, String transactionType, int shopperRefNo, String currency, String lifetime, int alarm, boolean create); > > > > > > > > > > OR < < < < < < < < < < int result = service.createBill(Connection conn, String user, double amount, String comment, String transaction, String transactionType, int shopperRefNo, String currency, String lifetime, int alarm, boolean create, boolean split, double maxAmount);
- conn - java.sql.Connection.
- user - user ID. (MSISDN)
- amount - amount of bill.
- comment - comment to the bill displayed to the user.
- transaction - unique bill ID / Order ID.
- transactionType - type of transaction.
- shopperRefNo - Shopper Reference No.
- currency - The currency of the order expressed as an ISO 4217 alpha code.
- lifetime - bill lifetime. (in dd.MM.yyyy HH:mm:ss format)
- alarm - send a notification to the user. (sms or call)
- create - flag to create a new user. (if he’s not registered in the system yet)
- split - flag to split bill.
- maxAmount - maximum amount in single bill. (will ignore if NOT split)
Development Server:
http://192.168.2.68:8080/qiwi-billManagementTest/
Updated by Soh Keong over 12 years ago · 10 revisions