/**
  * @param string $name
  * @param string $address
  */
 public function __construct($name, $address)
 {
     $this->id = (string) Identifier::createIdentity();
     $this->products = [];
     $this->setName($name);
     $this->setAddress($address);
 }
 /**
  * @param string    $title
  * @param string    $description
  * @param float     $price
  * @param \DateTime $initDate
  * @param \DateTime $expiryDate
  * @param Merchant  $merchant
  */
 public function __construct($title, $description, $price, \DateTime $initDate, \DateTime $expiryDate, Merchant $merchant)
 {
     $this->id = Identifier::createIdentity();
     $this->setTitle($title);
     $this->setDescription($description);
     $this->setPrice($price);
     $this->setInitDate($initDate);
     $this->setExpiryDate($expiryDate);
     $this->setMerchant($merchant);
 }