Specification » History » Version 3
Soh Keong, 05/29/2024 09:55 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 | 3 | Soh Keong | >> * *productName* |
74 | >> * *productCode* |
||
75 | >> * *measurement* |
||
76 | >> * *quantity* |
||
77 | >> * *totalExcludingTax* |
||
78 | >> * *unitPrice* |
||
79 | >> * *subtotal* |
||
80 | >> * *classificationList* |
||
81 | >>> * *code* |
||
82 | >>> * *group* |
||
83 | >> * *taxTotalBean* |
||
84 | >>> * *totalTaxAmount* |
||
85 | >>> * *taxSubTotalList* |
||
86 | >>>> * *taxType* |
||
87 | >>>> * *percent* |
||
88 | >>>> * *perUnitAmount* |
||
89 | >>>> * *baseUnitMeasure* |
||
90 | >>>> * *netAmount* |
||
91 | >>>> * *tax* |
||
92 | |||
93 | > * *taxTotalBean* |
||
94 | >> * *totalTaxAmount* |
||
95 | >> * *taxSubTotalList* |
||
96 | >>> * *taxType* |
||
97 | >>> * *percent* |
||
98 | >>> * *perUnitAmount* |
||
99 | >>> * *baseUnitMeasure* |
||
100 | >>> * *netAmount* |
||
101 | >>> * *tax* |