You are here

public function Subscription::getStoreId in Commerce Recurring Framework 8

Gets the store ID.

Return value

int The store ID.

Overrides SubscriptionInterface::getStoreId

File

src/Entity/Subscription.php, line 118

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getStoreId() {
  return $this
    ->get('store_id')->target_id;
}