Files
kupshop/bundles/KupShop/WarehouseBundle/Event/WarehouseOrderEvent.php
2025-08-02 16:30:27 +02:00

38 lines
710 B
PHP

<?php
namespace KupShop\WarehouseBundle\Event;
use Symfony\Contracts\EventDispatcher\Event;
class WarehouseOrderEvent extends Event
{
public const STORNO_ORDER = 'kupshop.warehouse.storno_order';
protected $returnPosition = 'VRATKY';
/**
* @var \Order
*/
protected $order;
public function getReturnPosition(): string
{
return $this->returnPosition;
}
public function setReturnPosition(string $returnPosition): void
{
$this->returnPosition = $returnPosition;
}
public function getOrder(): \Order
{
return $this->order;
}
public function setOrder(\Order $order): void
{
$this->order = $order;
}
}