You are here

public function BillingSchedule::getProrater in Commerce Recurring Framework 8

Gets the prorater plugin.

Return value

\Drupal\commerce_recurring\Plugin\Commerce\Prorater\ProraterInterface The prorater plugin.

Overrides BillingScheduleInterface::getProrater

File

src/Entity/BillingSchedule.php, line 291

Class

BillingSchedule
Defines the billing schedule entity class.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getProrater() {
  return $this
    ->getProraterPluginCollection()
    ->get($this->prorater);
}