| 1 | <?php |
||
| 11 | class FetchAllPlans extends AbstractFetchAllPlans |
||
| 12 | { |
||
| 13 | const ALL_PLANS_RELATIVE_LINK = "/plan?merchantId=:m&apiKey=:key"; |
||
| 14 | |||
| 15 | protected $baseUrl; |
||
| 16 | |||
| 17 | protected $apiKeys; |
||
| 18 | |||
| 19 | 4 | public function __construct(string $baseUrl, array $apiKeys) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @return mixed |
||
| 27 | * @throws \Gbowo\Exception\InvalidHttpResponseException if the response status code is not 200 |
||
| 28 | */ |
||
| 29 | 4 | public function handle() |
|
| 49 | } |
||
| 50 |