You are here

public function PriceCalculatorResult::getCalculatedPrice in Commerce Core 8.2

Gets the calculated price.

This is the resolved unit price with adjustments applied.

Return value

\Drupal\commerce_price\Price The calculated price.

File

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

Class

PriceCalculatorResult
Represents the result of a price calculation.

Namespace

Drupal\commerce_order

Code

public function getCalculatedPrice() : Price {
  return $this->calculatedPrice;
}