You are here

public function OrderType::setRefreshMode in Commerce Core 8.2

Sets the refresh mode for the order type.

Parameters

string $refresh_mode: The refresh mode.

Return value

$this

Overrides OrderTypeInterface::setRefreshMode

File

modules/order/src/Entity/OrderType.php, line 160

Class

OrderType
Defines the order type entity class.

Namespace

Drupal\commerce_order\Entity

Code

public function setRefreshMode($refresh_mode) {
  $this->refresh_mode = $refresh_mode;
  return $this;
}