From cae11dd4f60c4f5dea03513ede44488fe562af63 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 5 Dec 2016 22:48:04 +0100 Subject: [PATCH] Draft --- Utils/Barcode/HIBCC.php | 132 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 Utils/Barcode/HIBCC.php diff --git a/Utils/Barcode/HIBCC.php b/Utils/Barcode/HIBCC.php new file mode 100644 index 000000000..4f77f569a --- /dev/null +++ b/Utils/Barcode/HIBCC.php @@ -0,0 +1,132 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ + +namespace phpOMS\Utils\Barcode; + +/** + * Aztec class. + * + * @category Log + * @package Framework + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ +class HIBCC +{ + private $identifier = ''; + private $productId = ''; + private $measureOfUnit = 0; + private $dateFormat = ''; + private $expirationDate = null; + private $productionDate = null; + private $lot = ''; + private $checkValue = 0; + + public function __construct() + { + + } + + public function setIdentifier(string $identifier) /* : void */ + { + $this->identifer = $identifier; + } + + public function getIdentifier() : string + { + return $this->identifer; + } + + public function setProductId(string $id) /* : void */ + { + $this->productId = $id; + } + + public function getProductId() : string + { + return $this->productId; + } + + public function setMeasureOfUnit(int $measure) /* : void */ + { + $this->measureOfUnit = $measure; + } + + public function getMeasureOfUnit() : int + { + return $this->measureOfUnit; + } + + public function setDateFormat(string $format) /* : void */ + { + $this->dateFormat = $format; + } + + public function getDateFormat() : string + { + return $this->dateFormat(); + } + + public function setExpirationDate(\DateTime $date) /* : void */ + { + $this->expirationDate = $date; + } + + public function getExpirationDate() : \Datetime + { + return $this->expirationDate; + } + + public function setPrductionDate(\DateTime $date) /* : void */ + { + $this->productionDate = $date; + } + + public function getProductionDate() : \DateTime + { + return $this->productionDate; + } + + public function setLOT(string $lot) /* : void */ + { + $this->lot = $lot; + } + + public function getLOT() : string + { + return $this->lot; + } + + public function getCheckValue() : int + { + return $this->checkValue; + } + + public function getPrimaryDI() : string + { + return ''; + } + + public function getSecondaryDI() : string + { + return ''; + } + + +}