You are here

public function BillingSchedule::setPluginId in Commerce Recurring Framework 8

Sets the billing schedule plugin ID.

Parameters

string $plugin_id: The billing schedule plugin ID.

Return value

$this

Overrides BillingScheduleInterface::setPluginId

1 call to BillingSchedule::setPluginId()
BillingSchedule::set in src/Entity/BillingSchedule.php
Sets the value of a property.

File

src/Entity/BillingSchedule.php, line 225

Class

BillingSchedule
Defines the billing schedule entity class.

Namespace

Drupal\commerce_recurring\Entity

Code

public function setPluginId($plugin_id) {
  $this->plugin = $plugin_id;
  $this->configuration = [];
  $this->billingSchedulePluginCollection = NULL;
  return $this;
}