source/Application/Model/Order.php
protected function _getCountryTitle($sCountryId)
    {
        $sTitle = null;
        if ($sCountryId && $sCountryId != '-1') {
            $oCountry = oxNew(\OxidEsales\Eshop\Application\Model\Country::class);
            $oCountry->loadInLang($this->getOrderLanguage(), $sCountryId);
            $sTitle = $oCountry->oxcountry__oxtitle->value;
        }

        return $sTitle;
    }
protected function _getCountryTitle($sCountryId)
    {
        $sTitle = null;
        if ($sCountryId && $sCountryId != '-1') {
            $oCountry = oxNew(\OxidEsales\Eshop\Application\Model\Country::class);
            $oCountry->loadInLang($this->getOrderLanguage(), $sCountryId);
            $sTitle = $oCountry->oxcountry__oxtitle->value;
        }

        return $sTitle;
    }
protected function _getCountryTitle ( $ sCountryId ) { $ sTitle = null ; if ( $ sCountryId && $ sCountryId != '-1' ) { $ oCountry = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Country :: class ) ; $ oCountry -> loadInLang ( $ this -> getOrderLanguage ( ) , $ sCountryId ) ; $ sTitle = $ oCountry -> oxcountry__oxtitle -> value ; } return $ sTitle ; }
Gets country title by country id.

@param string $sCountryId country ID

@return string
Gets country title by country id .