public function setCanAddProductType(\Eccube\Entity\Master\ProductType $ProductType) { if (is_null($this->ProductType)) { $this->ProductType = $ProductType; } return $this; }