Project

General

Profile

Specification » History » Version 1

Soh Keong, 11/19/2020 05:38 PM

1 1 Soh Keong
{{toc}}
2
3
h1. Specification
4
5
h2. Programming Guide
6
7
h3. Jar version 
8
9
|_. version |_. Description  |
10
| 2.5       | Init           |
11
12
h3. Jar File Download
13
14
"Jar":/redmine/attachments/download/520/coswayJsonService-2.5.jar
15
"Lib":/redmine/attachments/download/521/lib.rar
16
"Properties":/redmine/attachments/download/522/service.properties
17
18
h3. properties file
19
20
* *service.properties*
21
22
# *json.url*                - provided by DotNet team
23
# *cosway.key*              - provided by DotNet team
24
# *initialization.vector*   - provided by DotNet team
25
# *aes.key*                 - provided by DotNet team
26
# *service.mode*            - provided by DotNet team
27
# *wsdl.url*                - provided by DotNet team
28
# *json.key*                - provided by DotNet team
29
# *connection.timeout*      - set connection timeout
30
# *connection.read.timeout* - set connection read timeout
31
32
h1. Methods
33
34
h2. Store Pickup Service
35
36
<pre>
37
com.ecosway.cosway.cpsjson.service.StorePickupService service = new com.ecosway.cosway.cpsjson.service.StorePickupService();
38
</pre>
39
40
h3. getOrderByStore
41
42
<pre>
43
com.ecosway.cosway.cpsjson.model.OrderByStoreResultBean resultBean = service.getOrderByStore(String stockistCode)
44
</pre>
45
46
* *com.ecosway.cosway.cpsjson.model.OrderByStoreResultBean*
47
> * *errCode*       - String
48
> * *errMessage*    - String
49
> * *stockistCode*  - String
50
> * *totalRec*      - String
51
> * *orderBeanList* - List<OrderResultBean>
52
>> * *boId*           - String
53
>> * *invDate*        - Date
54
>> * *invNo*          - String