mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-31 02:14:33 +00:00
Activate contract
This commit is contained in:
@@ -25,7 +25,9 @@ class OrderStepsObject implements DataTransferObject
|
||||
|
||||
private $completed_date;
|
||||
|
||||
public function __construct(int $order_id, int $appointee_id, string $reference, bool $primary, float $sequence, int $status, int $contract_status, ?string $completed_date, int $id=0)
|
||||
private $hash_id;
|
||||
|
||||
public function __construct(int $order_id, int $appointee_id, string $reference, bool $primary, float $sequence, int $status, int $contract_status, ?string $completed_date, int $id=0, ?string $hash_id)
|
||||
{
|
||||
$this->order_id = $order_id;
|
||||
$this->appointee_id = $appointee_id;
|
||||
@@ -38,6 +40,7 @@ class OrderStepsObject implements DataTransferObject
|
||||
$this->completed_date = $completed_date;
|
||||
|
||||
$this->id = $id;
|
||||
$this->hash_id = $hash_id;
|
||||
}
|
||||
|
||||
public function getOrderId(): int
|
||||
@@ -49,10 +52,12 @@ class OrderStepsObject implements DataTransferObject
|
||||
{
|
||||
return $this->appointee_id;
|
||||
}
|
||||
|
||||
public function getReference(): string
|
||||
{
|
||||
return $this->reference;
|
||||
}
|
||||
|
||||
public function getPrimary(): bool
|
||||
{
|
||||
return $this->primary;
|
||||
@@ -83,4 +88,8 @@ class OrderStepsObject implements DataTransferObject
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
}
|
||||
public function getHashId(): ?string
|
||||
{
|
||||
return $this->hash_id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user