This commit is contained in:
Dennis Eichhorn 2017-10-30 10:59:34 +01:00
parent f9296042ae
commit 0cfe1e3a7d

View File

@ -26,6 +26,8 @@ namespace phpOMS\Utils\EDI\Edifact\Components;
*/ */
class UNH class UNH
{ {
private $ref = '';
private $type = ''; private $type = '';
private $version = 'D'; private $version = 'D';
@ -36,8 +38,9 @@ class UNH
private $bdewVersion = '2.6d'; private $bdewVersion = '2.6d';
public function __construct(string $type, string $version, string $subersion, string $un, string $bdewVersion) public function __construct(string $ref, string $type, string $version, string $subersion, string $un, string $bdewVersion)
{ {
$this->ref = $ref;
$this->type = $type; $this->type = $type;
$this->version = $version; $this->version = $version;
$this->subersion = $subersion; $this->subersion = $subersion;