You are here

public function InvoiceInterface::setData in Commerce Invoice 8.2

Sets an invoice data value with the given key.

Parameters

string $key: The key.

mixed $value: The value.

Return value

$this

1 method overrides InvoiceInterface::setData()
Invoice::setData in src/Entity/Invoice.php
Sets an invoice data value with the given key.

File

src/Entity/InvoiceInterface.php, line 322

Class

InvoiceInterface
Defines the interface for invoices.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setData($key, $value);