You are here

public function OrderItemInterface::getUnitPrice in Commerce Core 8.2

Gets the order item unit price.

Return value

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

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

File

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

Class

OrderItemInterface
Defines the interface for order items.

Namespace

Drupal\commerce_order\Entity

Code

public function getUnitPrice();