mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-29 17:33:58 +00:00
Major incomplete Change
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Orders\DataTransferObjects;
|
||||
|
||||
|
||||
class PackageObject
|
||||
{
|
||||
|
||||
/** @var string */
|
||||
private $description;
|
||||
|
||||
/** @var integer */
|
||||
private $quantity;
|
||||
|
||||
/** @var integer */
|
||||
private $width;
|
||||
|
||||
/** @var integer */
|
||||
private $height;
|
||||
|
||||
/** @var integer */
|
||||
private $length;
|
||||
|
||||
/**
|
||||
* PackageObject constructor.
|
||||
* @param string $description
|
||||
* @param int $quantity
|
||||
* @param int $width
|
||||
* @param int $height
|
||||
* @param int $length
|
||||
*/
|
||||
public function __construct(string $description, int $quantity, int $width, int $height, int $length)
|
||||
{
|
||||
$this->description = $description;
|
||||
$this->quantity = $quantity;
|
||||
$this->width = $width;
|
||||
$this->height = $height;
|
||||
$this->length = $length;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription(): string
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getQuantity(): int
|
||||
{
|
||||
return $this->quantity;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getWidth(): int
|
||||
{
|
||||
return $this->width;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getHeight(): int
|
||||
{
|
||||
return $this->height;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getLength(): int
|
||||
{
|
||||
return $this->length;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user