Files
kupshop/bundles/KupShop/OrderDiscountBundle/Actions/ActionInterface.php
2025-08-02 16:30:27 +02:00

17 lines
563 B
PHP

<?php
namespace KupShop\OrderDiscountBundle\Actions;
use KupShop\OrderDiscountBundle\Actions\Frontend\HandlerInterface;
use KupShop\OrderDiscountBundle\Entity\OrderDiscount;
use KupShop\OrderingBundle\Entity\Purchase\PurchaseState;
interface ActionInterface
{
public function applyResult(PurchaseState &$purchaseState, OrderDiscount $orderDiscount, array $data);
public function applyMultiple(PurchaseState &$purchaseState, OrderDiscount $orderDiscount, array $data, array $multiplier);
public function getFrontendHandler(): ?HandlerInterface;
}