phpOMS/Utils/EDI/Edifact/Components/BGM.php

48 lines
941 B
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.1
*
* @category TBD
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
declare(strict_types = 1);
namespace phpOMS\Utils\EDI\Edifact\Components;
/**
* EDI Header
*
* @category Framework
* @package phpOMS\Utils\Converter
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
class BGM
{
private $id = '';
private $date = null;
private $subersion = '06A';
private $un = 'UN';
private $bdewVersion = '2.6d';
public function __construct(string $type, string $version, string $subersion, string $un, string $bdewVersion)
{
$this->type = $type;
$this->version = $version;
$this->subersion = $subersion;
$this->un = $un;
$this->bdewVersion = $bdewVersion;
}
}