mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-27 08:23:58 +00:00
large commit
This commit is contained in:
@@ -7,43 +7,56 @@ class OrderObject
|
||||
{
|
||||
|
||||
/** @var string */
|
||||
private $orderId;
|
||||
private $marking;
|
||||
|
||||
/** @var int|null */
|
||||
/** @var int */
|
||||
private $companyId;
|
||||
|
||||
/** @var int */
|
||||
private $forwarderId;
|
||||
|
||||
/** @var int|null */
|
||||
private $warehouseId;
|
||||
|
||||
/**
|
||||
* OrderObject constructor.
|
||||
* @param string $orderId
|
||||
* @param int|null $companyId
|
||||
* @param string $marking
|
||||
* @param int $companyId
|
||||
* @param int $forwarderId
|
||||
* @param int|null $warehouseId
|
||||
*/
|
||||
public function __construct(string $orderId, ?int $companyId = null, ?int $warehouseId = null)
|
||||
public function __construct(string $marking, int $companyId, int $forwarderId, ?int $warehouseId = null)
|
||||
{
|
||||
$this->orderId = $orderId;
|
||||
$this->marking = $marking;
|
||||
$this->companyId = $companyId;
|
||||
$this->forwarderId = $forwarderId;
|
||||
$this->warehouseId = $warehouseId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getOrderId(): string
|
||||
public function getMarking(): string
|
||||
{
|
||||
return $this->orderId;
|
||||
return $this->marking;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int|null
|
||||
* @return int
|
||||
*/
|
||||
public function getCompanyId(): ?int
|
||||
public function getCompanyId(): int
|
||||
{
|
||||
return $this->companyId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getForwarderId(): int
|
||||
{
|
||||
return $this->forwarderId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int|null
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user