public function PaymentEvent::getPayment in Commerce Core 8.2
Gets the payment.
Return value
\Drupal\commerce_payment\Entity\PaymentInterface The payment.
File
- modules/
payment/ src/ Event/ PaymentEvent.php, line 38
Class
- PaymentEvent
- Defines the payment event.
Namespace
Drupal\commerce_payment\EventCode
public function getPayment() {
return $this->payment;
}