public function SubscriptionInterface::getCurrentOrder in Commerce Recurring Framework 8
Gets the current draft recurring order.
Return value
\Drupal\commerce_order\Entity\OrderInterface|null The current draft recurring order, or NULL if none found.
1 method overrides SubscriptionInterface::getCurrentOrder()
- Subscription::getCurrentOrder in src/
Entity/ Subscription.php - Gets the current draft recurring order.
File
- src/
Entity/ SubscriptionInterface.php, line 273
Class
- SubscriptionInterface
- Defines the interface for subscriptions.
Namespace
Drupal\commerce_recurring\EntityCode
public function getCurrentOrder();