id; } /** * Set name. * * @param string $name * * @return Region */ public function setName($name) { $this->name = $name; return $this; } /** * Get name. * * @return string */ public function getName() { return $this->name; } /** * Constructor. */ public function __construct() { $this->regions = new \Doctrine\Common\Collections\ArrayCollection(); } /** * Add region. * * @return Region */ public function addRegion(Price $region) { $this->regions[] = $region; return $this; } /** * Remove region. */ public function removeRegion(Price $region) { $this->regions->removeElement($region); } /** * Get regions. * * @return \Doctrine\Common\Collections\Collection */ public function getRegions() { return $this->regions; } /** * Add regionCountry. * * @return Region */ public function addRegionCountry(RegionCountry $regionCountry) { $this->regionCountry[] = $regionCountry; return $this; } /** * Remove regionCountry. */ public function removeRegionCountry(RegionCountry $regionCountry) { $this->regionCountry->removeElement($regionCountry); } /** * Get regionCountry. * * @return \Doctrine\Common\Collections\Collection */ public function getRegionCountry() { return $this->regionCountry; } /** * Set priceList. * * @return Region */ public function setPriceList(?PriceList $priceList = null) { $this->priceList = $priceList; return $this; } /** * Get priceList. * * @return \KupShop\DeliveryPriceListBundle\Entity\PriceList */ public function getPriceList() { return $this->priceList; } }