public function InvoiceItemInterface::unsetData in Commerce Invoice 8.2
Unsets an invoice item data value with the given key.
Parameters
string $key: The key.
Return value
$this
1 method overrides InvoiceItemInterface::unsetData()
- InvoiceItem::unsetData in src/
Entity/ InvoiceItem.php - Unsets an invoice item data value with the given key.
File
- src/
Entity/ InvoiceItemInterface.php, line 197
Class
- InvoiceItemInterface
- Defines the interface for invoice items.
Namespace
Drupal\commerce_invoice\EntityCode
public function unsetData($key);