interface ResponseInterface in Payment 8.2
Defines a payment response.
Hierarchy
- interface \Drupal\payment\Response\ResponseInterface
Expanded class hierarchy of ResponseInterface
All classes that implement ResponseInterface
9 files declare their use of ResponseInterface
- CompletePaymentTest.php in tests/
src/ Unit/ Controller/ CompletePaymentTest.php - OperationResult.php in src/
OperationResult.php - OperationResultTest.php in tests/
src/ Unit/ OperationResultTest.php - PaymentCaptureFormTest.php in tests/
src/ Unit/ Entity/ Payment/ PaymentCaptureFormTest.php - PaymentFormTest.php in modules/
payment_form/ tests/ src/ Unit/ Entity/ Payment/ PaymentFormTest.php
File
- src/
Response/ ResponseInterface.php, line 8
Namespace
Drupal\payment\ResponseView source
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();
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ResponseInterface:: |
public | function | Gets the URL the calling code may redirect to after payment execution. | 1 |
ResponseInterface:: |
public | function | Gets the response the calling code must return after payment execution. | 1 |