You are here

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\Entity

Code

public function setOrders(array $orders);