| 1 | <?php |
||
| 15 | abstract class AbstractIncomingRequest extends AbstractRequest |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * {@inheritdoc} |
||
| 19 | */ |
||
| 20 | public function initialize(array $parameters = []) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | * @throws \Omnipay\Common\Exception\InvalidRequestException |
||
| 34 | */ |
||
| 35 | public function getData(): array |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | * @throws \Omnipay\Common\Exception\InvalidResponseException |
||
| 45 | */ |
||
| 46 | public function sendData($data): IncomingResponse |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Trả về danh sách parameters từ VTCPay gửi sang. |
||
| 53 | * |
||
| 54 | * @return array |
||
| 55 | */ |
||
| 56 | abstract protected function getIncomingParameters(): array; |
||
| 57 | } |
||
| 58 |