private function getCountryCode()
    {
        $posted = $this->appRequest->getPostValue();
        if (isset($posted['customer'][ABlock::TMPL_FLDGRP][ABlock::TMPL_FIELD_COUNTRY_CODE])) {
            $result = $posted['customer'][ABlock::TMPL_FLDGRP][ABlock::TMPL_FIELD_COUNTRY_CODE];
        } else {
            $result = $this->hlpRegistry->getCustomerCountry();
        }
        return $result;
    }
private function getCountryCode()
    {
        $posted = $this->appRequest->getPostValue();
        if (isset($posted['customer'][ABlock::TMPL_FLDGRP][ABlock::TMPL_FIELD_COUNTRY_CODE])) {
            $result = $posted['customer'][ABlock::TMPL_FLDGRP][ABlock::TMPL_FIELD_COUNTRY_CODE];
        } else {
            $result = $this->hlpRegistry->getCustomerCountry();
        }
        return $result;
    }
private function getCountryCode ( ) { $ posted = $ this -> appRequest -> getPostValue ( ) ; if ( isset ( $ posted [ 'customer' ] [ ABlock :: TMPL_FLDGRP ] [ ABlock :: TMPL_FIELD_COUNTRY_CODE ] ) ) { $ result = $ posted [ 'customer' ] [ ABlock :: TMPL_FLDGRP ] [ ABlock :: TMPL_FIELD_COUNTRY_CODE ] ; } else { $ result = $ this -> hlpRegistry -> getCustomerCountry ( ) ; } return $ result ; }
Extract code for customer's registration country from posted data.

@return string
Extract code for customer s registration country from posted data .