mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +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
100 lines
1.8 KiB
PHP
100 lines
1.8 KiB
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\SegmentConstants\DataTransferObjects;
|
|
|
|
use App\Classes\Interfaces\DataTransferObject;
|
|
|
|
class SegmentConstantBookingAmountMaxObject 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;
|
|
|
|
/** @var int */
|
|
private $currency_id;
|
|
|
|
/**
|
|
* SegmentConstantObject constructor.
|
|
* @param string|null $segment_id
|
|
* @param string|null $name
|
|
* @param string|null $reference
|
|
* @param string|null $type
|
|
* @param int|null $value
|
|
* @param int|null $currency_id
|
|
*/
|
|
public function __construct(
|
|
?int $segment_id,
|
|
?string $name,
|
|
?string $reference,
|
|
?string $type,
|
|
?int $value,
|
|
?int $currency_id
|
|
)
|
|
{
|
|
$this->segment_id = $segment_id;
|
|
$this->name = $name;
|
|
$this->reference = $reference;
|
|
$this->type = $type;
|
|
$this->value = $value;
|
|
$this->currency_id = $currency_id;
|
|
}
|
|
|
|
/**
|
|
* @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;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCurrencyId(): ?int
|
|
{
|
|
return $this->currency_id;
|
|
}
|
|
} |