You are here

public function Charge::getUnitPrice in Commerce Recurring Framework 8

Gets the unit price.

This is the price for a full billing period, and will be prorated on the order item based on the actual billing period ($this->billingPeriod).

Return value

\Drupal\commerce_price\Price The unit price.

File

src/Charge.php, line 131

Class

Charge
Represents a charge.

Namespace

Drupal\commerce_recurring

Code

public function getUnitPrice() {
  return $this->unitPrice;
}