source/Application/Model/OrderFile.php
public function getFileSize()
    {
        $oFile = oxNew(\OxidEsales\Eshop\Application\Model\File::class);
        $oFile->load($this->oxorderfiles__oxfileid->value);

        return $oFile->getSize();
    }
public function getFileSize()
    {
        $oFile = oxNew(\OxidEsales\Eshop\Application\Model\File::class);
        $oFile->load($this->oxorderfiles__oxfileid->value);

        return $oFile->getSize();
    }
public function getFileSize ( ) { $ oFile = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ File :: class ) ; $ oFile -> load ( $ this -> oxorderfiles__oxfileid -> value ) ; return $ oFile -> getSize ( ) ; }
Returns downloadable file size in bytes.

@return int
Returns downloadable file size in bytes .