source/Application/Model/PaymentList.php
public function getCountryId($oUser)
    {
        $sCountryId = null;
        if ($oUser) {
            $sCountryId = $oUser->getActiveCountry();
        }

        if (!$sCountryId) {
            $sCountryId = $this->_sHomeCountry;
        }

        return $sCountryId;
    }
public function getCountryId($oUser)
    {
        $sCountryId = null;
        if ($oUser) {
            $sCountryId = $oUser->getActiveCountry();
        }

        if (!$sCountryId) {
            $sCountryId = $this->_sHomeCountry;
        }

        return $sCountryId;
    }
public function getCountryId ( $ oUser ) { $ sCountryId = null ; if ( $ oUser ) { $ sCountryId = $ oUser -> getActiveCountry ( ) ; } if ( ! $ sCountryId ) { $ sCountryId = $ this -> _sHomeCountry ; } return $ sCountryId ; }
Returns user country id for for payment selection

@param \OxidEsales\Eshop\Application\Model\User $oUser oxuser object

@return string
Returns user country id for for payment selection