You are here

public function SubscriptionInterface::setInitialOrder in Commerce Recurring Framework 8

Sets the initial order.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $initial_order: The initial order.

Return value

$this

1 method overrides SubscriptionInterface::setInitialOrder()
Subscription::setInitialOrder in src/Entity/Subscription.php
Sets the initial order.

File

src/Entity/SubscriptionInterface.php, line 257

Class

SubscriptionInterface
Defines the interface for subscriptions.

Namespace

Drupal\commerce_recurring\Entity

Code

public function setInitialOrder(OrderInterface $initial_order);