You are here

public function Subscription::setScheduledChanges in Commerce Recurring Framework 8

Sets the scheduled changes.

Parameters

\Drupal\commerce_recurring\ScheduledChange[] $scheduled_changes: The scheduled changes.

Return value

$this

Overrides SubscriptionInterface::setScheduledChanges

File

src/Entity/Subscription.php, line 602

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

public function setScheduledChanges(array $scheduled_changes) {
  $this
    ->set('scheduled_changes', $scheduled_changes);
  return $this;
}