You are here

public function PaymentPreRefund::__construct in Payment 8.2

File

src/Event/PaymentPreRefund.php, line 30

Class

PaymentPreRefund
Provides an event that is dispatched before a payment is refunded.

Namespace

Drupal\payment\Event

Code

public function __construct(PaymentInterface $payment) {
  $this->payment = $payment;
}