OrderProcessorInterface.php in Commerce Core 8.2
Namespace
Drupal\commerce_orderFile
modules/order/src/OrderProcessorInterface.phpView 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
Name | Description |
---|---|
OrderProcessorInterface | Defines an interface for order processors. |