You are here

public function PriceListItemType::setPriceListTypeId in Commerce Pricelist 8

Sets the price list item type's price list type ID.

Parameters

string $price_list_type_id: The price list type ID.

Return value

$this

Overrides PriceListItemTypeInterface::setPriceListTypeId

File

src/Entity/PriceListItemType.php, line 103

Class

PriceListItemType
Defines the price list item type entity class.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function setPriceListTypeId($price_list_type_id) {
  $this->priceListType = $price_list_type_id;
  return $this;
}