public function setIsVirtual(string $is_virtual = "F") : CNabuDataObject
    {
        if ($is_virtual === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$is_virtual")
            );
        }
        $this->setValue('nb_commerce_product_is_virtual', $is_virtual);
        
        return $this;
    }
public function setIsVirtual(string $is_virtual = "F") : CNabuDataObject
    {
        if ($is_virtual === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$is_virtual")
            );
        }
        $this->setValue('nb_commerce_product_is_virtual', $is_virtual);
        
        return $this;
    }
public function setIsVirtual ( string $ is_virtual = "F" ) : CNabuDataObject { if ( $ is_virtual === null ) { throw new ENabuCoreException ( ENabuCoreException :: ERROR_NULL_VALUE_NOT_ALLOWED_IN , array ( "\$is_virtual" ) ) ; } $ this -> setValue ( 'nb_commerce_product_is_virtual' , $ is_virtual ) ; return $ this ; }
Sets the Commerce Product Is Virtual attribute value.
@param string $is_virtual New value for attribute
@return CNabuDataObject Returns self instance to grant chained setters call.
Sets the Commerce Product Is Virtual attribute value .