You are here

public function Invoice::setStoreId in Commerce Invoice 8.2

Sets the store ID.

Parameters

int $store_id: The store ID.

Return value

$this

Overrides EntityStoreInterface::setStoreId

File

src/Entity/Invoice.php, line 142

Class

Invoice
Defines the invoice entity class.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setStoreId($store_id) {
  $this
    ->set('store_id', $store_id);
  return $this;
}