public function PaymentOrderUpdaterInterface::needsUpdate in Commerce Core 8.2
Checks whether the given order needs to be updated.
Parameters
\Drupal\commerce_order\Entity\OrderInterface $order: The order.
Return value
bool TRUE if an update was requested, FALSE otherwise.
1 method overrides PaymentOrderUpdaterInterface::needsUpdate()
- PaymentOrderUpdater::needsUpdate in modules/
payment/ src/ PaymentOrderUpdater.php - Checks whether the given order needs to be updated.
File
- modules/
payment/ src/ PaymentOrderUpdaterInterface.php, line 43
Class
- PaymentOrderUpdaterInterface
- Updates orders based on payment information.
Namespace
Drupal\commerce_paymentCode
public function needsUpdate(OrderInterface $order);