You are here

public function ProductBundleType::getOrderItemTypeId in Commerce Product Bundle 8

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

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

Return value

string The order item type ID.

Overrides BundleTypeInterface::getOrderItemTypeId

File

src/Entity/ProductBundleType.php, line 132

Class

ProductBundleType
Defines the product bundle type entity.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function getOrderItemTypeId() {
  return $this->orderItemType;
}