You are here

public function SubscriptionInterface::setState in Commerce Recurring Framework 8

Sets the subscription state.

Parameters

string $state_id: The new state ID.

Return value

$this

1 method overrides SubscriptionInterface::setState()
Subscription::setState in src/Entity/Subscription.php
Sets the subscription state.

File

src/Entity/SubscriptionInterface.php, line 236

Class

SubscriptionInterface
Defines the interface for subscriptions.

Namespace

Drupal\commerce_recurring\Entity

Code

public function setState($state_id);