Specification » History » Version 1
Soh Keong, 06/14/2022 05:14 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 | | 1.0 | Init | |
||
11 | |||
12 | h3. Jar File Download |
||
13 | |||
14 | "Jar":/redmine/attachments/download/651/OnlineCoswayServiceClient-1.0.jar |
||
15 | |||
16 | h1. Methods |
||
17 | |||
18 | h2. Message Service |
||
19 | |||
20 | <pre> |
||
21 | com.cosway.soap.client.service.MessageService service = new com.cosway.soap.client.service.MessageService(); |
||
22 | </pre> |
||
23 | |||
24 | h3. requestVerifyCode |
||
25 | |||
26 | <pre> |
||
27 | com.cosway.soap.client.bean.ResultBean resultBean = service.requestVerifyCode(com.cosway.soap.client.bean.AppPinBean bean) |
||
28 | </pre> |
||
29 | |||
30 | * *com.cosway.soap.client.bean.AppPinBean* |
||
31 | > * *shopperId* |
||
32 | > * *AppType* |
||
33 | > * *CreateBy* - com.cosway.soap.client.common.CommonConstant.CREATED_BY_ONLINE |
||
34 | |||
35 | |||
36 | h3. verifyVerifyCode |
||
37 | |||
38 | <pre> |
||
39 | com.cosway.soap.client.bean.ResultBean resultBean = service.verifyVerifyCode(com.cosway.soap.client.bean.AppPinBean bean) |
||
40 | </pre> |
||
41 | |||
42 | * *com.cosway.soap.client.bean.AppPinBean* |
||
43 | > * *shopperId* |
||
44 | > * *AppType* |
||
45 | > * *AppPin* |
||
46 | |||
47 | |||
48 | h3. sendNotification |
||
49 | |||
50 | <pre> |
||
51 | com.cosway.soap.client.bean.ResultBean resultBean = service.sendNotification(com.cosway.soap.client.bean.AppNoticeBean bean) |
||
52 | </pre> |
||
53 | |||
54 | * *com.cosway.soap.client.bean.AppNoticeBean* |
||
55 | > * *shopperId* |
||
56 | > * *AppType* |
||
57 | > * *Params* - String in Json format |
||
58 | |||
59 | * *com.cosway.soap.client.bean.ResultBean* |
||
60 | > * *ErrCode* |
||
61 | > * *ErrMessage* |