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
- interface \Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\HasPaymentInstructionsInterface
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\PaymentGatewayView 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
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HasPaymentInstructionsInterface:: |
public | function | Builds the payment instructions. | 1 |