1 | <?php |
||
5 | class Retailer |
||
6 | { |
||
7 | protected $endpoint; |
||
8 | protected $config; |
||
9 | |||
10 | public function __construct() |
||
15 | |||
16 | /** |
||
17 | * Hizmet sağlayıcı markasının altına bayi ekler. |
||
18 | * |
||
19 | * Doc: https://dev.iys.org.tr/api-metotlar/bayi-yonetimi/bayi-ekleme/ |
||
20 | * |
||
21 | * @param array $params |
||
22 | * @return array|mixed |
||
23 | */ |
||
24 | public function create(array $params) |
||
28 | |||
29 | /** |
||
30 | * Hizmet sağlayıcı markasının altındaki tüm bayileri listeler. |
||
31 | * |
||
32 | * Doc: https://dev.iys.org.tr/api-metotlar/bayi-yonetimi/bayi-sorgulama-listeleme/ |
||
33 | * |
||
34 | * @param int|null $offset |
||
35 | * @param int|null $limit |
||
36 | * @return array|mixed |
||
37 | */ |
||
38 | public function all(int $offset = null, int $limit = null) |
||
51 | |||
52 | /** |
||
53 | * İys numarası verilen bayinin bilgilerini getirir. |
||
54 | * |
||
55 | * @param int $retailerCode |
||
56 | * @return array|mixed |
||
57 | */ |
||
58 | public function find(int $retailerCode) |
||
62 | |||
63 | /** |
||
64 | * Hizmet sağlayıcı markasının altındaki bayiyi siler. |
||
65 | * |
||
66 | * Doc: https://dev.iys.org.tr/api-metotlar/bayi-yonetimi/bayi-silme/ |
||
67 | * |
||
68 | * @param int $retailerCode |
||
69 | * @return array|mixed |
||
70 | */ |
||
71 | public function delete(int $retailerCode) |
||
75 | } |
||
76 |
In PHP, under loose comparison (like
==
, or!=
, orswitch
conditions), values of different types might be equal.For
integer
values, zero is a special case, in particular the following results might be unexpected: