You are here

public function OrderInterface::setData in Commerce Core 8.2

Sets an order data value with the given key.

Parameters

string $key: The key.

mixed $value: The value.

Return value

$this

1 method overrides OrderInterface::setData()
Order::setData in modules/order/src/Entity/Order.php
Sets an order data value with the given key.

File

modules/order/src/Entity/OrderInterface.php, line 371

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function setData($key, $value);