You are here

OrderProcessorInterface.php in Commerce Core 8.2

File

modules/order/src/OrderProcessorInterface.php
View source
<?php

namespace Drupal\commerce_order;

use Drupal\commerce_order\Entity\OrderInterface;

/**
 * Defines an interface for order processors.
 *
 * Order processors modify/handle/rebuild orders during the refresh process.
 */
interface OrderProcessorInterface {

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

}

Interfaces

Namesort descending Description
OrderProcessorInterface Defines an interface for order processors.