You are here

interface OrderProcessorInterface in Commerce Core 8.2

Defines an interface for order processors.

Order processors modify/handle/rebuild orders during the refresh process.

Hierarchy

Expanded class hierarchy of OrderProcessorInterface

All classes that implement OrderProcessorInterface

5 files declare their use of OrderProcessorInterface
PaymentOrderProcessor.php in modules/payment/src/PaymentOrderProcessor.php
PriceCalculatorPass.php in modules/order/src/DependencyInjection/Compiler/PriceCalculatorPass.php
PromotionOrderProcessor.php in modules/promotion/src/PromotionOrderProcessor.php
TaxOrderProcessor.php in modules/tax/src/TaxOrderProcessor.php
TestAdjustmentProcessor.php in modules/order/tests/modules/commerce_order_test/src/TestAdjustmentProcessor.php

File

modules/order/src/OrderProcessorInterface.php, line 12

Namespace

Drupal\commerce_order
View source
interface OrderProcessorInterface {

  /**
   * Processes an order.
   *
   * @param \Drupal\commerce_order\Entity\OrderInterface $order
   *   The order.
   */
  public function process(OrderInterface $order);

}

Members