You are here

public function PaymentAwareInterface::setPayment in Payment 8.2

Sets the payment.

Parameters

\Drupal\payment\Entity\PaymentInterface $payment:

Return value

$this

1 method overrides PaymentAwareInterface::setPayment()
Unavailable::setPayment in src/Plugin/Payment/Method/Unavailable.php
Gets the payment this payment method is for.

File

src/PaymentAwareInterface.php, line 23

Class

PaymentAwareInterface
Defines an object that can be aware of a payment entity.

Namespace

Drupal\payment

Code

public function setPayment(PaymentInterface $payment);