Specification » History » Version 2
Soh Keong, 05/29/2024 09:46 AM
1 | 1 | Soh Keong | {{toc}} |
---|---|---|---|
2 | |||
3 | h1. Specification |
||
4 | |||
5 | h1. Programming Guide |
||
6 | |||
7 | h2. Jar version |
||
8 | |||
9 | |_. version |_. Description | |
||
10 | | 1.0 | Init | |
||
11 | |||
12 | h2. Jar File Download |
||
13 | |||
14 | "Jar": |
||
15 | "Properties": |
||
16 | |||
17 | h3. Classes |
||
18 | |||
19 | * *my.aisino.einvoice.bean* |
||
20 | * *my.aisino.einvoice.bean.transaction* |
||
21 | * *my.aisino.einvoice.constant* |
||
22 | * *my.aisino.einvoice.service* |
||
23 | * *my.aisino.einvoice.util* |
||
24 | |||
25 | h3. properties file |
||
26 | |||
27 | * *service.properties* |
||
28 | |||
29 | # *merchant.id* - |
||
30 | |||
31 | h2. Aisino Service |
||
32 | |||
33 | <pre> |
||
34 | my.aisino.einvoice.service.TransactionService service = new my.aisino.einvoice.service.TransactionService(); |
||
35 | </pre> |
||
36 | |||
37 | h3. submitEReceipt |
||
38 | |||
39 | <pre> |
||
40 | InvoiceSubmissionResponseBean responseBean = service.submitEReceipt(Connection conn, InvoiceSubmissionRequestBean bean); |
||
41 | </pre> |
||
42 | |||
43 | # *conn* - Database connection. |
||
44 | # *bean* - Object. |
||
45 | > * *orderId* |
||
46 | > * *orderDate* |
||
47 | > * *orderTime* |
||
48 | > * *orderTypeCode* |
||
49 | > * *currencyCode* |
||
50 | > * *totalExcludingTax* |
||
51 | > * *totalIncludingTax* |
||
52 | > * *totalPayableAmount* |
||
53 | |||
54 | > * *buyerBean* |
||
55 | >> * *address* |
||
56 | >>> * *country* |
||
57 | >>> * *state* |
||
58 | >>> * *city* |
||
59 | >>> * *address1* |
||
60 | >>> * *address2* |
||
61 | >>> * *address3* |
||
62 | >> * *contactNumber* |
||
63 | >> * *name* |
||
64 | >> * *registrationList* |
||
65 | 2 | Soh Keong | >>> * *brn* |
66 | >>> * *tin* |
||
67 | >>> * *nric* |
||
68 | >>> * *passport* |
||
69 | >>> * *army* |
||
70 | >>> * *sst* |
||
71 | |||
72 | > * *productList* |
||
73 | 1 | Soh Keong | >> * ** |
74 | >> * ** |
||
75 | >> * ** |
||
76 | >> * ** |
||
77 | >> * ** |
||
78 | >> * ** |
||
79 | >> * ** |
||
80 | >> * ** |
||
81 | >> * ** |
||
82 | >> * ** |
||
83 | >> * ** |
||
84 | >> * ** |
||
85 | >> * ** |
||
86 | >> * ** |
||
87 | >> * ** |
||
88 | >> * ** |
||
89 | >> * ** |
||
90 | >> * ** |