You are here

public function Subscription::setNextRenewalTime in Commerce Recurring Framework 8

Sets the next renewal timestamp.

Parameters

int $timestamp: The next renewal timestamp.

Return value

$this

Overrides SubscriptionInterface::setNextRenewalTime

File

src/Entity/Subscription.php, line 431

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

public function setNextRenewalTime($timestamp) {
  $this
    ->set('next_renewal', $timestamp);
  return $this;
}