mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 04:24:00 +00:00
Major incomplete Change
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
<?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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user