mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 04:24:00 +00:00
56 lines
986 B
PHP
56 lines
986 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Orders\DataTransferObjects;
|
|
|
|
|
|
class StepObject
|
|
{
|
|
|
|
/** @var string */
|
|
protected $referenceId;
|
|
|
|
/** @var bool */
|
|
protected $isPrimary;
|
|
|
|
/** @var float */
|
|
protected $sequence;
|
|
|
|
/**
|
|
* StepObject constructor.
|
|
* @param string $referenceId
|
|
* @param bool $isPrimary
|
|
* @param float $sequence
|
|
*/
|
|
public function __construct(string $referenceId, bool $isPrimary = false, float $sequence = 0)
|
|
{
|
|
$this->referenceId = $referenceId;
|
|
$this->isPrimary = $isPrimary;
|
|
$this->sequence = $sequence;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getReferenceId(): string
|
|
{
|
|
return $this->referenceId;
|
|
}
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function isPrimary(): bool
|
|
{
|
|
return $this->isPrimary;
|
|
}
|
|
|
|
/**
|
|
* @return float
|
|
*/
|
|
public function getSequence(): float
|
|
{
|
|
return $this->sequence;
|
|
}
|
|
|
|
|
|
} |