public function Order::setStoreId in Commerce Core 8.2
Sets the store ID.
Parameters
int $store_id: The store ID.
Return value
$this
Overrides EntityStoreInterface::setStoreId
File
- modules/
order/ src/ Entity/ Order.php, line 155
Class
- Order
- Defines the order entity class.
Namespace
Drupal\commerce_order\EntityCode
public function setStoreId($store_id) {
$this
->set('store_id', $store_id);
return $this;
}