You are here

public function BillingScheduleInterface::generateTrialPeriod in Commerce Recurring Framework 8

Generates the trial period.

Parameters

\Drupal\Core\Datetime\DrupalDateTime $start_date: The trial start date/time.

Return value

\Drupal\commerce_recurring\BillingPeriod The trial period.

1 method overrides BillingScheduleInterface::generateTrialPeriod()
IntervalBase::generateTrialPeriod in src/Plugin/Commerce/BillingSchedule/IntervalBase.php
Generates the trial period.

File

src/Plugin/Commerce/BillingSchedule/BillingScheduleInterface.php, line 47

Class

BillingScheduleInterface
Provides the interface for billing schedules.

Namespace

Drupal\commerce_recurring\Plugin\Commerce\BillingSchedule

Code

public function generateTrialPeriod(DrupalDateTime $start_date);