You are here

public function EventDispatcherInterface::preRefundPayment in Payment 8.2

Fires right before a payment will be refunded.

Parameters

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

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

File

src/EventDispatcherInterface.php, line 82

Class

EventDispatcherInterface
Defines a Payment event dispatcher.

Namespace

Drupal\payment

Code

public function preRefundPayment(PaymentInterface $payment);