You are here

public function EventDispatcherInterface::preCapturePayment in Payment 8.2

Fires right before a payment will be captured.

Parameters

\Drupal\payment\Entity\PaymentInterface $payment: The payment that will be captured.

2 methods override EventDispatcherInterface::preCapturePayment()
EventDispatcherCollection::preCapturePayment in src/EventDispatcherCollection.php
Fires right before a payment will be captured.
SymfonyEventDispatcher::preCapturePayment in src/SymfonyEventDispatcher.php
Fires right before a payment will be captured.

File

src/EventDispatcherInterface.php, line 74

Class

EventDispatcherInterface
Defines a Payment event dispatcher.

Namespace

Drupal\payment

Code

public function preCapturePayment(PaymentInterface $payment);