You are here

public function OrderType::setRefreshFrequency in Commerce Core 8.2

Sets the refresh frequency for the order type.

Parameters

int $refresh_frequency: The frequency, in seconds.

Return value

$this

Overrides OrderTypeInterface::setRefreshFrequency

File

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

Class

OrderType
Defines the order type entity class.

Namespace

Drupal\commerce_order\Entity

Code

public function setRefreshFrequency($refresh_frequency) {
  $this->refresh_frequency = $refresh_frequency;
  return $this;
}