public function Charge::getPurchasedEntity in Commerce Recurring Framework 8
Gets the purchased entity.
Return value
\Drupal\commerce\PurchasableEntityInterface|null The purchased entity, or NULL if the charge is not backed by one.
File
- src/
Charge.php, line 98
Class
- Charge
- Represents a charge.
Namespace
Drupal\commerce_recurringCode
public function getPurchasedEntity() {
return $this->purchasedEntity;
}