You are here

public function OrderItemInterface::getTotalPrice in Commerce Core 8.2

Gets the order item total price.

Return value

\Drupal\commerce_price\Price|null The order item total price, or NULL.

1 method overrides OrderItemInterface::getTotalPrice()
OrderItem::getTotalPrice in modules/order/src/Entity/OrderItem.php
Gets the order item total price.

File

modules/order/src/Entity/OrderItemInterface.php, line 127

Class

OrderItemInterface
Defines the interface for order items.

Namespace

Drupal\commerce_order\Entity

Code

public function getTotalPrice();