ext/bestitamazonpay4oxid_order.php
public function getCountryName($sCountryId)
    {
        /** @var oxCountryList $oCountryList */
        $oCountry = $this->_getContainer()->getObjectFactory()->createOxidObject('oxCountry');

        return ($oCountry->load($sCountryId) === true) ? (string) $oCountry->getFieldData('oxTitle') : '';
    }
public function getCountryName($sCountryId)
    {
        /** @var oxCountryList $oCountryList */
        $oCountry = $this->_getContainer()->getObjectFactory()->createOxidObject('oxCountry');

        return ($oCountry->load($sCountryId) === true) ? (string) $oCountry->getFieldData('oxTitle') : '';
    }
public function getCountryName ( $ sCountryId ) { /** @var oxCountryList $oCountryList */ $ oCountry = $ this -> _getContainer ( ) -> getObjectFactory ( ) -> createOxidObject ( 'oxCountry' ) ; return ( $ oCountry -> load ( $ sCountryId ) === true ) ? ( string ) $ oCountry -> getFieldData ( 'oxTitle' ) : '' ; }
Returns the county name for the current billing address country.

@param string $sCountryId

@return string
@throws oxSystemComponentException
Returns the county name for the current billing address country .