You are here

public function SubscriptionInterface::getInitialOrder in Commerce Recurring Framework 8

Gets the initial order.

This is the non-recurring order which started the subscription. Might not be available for manually created subscriptions.

Return value

\Drupal\commerce_order\Entity\OrderInterface|null The initial order, or NULL if not known.

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

File

src/Entity/SubscriptionInterface.php, line 247

Class

SubscriptionInterface
Defines the interface for subscriptions.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getInitialOrder();