![]() 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 /** * Response interface */ namespace Corals\Modules\Payment\Common\Message; /** * Response Interface * * This interface class defines the standard functions that any Payment response * interface needs to be able to provide. It is an extension of MessageInterface. * * @see MessageInterface */ interface ResponseInterface extends MessageInterface { /** * Get the original request which generated this response * * @return RequestInterface */ public function getRequest(); /** * Is the response successful? * * @return boolean */ public function isSuccessful(); /** * Does the response require a redirect? * * @return boolean */ public function isRedirect(); /** * Is the transaction cancelled by the user? * * @return boolean */ public function isCancelled(); /** * Response Message * * @return null|string A response message from the payment gateway */ public function getMessage(); /** * Response code * * @return null|string A response code from the payment gateway */ public function getCode(); /** * Gateway Reference * * @return null|string A reference provided by the gateway to represent this transaction */ public function getTransactionReference(); }