ResponseInterface.php in Payment 8.2
Namespace
Drupal\payment\ResponseFile
src/Response/ResponseInterface.phpView source
<?php
namespace Drupal\payment\Response;
/**
* Defines a payment response.
*/
interface ResponseInterface {
/**
* Gets the URL the calling code may redirect to after payment execution.
*
* @return \Drupal\Core\Url
*/
public function getRedirectUrl();
/**
* Gets the response the calling code must return after payment execution.
*
* @return \Symfony\Component\HttpFoundation\Response
*/
public function getResponse();
}
Interfaces
Name![]() |
Description |
---|---|
ResponseInterface | Defines a payment response. |