public function setCommerce(CNabuCommerce $nb_commerce)
    {
        $this->nb_commerce = $nb_commerce;
        $this->transferValue($nb_commerce, NABU_COMMERCE_FIELD_ID);

        return $this;
    }
public function setCommerce(CNabuCommerce $nb_commerce)
    {
        $this->nb_commerce = $nb_commerce;
        $this->transferValue($nb_commerce, NABU_COMMERCE_FIELD_ID);

        return $this;
    }
public function setCommerce ( CNabuCommerce $ nb_commerce ) { $ this -> nb_commerce = $ nb_commerce ; $ this -> transferValue ( $ nb_commerce , NABU_COMMERCE_FIELD_ID ) ; return $ this ; }
Sets the Commerce instance that onws this object.
@param CNabuCommerce $nb_commerce The Commerce instance to be setted.
@return mixed Return $this to grant cascade chain.
Sets the Commerce instance that onws this object .