public function OrderInterface::setVersion in Commerce Core 8.2
Sets the order version identifier.
Parameters
int $version: Version identifier of the order.
Return value
$this
1 method overrides OrderInterface::setVersion()
- Order::setVersion in modules/
order/ src/ Entity/ Order.php - Sets the order version identifier.
File
- modules/
order/ src/ Entity/ OrderInterface.php, line 57
Class
- OrderInterface
- Defines the interface for orders.
Namespace
Drupal\commerce_order\EntityCode
public function setVersion($version);