You are here

public function Subscription::getScheduledChanges in Commerce Recurring Framework 8

Gets the scheduled changes.

Return value

\Drupal\commerce_recurring\ScheduledChange[] The scheduled changes.

Overrides SubscriptionInterface::getScheduledChanges

3 calls to Subscription::getScheduledChanges()
Subscription::applyScheduledChanges in src/Entity/Subscription.php
Apply the scheduled changes.
Subscription::hasScheduledChange in src/Entity/Subscription.php
Determines if a scheduled change for the given field exists.
Subscription::removeScheduledChanges in src/Entity/Subscription.php
Removes the scheduled changes.

File

src/Entity/Subscription.php, line 595

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getScheduledChanges() {
  return $this
    ->get('scheduled_changes')
    ->getScheduledChanges();
}