Major incomplete Change

This commit is contained in:
Omair Saleh
2019-03-04 03:01:20 +08:00
parent c4c20493cd
commit 829394cc1d
58 changed files with 1836 additions and 698 deletions
@@ -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;
}
}