interface PaymentAwareInterface in Payment 8.2
Defines an object that can be aware of a payment entity.
Hierarchy
- interface \Drupal\payment\PaymentAwareInterface
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
File
- src/
PaymentAwareInterface.php, line 14
Namespace
Drupal\paymentView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PaymentAwareInterface:: |
public | function | Gets the payment. | 1 |
PaymentAwareInterface:: |
public | function | Sets the payment. | 1 |