Added contract entity, address to Orders

This commit is contained in:
Fairuz
2021-08-03 01:17:54 +08:00
parent fa5d063ea2
commit af38004595
17 changed files with 102 additions and 68 deletions
@@ -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;
}
}