You are here

public function SubscriptionInterface::addOrder in Commerce Recurring Framework 8

Adds a recurring order.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order: The recurring order.

Return value

$this

1 method overrides SubscriptionInterface::addOrder()
Subscription::addOrder in src/Entity/Subscription.php
Adds a recurring order.

File

src/Entity/SubscriptionInterface.php, line 309

Class

SubscriptionInterface
Defines the interface for subscriptions.

Namespace

Drupal\commerce_recurring\Entity

Code

public function addOrder(OrderInterface $order);