public function PriceListItemInterface::setPurchasedEntityId in Commerce Pricelist 8
Sets the price list item purchased entity ID.
Parameters
string $purchased_entity_id: The purchased entity ID.
Return value
$this
1 method overrides PriceListItemInterface::setPurchasedEntityId()
- PriceListItem::setPurchasedEntityId in src/
Entity/ PriceListItem.php - Sets the price list item purchased entity ID.
File
- src/
Entity/ PriceListItemInterface.php, line 138
Class
- PriceListItemInterface
- Defines the interface for price list items.
Namespace
Drupal\commerce_pricelist\EntityCode
public function setPurchasedEntityId($purchased_entity_id);