public function PaymentExecuteAccess::getPaymentMethod in Payment 8.2
Gets the payment method that should execute the payment.
Return value
\Drupal\payment\Plugin\Payment\Method\PaymentMethodInterface
File
- src/
Event/ PaymentExecuteAccess.php, line 81
Class
- PaymentExecuteAccess
- Provides an event that is dispatched when access is checked for payment execution.
Namespace
Drupal\payment\EventCode
public function getPaymentMethod() {
return $this->paymentMethod;
}