You are here

public function Subscription::setRenewedTime in Commerce Recurring Framework 8

Sets the renewal timestamp.

Parameters

int $timestamp: The renewal timestamp.

Return value

$this

Overrides SubscriptionInterface::setRenewedTime

File

src/Entity/Subscription.php, line 476

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

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