first commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user