You are here

interface ResponseInterface in Payment 8.2

Defines a payment response.

Hierarchy

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

... See full list

File

src/Response/ResponseInterface.php, line 8

Namespace

Drupal\payment\Response
View 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

Namesort descending Modifiers Type Description Overrides
ResponseInterface::getRedirectUrl public function Gets the URL the calling code may redirect to after payment execution. 1
ResponseInterface::getResponse public function Gets the response the calling code must return after payment execution. 1