You are here

interface HasPaymentInstructionsInterface in Commerce Core 8.2

Defines the interface for gateways which show payment instructions.

Payment instructions are usually shown on checkout complete.

Hierarchy

Expanded class hierarchy of HasPaymentInstructionsInterface

All classes that implement HasPaymentInstructionsInterface

1 file declares its use of HasPaymentInstructionsInterface
commerce_payment.module in modules/payment/commerce_payment.module
Provides payment functionality.

File

modules/payment/src/Plugin/Commerce/PaymentGateway/HasPaymentInstructionsInterface.php, line 12

Namespace

Drupal\commerce_payment\Plugin\Commerce\PaymentGateway
View source
interface HasPaymentInstructionsInterface {

  /**
   * Builds the payment instructions.
   *
   * @param \Drupal\commerce_payment\Entity\PaymentInterface $payment
   *   The payment.
   *
   * @return array
   *   A render array containing the payment instructions.
   */
  public function buildPaymentInstructions(PaymentInterface $payment);

}

Members