public function PaymentPreExecute::getPayment in Payment 8.2
Gets the payment that will be executed
Return value
\Drupal\payment\Entity\PaymentInterface
File
- src/
Event/ PaymentPreExecute.php, line 39
Class
- PaymentPreExecute
- Provides an event that is dispatched before a payment is executed.
Namespace
Drupal\payment\EventCode
public function getPayment() {
return $this->payment;
}