You are here

public function OrderItemTypeInterface::setPurchasableEntityTypeId in Commerce Core 8.2

Sets the order item type's purchasable entity type ID.

Parameters

string $purchasable_entity_type_id: The purchasable entity type.

Return value

$this

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

File

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

Class

OrderItemTypeInterface
Defines the interface for order item types.

Namespace

Drupal\commerce_order\Entity

Code

public function setPurchasableEntityTypeId($purchasable_entity_type_id);