public function PaymentStatusSet::getPreviousPaymentStatus in Payment 8.2
Gets the payment's previous status.
Return value
\Drupal\payment\Plugin\Payment\Status\PaymentStatusInterface|null The previous status, or NULL of there is none.
File
- src/
Event/ PaymentStatusSet.php, line 58
Class
- PaymentStatusSet
- Provides an event that is dispatched after a new status is set on a payment.
Namespace
Drupal\payment\EventCode
public function getPreviousPaymentStatus() {
return $this->previousPaymentStatus;
}