-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathIClient.php
More file actions
69 lines (46 loc) · 913 Bytes
/
IClient.php
File metadata and controls
69 lines (46 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
interface IClient
{
/**
* Initialize the client with api key and secret
*/
public function initialize($key, $secret);
/**
* Sign in based on $credentials
*/
public function signIn($credentials);
/**
* Sign out
*/
public function signOut();
/**
* Cleanup function.
* Must destroy session.
*/
public function destroy();
//optionals:
/**
*/
public function getCatalogList($options);
/**
*/
public function getCatalog($options);
/**
*/
public function getStoreList($options);
/**
*/
public function getStore($options);
/**
*/
public function getOfferList($options);
/**
*/
public function getOffer($options);
/**
*/
public function getDealerList($options);
/**
*/
public function getDealer($options);
}