1 | <?php |
||
17 | class BanklyCard |
||
18 | { |
||
19 | use Rest; |
||
20 | |||
21 | /** |
||
22 | * @param string $clientSecret |
||
23 | * @param string $clientId |
||
24 | */ |
||
25 | public function __construct($clientSecret = null, $clientId = null) |
||
31 | |||
32 | /** |
||
33 | * @param string $proxy |
||
34 | * @param string $page |
||
35 | * @param integer $pageSize |
||
36 | * @param string $startDate |
||
37 | * @param string $endDate |
||
38 | * @return array |
||
39 | */ |
||
40 | public function transactions(string $proxy, string $page, int $pageSize, string $startDate, string $endDate) |
||
51 | |||
52 | /** |
||
53 | * @param string $proxy |
||
54 | * @param Duplicate $duplicate |
||
55 | * @return array |
||
56 | */ |
||
57 | public function duplicate(string $proxy, Duplicate $duplicate) |
||
61 | |||
62 | /** |
||
63 | * @param string $proxy |
||
64 | * @param Password $password |
||
65 | * @return array |
||
66 | */ |
||
67 | public function pciData(string $proxy, Password $password) |
||
71 | |||
72 | /** |
||
73 | * @param string $proxy |
||
74 | * @return array |
||
75 | */ |
||
76 | public function getByProxy(string $proxy) |
||
80 | |||
81 | /** |
||
82 | * @param string $proxy |
||
83 | * @param ChangeStatus $changeStatus |
||
84 | * @return array |
||
85 | */ |
||
86 | public function changeStatus(string $proxy, ChangeStatus $changeStatus) |
||
90 | |||
91 | /** |
||
92 | * @param string $proxy |
||
93 | * @param bool $allow |
||
94 | * @return array |
||
95 | */ |
||
96 | public function allowContactless(string $proxy, bool $allow) |
||
101 | |||
102 | /** |
||
103 | * @param string $proxy |
||
104 | * @return array |
||
105 | */ |
||
106 | public function nextStatus(string $proxy) |
||
110 | |||
111 | /** |
||
112 | * @param string $proxy |
||
113 | * @param Password $password |
||
114 | * @return array |
||
115 | */ |
||
116 | public function changePassword(string $proxy, Password $password) |
||
120 | |||
121 | /** |
||
122 | * @param string $documentNumber |
||
123 | * @return array |
||
124 | */ |
||
125 | public function getByDocument(string $documentNumber) |
||
129 | |||
130 | /** |
||
131 | * @param string $activateCode |
||
132 | * @return array |
||
133 | */ |
||
134 | public function getByActivateCode(string $activateCode) |
||
138 | |||
139 | /** |
||
140 | * @param string $account |
||
141 | * @return array |
||
142 | */ |
||
143 | public function getByAccount(string $account) |
||
147 | |||
148 | /** |
||
149 | * @param Wallet $wallet |
||
150 | * @return array |
||
151 | */ |
||
152 | public function digitalWallet(Wallet $wallet) |
||
161 | } |
||
162 |