<?php
namespace App\Message;
class ValidateOrder
{
private $orderId;
private $update;
public function __construct(int $orderId, bool $update=false)
{
$this->orderId = $orderId;
$this->update = $update;
}
public function getOrderId(): int
{
return $this->orderId;
}
public function getUpdate(): bool
{
return $this->update;
}
}