You are here

public function OrderItemTypeInterface::setOrderTypeId in Commerce Core 8.2

Sets the order item type's order type ID.

Parameters

string $order_type_id: The order type ID.

Return value

$this

1 method overrides OrderItemTypeInterface::setOrderTypeId()
OrderItemType::setOrderTypeId in modules/order/src/Entity/OrderItemType.php
Sets the order item type's order type ID.

File

modules/order/src/Entity/OrderItemTypeInterface.php, line 49

Class

OrderItemTypeInterface
Defines the interface for order item types.

Namespace

Drupal\commerce_order\Entity

Code

public function setOrderTypeId($order_type_id);