| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class MarkPriceKline extends PublicEndpoint |
||
| 11 | { |
||
| 12 | public function getEndpointRequestMethod(): string |
||
| 13 | { |
||
| 14 | return EnumHttpMethods::GET; |
||
| 15 | } |
||
| 16 | |||
| 17 | protected function getEndpointUrl(): string |
||
| 18 | { |
||
| 19 | return "/derivatives/v3/public/mark-price-kline"; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getRequestClassname(): string |
||
| 23 | { |
||
| 24 | return MarkPriceKlineRequest::class; |
||
| 25 | } |
||
| 26 | |||
| 27 | protected function getResponseClassnameByCondition(array &$apiData = null): string |
||
| 30 | } |
||
| 31 | } |
||
| 32 |