| Total Complexity | 2 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class PaymentPage extends ApiResource |
||
| 6 | { |
||
| 7 | const OBJECT_NAME = 'page'; |
||
| 8 | |||
| 9 | use ApiOperations\All; |
||
| 10 | use ApiOperations\Create; |
||
| 11 | use ApiOperations\Fetch; |
||
| 12 | use ApiOperations\Update; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param string $slug details at |
||
| 16 | * |
||
| 17 | * @link https://paystack.com/docs/api/#page-check-slug |
||
| 18 | * |
||
| 19 | * @return array|object |
||
| 20 | */ |
||
| 21 | public static function checkSlugAvailability($slug) |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $page_id |
||
| 31 | * @param array $params details at |
||
| 32 | * |
||
| 33 | * @link https://paystack.com/docs/api/#page-add-products |
||
| 34 | * |
||
| 35 | * @return array|object |
||
| 36 | */ |
||
| 37 | public static function addProducts($page_id, $params) |
||
| 45 |