You are here

public function Subscription::getNextRenewalTime in Commerce Recurring Framework 8

Gets the next renewal timestamp.

Return value

int The next renewal timestamp.

Overrides SubscriptionInterface::getNextRenewalTime

1 call to Subscription::getNextRenewalTime()
Subscription::getNextRenewalDate in src/Entity/Subscription.php
Gets the next renewal timestamp as a DrupalDateTime object.

File

src/Entity/Subscription.php, line 424

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getNextRenewalTime() {
  return $this
    ->get('next_renewal')->value;
}