public function PaymentOrderProcessor::__construct in Commerce Core 8.2
Constructs a new PaymentOrderProcessor instance.
Parameters
\Drupal\commerce_payment\PaymentOrderUpdaterInterface $payment_order_updater: The order update manager.
File
- modules/
payment/ src/ PaymentOrderProcessor.php, line 26
Class
- PaymentOrderProcessor
- Recalculates the order's total_paid field.
Namespace
Drupal\commerce_paymentCode
public function __construct(PaymentOrderUpdaterInterface $payment_order_updater) {
$this->paymentOrderUpdater = $payment_order_updater;
}