1 | <?php |
||
26 | class ShopClient extends ContentClient |
||
27 | { |
||
28 | /** |
||
29 | * Get Shop |
||
30 | * |
||
31 | * Returns shop of Yandex.Market service matched specified params. |
||
32 | * |
||
33 | * @see https://tech.yandex.ru/market/content-data/doc/dg/reference/shops-host-docpage/ |
||
34 | * |
||
35 | * @param array $params |
||
36 | * |
||
37 | * @return Models\ResponseShopMatchGet |
||
38 | */ |
||
39 | 1 | public function getMatch($params = array()) |
|
49 | |||
50 | /** |
||
51 | * Get shop information |
||
52 | * |
||
53 | * Returns shop of Yandex.Market. |
||
54 | * |
||
55 | * @see https://tech.yandex.ru/market/content-data/doc/dg/reference/shop-id-docpage/ |
||
56 | * |
||
57 | * @param int $shopId |
||
58 | * |
||
59 | * @return Models\Shop |
||
60 | */ |
||
61 | 1 | public function get($shopId) |
|
70 | |||
71 | /** |
||
72 | * Get outlets of shop |
||
73 | * |
||
74 | * Returns outlets of Yandex.Market service shop according to params. |
||
75 | * |
||
76 | * @see https://tech.yandex.ru/market/content-data/doc/dg/reference/shop-id-outlets-docpage/ |
||
77 | * |
||
78 | * @param int $shopId |
||
79 | * @param array $params |
||
80 | * |
||
81 | * @return Models\ResponseShopOutletsGet |
||
82 | */ |
||
83 | 1 | public function getOutlets($shopId, $params = array()) |
|
93 | |||
94 | /** |
||
95 | * Get opinions of shop |
||
96 | * |
||
97 | * Returns opinions list of Yandex.Market service shop. |
||
98 | * |
||
99 | * @see https://tech.yandex.ru/market/content-data/doc/dg/reference/shop-id-opinion-docpage/ |
||
100 | * |
||
101 | * @param int $shopId |
||
102 | * @param array $params |
||
103 | * |
||
104 | * @return Models\ResponseShopOpinionsGet |
||
105 | */ |
||
106 | 1 | public function getOpinions($shopId, $params = array()) |
|
116 | } |
||
117 |