You are here

public function TransactionDataEvent::getPayment in Commerce Stripe 8

Get the payment.

Return value

\Drupal\commerce_payment\Entity\PaymentInterface The payment.

File

src/Event/TransactionDataEvent.php, line 105

Class

TransactionDataEvent
Defines the transaction data event.

Namespace

Drupal\commerce_stripe\Event

Code

public function getPayment() {
  return $this->payment;
}