1 | <?php |
||
16 | class FetchAllPlans extends AbstractFetchAllPlans |
||
17 | { |
||
18 | |||
19 | const ALL_PLANS_RELATIVE_LINK = "/plan?merchantId=:m&apiKey=:key"; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $baseUrl; |
||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | protected $apiKeys; |
||
29 | |||
30 | 4 | public function __construct(string $baseUrl, array $apiKeys) |
|
35 | |||
36 | /** |
||
37 | * @return mixed |
||
38 | * @throws \Gbowo\Exception\InvalidHttpResponseException if the response status code is not 200 |
||
39 | */ |
||
40 | 4 | public function handle() |
|
61 | } |
||
62 |