getOrder(); $sCountryId = $oOrder->getFieldData('oxbillcountryid'); /** @var Country $oCountry */ $oCountry = oxNew(Country::class); $oCountry->load($sCountryId); return $oCountry; } }