You are here

public function OrderInterface::getRefreshState in Commerce Core 8.2

Gets the order refresh state.

Return value

string|null The refresh state, if set. One of the following order constants: REFRESH_ON_LOAD: The order should be refreshed when it is next loaded. REFRESH_ON_SAVE: The order should be refreshed before it is saved. REFRESH_SKIP: The order should not be refreshed for now.

1 method overrides OrderInterface::getRefreshState()
Order::getRefreshState in modules/order/src/Entity/Order.php
Gets the order refresh state.

File

modules/order/src/Entity/OrderInterface.php, line 334

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function getRefreshState();