public function uriBuilder($remoteImage, $remoteFolder, $readType)
    {
        $uri = Product::$baseProductUri . '/barcode/';
        if ($remoteImage != null)
            $uri .= $remoteImage . '/';
        $uri .= 'recognize?';
        if ($readType == 'AllSupportedTypes')
            $uri .= 'type=';
        else
            $uri .= 'type=' . $readType;
        if ($remoteFolder != null && trim($remoteFolder) === '')
            $uri .= '&format=' . $remoteFolder;
        if ($remoteFolder != null && trim($remoteFolder) === '')
            $uri .= '&folder=' . $remoteFolder;
        return $uri;
    }
public function uriBuilder($remoteImage, $remoteFolder, $readType)
    {
        $uri = Product::$baseProductUri . '/barcode/';
        if ($remoteImage != null)
            $uri .= $remoteImage . '/';
        $uri .= 'recognize?';
        if ($readType == 'AllSupportedTypes')
            $uri .= 'type=';
        else
            $uri .= 'type=' . $readType;
        if ($remoteFolder != null && trim($remoteFolder) === '')
            $uri .= '&format=' . $remoteFolder;
        if ($remoteFolder != null && trim($remoteFolder) === '')
            $uri .= '&folder=' . $remoteFolder;
        return $uri;
    }
public function uriBuilder ( $ remoteImage , $ remoteFolder , $ readType ) { $ uri = Product :: $ baseProductUri . '/barcode/' ; if ( $ remoteImage != null ) $ uri .= $ remoteImage . '/' ; $ uri .= 'recognize?' ; if ( $ readType == 'AllSupportedTypes' ) $ uri .= 'type=' ; else $ uri .= 'type=' . $ readType ; if ( $ remoteFolder != null && trim ( $ remoteFolder ) === '' ) $ uri .= '&format=' . $ remoteFolder ; if ( $ remoteFolder != null && trim ( $ remoteFolder ) === '' ) $ uri .= '&folder=' . $ remoteFolder ; return $ uri ; }
Build uri.

@param string $remoteImage Name of the image.
@param string $remoteFolder Name of the folder.
@param string $readType Type to read barcode.

@return string
Build uri .