public function Unavailable::getPayment in Payment 8.2
Gets the payment this payment method is for.
Return value
\Drupal\payment\Entity\PaymentInterface
Overrides PaymentAwareInterface::getPayment
File
- src/
Plugin/ Payment/ Method/ Unavailable.php, line 100
Class
- Unavailable
- A payment method controller that essentially disables payment methods.
Namespace
Drupal\payment\Plugin\Payment\MethodCode
public function getPayment() {
return $this->payment;
}