You are here

public function PaymentTypePreResumeContext::getPayment in Payment 8.2

Gets the payment for which the context will be resumed.

Return value

\Drupal\payment\Entity\PaymentInterface

File

src/Event/PaymentTypePreResumeContext.php, line 38

Class

PaymentTypePreResumeContext
Provides an event that is dispatched before the payment type's original context is resumed.

Namespace

Drupal\payment\Event

Code

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