public function SubscriptionInterface::setOrders in Commerce Recurring Framework 8
Sets the recurring orders.
Parameters
\Drupal\commerce_order\Entity\OrderInterface[] $orders: The recurring orders.
Return value
$this
1 method overrides SubscriptionInterface::setOrders()
- Subscription::setOrders in src/
Entity/ Subscription.php - Sets the recurring orders.
File
- src/
Entity/ SubscriptionInterface.php, line 299
Class
- SubscriptionInterface
- Defines the interface for subscriptions.
Namespace
Drupal\commerce_recurring\EntityCode
public function setOrders(array $orders);