You are here

public function TransactionDataEvent::__construct in Commerce Stripe 8

Constructs a new TransactionDataEvent object.

Parameters

\Drupal\commerce_payment\Entity\PaymentInterface $payment: The payment.

File

src/Event/TransactionDataEvent.php, line 45

Class

TransactionDataEvent
Defines the transaction data event.

Namespace

Drupal\commerce_stripe\Event

Code

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