mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
8b01421be7
-Update Non Segment Constant Service Class -Create Non Standard Segment Constant Logic Class -Update Non Standard Segment Constant Logic Class -Delete Non Standard Segment Logic Class
86 lines
1.6 KiB
PHP
86 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\SegmentConstants\DataTransferObjects;
|
|
|
|
use App\Classes\Interfaces\DataTransferObject;
|
|
|
|
class SegmentConstantTaxObject implements DataTransferObject
|
|
{
|
|
/** @var int|null */
|
|
private $segment_id;
|
|
|
|
/** @var string|null */
|
|
private $name;
|
|
|
|
/** @var string|null */
|
|
private $reference;
|
|
|
|
/** @var int */
|
|
private $type;
|
|
|
|
/** @var int */
|
|
private $value;
|
|
|
|
/**
|
|
* SegmentConstantObject constructor.
|
|
* @param string|null $segment_id
|
|
* @param string|null $name
|
|
* @param string|null $reference
|
|
* @param string|null $type
|
|
* @param int|null $value
|
|
*/
|
|
public function __construct(
|
|
?int $segment_id,
|
|
?string $name,
|
|
?string $reference,
|
|
?string $type,
|
|
?int $value
|
|
)
|
|
{
|
|
$this->segment_id = $segment_id;
|
|
$this->name = $name;
|
|
$this->reference = $reference;
|
|
$this->type = $type;
|
|
$this->value = $value;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getSegmentId(): ?int
|
|
{
|
|
return $this->segment_id;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName(): ?string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getReference(): ?string
|
|
{
|
|
return $this->reference;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getType(): ?string
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getValue(): ?int
|
|
{
|
|
return $this->value;
|
|
}
|
|
} |