models/oxpspaymorrowoxuser.php
public function getUserPaymorrowCountry( $sCountryId = '' )
    {
        /** @var oxCountry $oCountry */
        $oCountry = oxNew( 'oxCountry' );

        $oCountry->load( empty( $sCountryId ) ? $this->oxuser__oxcountryid->value : (string) $sCountryId );

        return $oCountry->oxcountry__oxisoalpha2->value;
    }
public function getUserPaymorrowCountry( $sCountryId = '' )
    {
        /** @var oxCountry $oCountry */
        $oCountry = oxNew( 'oxCountry' );

        $oCountry->load( empty( $sCountryId ) ? $this->oxuser__oxcountryid->value : (string) $sCountryId );

        return $oCountry->oxcountry__oxisoalpha2->value;
    }
public function getUserPaymorrowCountry ( $ sCountryId = '' ) { /** @var oxCountry $oCountry */ $ oCountry = oxNew ( 'oxCountry' ) ; $ oCountry -> load ( empty ( $ sCountryId ) ? $ this -> oxuser__oxcountryid -> value : ( string ) $ sCountryId ) ; return $ oCountry -> oxcountry__oxisoalpha2 -> value ; }
Get user billing address country code.

@param string $sCountryId Optional country ID to load. If empty, default user billing country is loaded.

@return string
Get user billing address country code .