public function PaymentStatusSet::getPayment in Payment 8.2
Gets the payment the status was set on.
Return value
\Drupal\payment\Entity\PaymentInterface
File
- src/
Event/ PaymentStatusSet.php, line 48
Class
- PaymentStatusSet
- Provides an event that is dispatched after a new status is set on a payment.
Namespace
Drupal\payment\EventCode
public function getPayment() {
return $this->payment;
}