Model/PaymentValidator.php
protected function getShippingCountryId()
    {
        $user = $this->getUser();
        if ($user->getSelectedAddressId()) {
            $countryId = $user->getSelectedAddress()->oxaddress__oxcountryid->value;
        } else {
            $countryId = $user->oxuser__oxcountryid->value;
        }

        return $countryId;
    }
protected function getShippingCountryId()
    {
        $user = $this->getUser();
        if ($user->getSelectedAddressId()) {
            $countryId = $user->getSelectedAddress()->oxaddress__oxcountryid->value;
        } else {
            $countryId = $user->oxuser__oxcountryid->value;
        }

        return $countryId;
    }
protected function getShippingCountryId ( ) { $ user = $ this -> getUser ( ) ; if ( $ user -> getSelectedAddressId ( ) ) { $ countryId = $ user -> getSelectedAddress ( ) -> oxaddress__oxcountryid -> value ; } else { $ countryId = $ user -> oxuser__oxcountryid -> value ; } return $ countryId ; }
Returns shipping country ID.

@return string
Returns shipping country ID .