You are here

public function ProductVariationType::setOrderItemTypeId in Commerce Core 8.2

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

Parameters

string $order_item_type_id: The order item type ID.

Return value

$this

Overrides ProductVariationTypeInterface::setOrderItemTypeId

File

modules/product/src/Entity/ProductVariationType.php, line 87

Class

ProductVariationType
Defines the product variation type entity class.

Namespace

Drupal\commerce_product\Entity

Code

public function setOrderItemTypeId($order_item_type_id) {
  $this->orderItemType = $order_item_type_id;
  return $this;
}