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\EventCode
public function getPayment() {
return $this->payment;
}