You are here

public function ProductVariationTypeInterface::getOrderItemTypeId in Commerce Core 8.2

Gets the product variation type's order item type ID.

Used for finding/creating the appropriate order item when purchasing a product (adding it to an order).

Return value

string The order item type ID.

1 method overrides ProductVariationTypeInterface::getOrderItemTypeId()
ProductVariationType::getOrderItemTypeId in modules/product/src/Entity/ProductVariationType.php
Gets the product variation type's order item type ID.

File

modules/product/src/Entity/ProductVariationTypeInterface.php, line 21

Class

ProductVariationTypeInterface
Defines the interface for product variation types.

Namespace

Drupal\commerce_product\Entity

Code

public function getOrderItemTypeId();