Deployment Guide - qiwi-billManagement » History » Version 8
Soh Keong, 06/14/2012 09:37 AM
1 | 6 | Soh Keong | h1. Deployment Guide - qiwi-billManagement |
---|---|---|---|
2 | 1 | Soh Keong | |
3 | *Steps-By-Steps:* |
||
4 | 6 | Soh Keong | # checkout the [[wiki#SCM|qiwi-billManagement]] project into <code>Eclipse</code> |
5 | # upload application.properties to /data/qiwi-provider/application.properties</code> (\\cwyrnd2-server\src\sohkeong\QIWI\Qiwi_billManagement_Properties) |
||
6 | # Jar file (\\cwyrnd2-server\src\sohkeong\QIWI\Qiwi_billManagement_Jar) |
||
7 | 7 | Soh Keong | # By calling below methods will get the result code. |
8 | 8 | Soh Keong | |
9 | 1 | Soh Keong | <pre> |
10 | 7 | Soh Keong | main.java.com.ecosway.service.IShopServerService service = new main.java.com.ecosway.service.impl.IShopServerServiceImpl(); |
11 | </pre> |
||
12 | 8 | Soh Keong | |
13 | 5 | Soh Keong | * Create Bill |
14 | 8 | Soh Keong | |
15 | 1 | Soh Keong | <pre> |
16 | 8 | Soh Keong | int result = service.createBill(Connection conn, String user, double amount, |
17 | String comment, String transaction, String transactionType, |
||
18 | int shopperRefNo, String currency, String lifetime, int alarm, |
||
19 | boolean create); |
||
20 | |||
21 | > > > > > > > > > > OR < < < < < < < < < < |
||
22 | |||
23 | int result = service.createBill(Connection conn, String user, double amount, |
||
24 | String comment, String transaction, String transactionType, |
||
25 | int shopperRefNo, String currency, String lifetime, int alarm, |
||
26 | boolean create, boolean split, double maxAmount); |
||
27 | |||
28 | 7 | Soh Keong | </pre> |
29 | * Cancel Bill |
||
30 | <pre> |
||
31 | int result = service.cancelBill(String transaction); |
||
32 | </pre> |
||
33 | * Create Bill Payed Amount |
||
34 | <pre> |
||
35 | int result = service.cancelBillPayedAmount(String nbill, double amount); |
||
36 | </pre> |
||
37 | |||
38 | 1 | Soh Keong | |
39 | 4 | Soh Keong | |
40 | 1 | Soh Keong | *Development Server:* |
41 | 6 | Soh Keong | <pre> |
42 | 1 | Soh Keong | http://192.168.2.68:8080/qiwi-billManagementTest/ |
43 | </pre> |