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\EntityCode
public function setNextRenewalTime($timestamp) {
$this
->set('next_renewal', $timestamp);
return $this;
}