You are here

public function Order::setRefreshState in Commerce Core 8.2

Sets the order refresh state.

Parameters

string $refresh_state: The order refresh state.

Return value

$this

Overrides OrderInterface::setRefreshState

1 call to Order::setRefreshState()
Order::preSave in modules/order/src/Entity/Order.php
Acts on an entity before the presave hook is invoked.

File

modules/order/src/Entity/Order.php, line 539

Class

Order
Defines the order entity class.

Namespace

Drupal\commerce_order\Entity

Code

public function setRefreshState($refresh_state) {
  return $this
    ->setData('refresh_state', $refresh_state);
}