You are here

public function PaymentOrderUpdater::requestUpdate in Commerce Core 8.2

Requests an update of the given order.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order: The order.

Overrides PaymentOrderUpdaterInterface::requestUpdate

File

modules/payment/src/PaymentOrderUpdater.php, line 39

Class

PaymentOrderUpdater

Namespace

Drupal\commerce_payment

Code

public function requestUpdate(OrderInterface $order) {
  $this->updateList[$order
    ->id()] = $order
    ->id();
}