Add commercialDescription.

@param \Librinfo\VarietiesBundle\Entity\VarietyDescriptionCommercial $commercialDescription

@return Variety
965698
public function addCommercialDescription(\Librinfo\VarietiesBundle\Entity\VarietyDescriptionCommercial $commercialDescription)
    {
        $this->commercial_descriptions[] = $commercialDescription;

        return $this;
    }
1371700
public function addCartLine(CartLineInterface $cartLine)
    {
        if (!$this->cartLines->contains($cartLine)) {
            $this->cartLines->add($cartLine);
        }

        return $this;
    }
477893
public function setArticleLongDesc($longDescription)
    {
        // setting current value
        $this->_oLongDesc = new \OxidEsales\Eshop\Core\Field($longDescription, \OxidEsales\Eshop\Core\Field::T_RAW);
        $this->oxarticles__oxlongdesc = new \OxidEsales\Eshop\Core\Field($longDescription, \OxidEsales\Eshop\Core\Field::T_RAW);
    }
918905
public function addAlias($alias = null)
    {
        return (new AuthorizationBuilder(TransactionType::ALIAS, $this))
            ->withAlias(AliasAction::ADD, $alias);
    }
588191
public function addDescricaoDemonstrativo($descricaoDemonstrativo)
    {
        if (count($this->getDescricaoDemonstrativo()) > 5) {
            throw new \Exception('Atingido o máximo de 5 demonstrativos.');
        }
        array_push($this->descricaoDemonstrativo, $descricaoDemonstrativo);

        return $this;
    }
837485
public function setDescription($pDescription)
	{
		$this->addMeta('description', array(
			'name'    => 'description',
			'content' => $pDescription
		));

		$this->addMeta('itemprop.description', array(
			'itemprop' => 'description',
			'content'  => $pDescription
		));

		$this->addMeta('og:description', array(
			'property' => 'og:description',
			'content'  => $pDescription
		));

		return $this;
	}
1013789
public static function parse($optionDescription) {
        $short    = null;
        $long     = null;
        $argcount = 0;
        $value    = false;

        $exp = explode('  ', trim($optionDescription), 2);
        $options = $exp[0];
        $description = isset($exp[1]) ? $exp[1] : '';

        $options = str_replace(',', ' ', str_replace('=', ' ', $options));
        foreach (preg_split('/\s+/', $options) as $s) {
            if (strpos($s, '--')===0) {
                $long = $s;
            }
            elseif ($s && $s[0] == '-') {
                $short = $s;
            }
            else {
                $argcount = 1;
            }
        }

        if ($argcount) {
            $value = null;
            if (preg_match('@\[default: (.*)\]@i', $description, $match))
                $value = $match[1];
        }
        return new static($short, $long, $argcount, $value);
    }
785438
public function addDescription($title, $description, $titleAttribs = [], $descAttribs = [])
    {
        $this->addTitle($title, $titleAttribs)
            ->addDesc($description, $descAttribs);

        return $this;
    }
829393
public function description($fieldDesc)
    {
        //====================================================================//
        // Safety Checks ==> Verify a new Field Exists
        if (empty($this->new)) {
            Splash::log()->err("ErrFieldsNoNew");
        } else {
            //====================================================================//
            // Update New Field structure
            $this->new->desc = Splash::trans(trim($fieldDesc));
        }

        return $this;
    }
836336
public function descriptions($description, array $argumentAndOptionDescriptions = [])
    {
        $definition = $this->getDefinition();

        $this->setDescription($description);

        foreach ($argumentAndOptionDescriptions as $name => $value) {
            if (strpos($name, '--') === 0) {
                $name = substr($name, 2);
                $this->setOptionDescription($definition, $name, $value);
            } else {
                $this->setArgumentDescription($definition, $name, $value);
            }
        }

        return $this;
    }
1296890
def set_commercial_property_type(self, commercial_property_type):
        

        if not isinstance(commercial_property_type, CommercialType):
            raise DaftException("commercial_property_type should be an instance of CommercialType.")

        self._commercial_property_type = str(commercial_property_type)
776753
public function addAmateurDescription(\Librinfo\VarietiesBundle\Entity\VarietyDescriptionAmateur $amateurDescription)
    {
        $this->amateur_descriptions[] = $amateurDescription;

        return $this;
    }
853508
public function addBusinessProperty(BusinessProperty $businessProperty)
    {
        //the type of business property (textable, slideable...)
        $type = $businessProperty->getType();

        if (!isset($this->businessProperties[$type])) {
            $this->businessProperties[$type] = [];
        }

        //add the business property indexed by the type
        $this->businessProperties[$type][] = $businessProperty;
    }
871156
public function setIsUpselling(string $is_upselling = "F") : CNabuDataObject
    {
        if ($is_upselling === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$is_upselling")
            );
        }
        $this->setValue('nb_commerce_product_is_upselling', $is_upselling);
        
        return $this;
    }
980779
public function add(SiteCommerceTypeInterface $site_commerce_type) {
    $site_commerce = $this->entityManager()->getStorage('site_commerce')->create(array(
      'type' => $site_commerce_type->id(),
    ));

    $form = $this->entityFormBuilder()->getForm($site_commerce);

    return $form;
  }
1170201
public function removeAmateurDescription(\Librinfo\VarietiesBundle\Entity\VarietyDescriptionAmateur $amateurDescription)
    {
        return $this->amateur_descriptions->removeElement($amateurDescription);
    }
1287280
public function removeCultureDescription(\Librinfo\VarietiesBundle\Entity\VarietyDescriptionCulture $cultureDescription)
    {
        return $this->culture_descriptions->removeElement($cultureDescription);
    }