You are here

public function TransactionDataEvent::getPayment in Commerce Braintree 8

Get the payment.

Return value

\Drupal\commerce_payment\Entity\PaymentInterface The payment.

File

src/Event/TransactionDataEvent.php, line 74

Class

TransactionDataEvent
Defines the transaction data event.

Namespace

Drupal\commerce_braintree\Event

Code

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