You are here

public function BillingSchedule::setProraterId in Commerce Recurring Framework 8

Sets the prorater plugin ID.

Parameters

string $prorater_id: The prorater plugin ID.

Return value

$this

Overrides BillingScheduleInterface::setProraterId

File

src/Entity/BillingSchedule.php, line 265

Class

BillingSchedule
Defines the billing schedule entity class.

Namespace

Drupal\commerce_recurring\Entity

Code

public function setProraterId($prorater_id) {
  $this->prorater = $prorater_id;
  $this->proraterConfiguration = [];
  $this->proraterPluginCollection = NULL;
  return $this;
}