You are here

public function PriceCalculatorResult::getBasePrice in Commerce Core 8.2

Gets the base price.

This is the resolved unit price without any adjustments.

Return value

\Drupal\commerce_price\Price The base price.

File

modules/order/src/PriceCalculatorResult.php, line 71

Class

PriceCalculatorResult
Represents the result of a price calculation.

Namespace

Drupal\commerce_order

Code

public function getBasePrice() : Price {
  return $this->basePrice;
}