mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-22 14:04:21 +00:00
Added contract entity, address to Orders
This commit is contained in:
@@ -18,18 +18,22 @@ class CompanyModuleObject implements DataTransferObject
|
||||
/** @var string */
|
||||
private $unity_hash_id;
|
||||
|
||||
/** @var string */
|
||||
private $unity_signature;
|
||||
|
||||
/**
|
||||
* CompanyObject constructor.
|
||||
* @param int $companyId
|
||||
* @param int|null $type
|
||||
* @param int|null $status
|
||||
*/
|
||||
public function __construct(int $companyId, int $type, int $status, ?string $unity_hash_id)
|
||||
public function __construct(int $companyId, int $type, int $status, ?string $unity_hash_id, ?string $unity_signature)
|
||||
{
|
||||
$this->companyId = $companyId;
|
||||
$this->type = $type;
|
||||
$this->status = $status;
|
||||
$this->unity_hash_id = $unity_hash_id;
|
||||
$this->unity_signature = $unity_signature;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -63,4 +67,12 @@ class CompanyModuleObject implements DataTransferObject
|
||||
{
|
||||
return $this->unity_hash_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUnitySignature(): string
|
||||
{
|
||||
return $this->unity_signature;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user