You are here

public function BillingSchedule::getPlugin in Commerce Recurring Framework 8

Gets the billing schedule plugin.

Return value

\Drupal\commerce_recurring\Plugin\Commerce\BillingSchedule\BillingScheduleInterface The billing schedule plugin.

Overrides BillingScheduleInterface::getPlugin

File

src/Entity/BillingSchedule.php, line 251

Class

BillingSchedule
Defines the billing schedule entity class.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getPlugin() {
  return $this
    ->getBillingSchedulePluginCollection()
    ->get($this->plugin);
}