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