![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/inventory.corals.io/Corals/modules/Payment/Common/Message/ |
<?php /** * Request Interface */ namespace Corals\Modules\Payment\Common\Message; /** * Request Interface * * This interface class defines the standard functions that any Payment request * interface needs to be able to provide. It is an extension of MessageInterface. * * @see MessageInterface */ interface RequestInterface extends MessageInterface { /** * Initialize request with parameters * @param array $parameters The parameters to send */ public function initialize(array $parameters = array()); /** * Get all request parameters * * @return array */ public function getParameters(); /** * Get the response to this request (if the request has been sent) * * @return ResponseInterface */ public function getResponse(); /** * Send the request * * @return ResponseInterface */ public function send(); /** * Send the request with specified data * * @param mixed $data The data to send * @return ResponseInterface */ public function sendData($data); }