You are here

interface PaymentAwareInterface in Payment 8.2

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

Hierarchy

Expanded class hierarchy of PaymentAwareInterface

All classes that implement PaymentAwareInterface

8 files declare their use of PaymentAwareInterface
Payment.php in src/Entity/Payment.php
PaymentAwarePluginFilteredPluginManagerTest.php in tests/src/Unit/Plugin/Payment/PaymentAwarePluginFilteredPluginManagerTest.php
PaymentAwarePluginInstance.php in src/Plugin/DataType/PaymentAwarePluginInstance.php
PaymentAwarePluginManagerDecorator.php in src/Plugin/Payment/PaymentAwarePluginManagerDecorator.php
PaymentLineItemInterface.php in src/Plugin/Payment/LineItem/PaymentLineItemInterface.php

... See full list

File

src/PaymentAwareInterface.php, line 14

Namespace

Drupal\payment
View source
interface PaymentAwareInterface {

  /**
   * Sets the payment.
   *
   * @param \Drupal\payment\Entity\PaymentInterface $payment
   *
   * @return $this
   */
  public function setPayment(PaymentInterface $payment);

  /**
   * Gets the payment.
   *
   * @return \Drupal\payment\Entity\PaymentInterface
   */
  public function getPayment();

}

Members

Namesort descending Modifiers Type Description Overrides
PaymentAwareInterface::getPayment public function Gets the payment. 1
PaymentAwareInterface::setPayment public function Sets the payment. 1