public function shouldCollectVAT($countryCode)
    {
        $taxKey = 'vat_calculator.rules.'.strtoupper($countryCode);

        return isset($this->taxRules[strtoupper($countryCode)]) || (isset($this->config) && $this->config->has($taxKey));
    }
public function shouldCollectVAT($countryCode)
    {
        $taxKey = 'vat_calculator.rules.'.strtoupper($countryCode);

        return isset($this->taxRules[strtoupper($countryCode)]) || (isset($this->config) && $this->config->has($taxKey));
    }
public function shouldCollectVAT ( $ countryCode ) { $ taxKey = 'vat_calculator.rules.' . strtoupper ( $ countryCode ) ; return isset ( $ this -> taxRules [ strtoupper ( $ countryCode ) ] ) || ( isset ( $ this -> config ) && $ this -> config -> has ( $ taxKey ) ) ; }
Determines if you need to collect VAT for the given country code.

@param $countryCode

@return bool
Determines if you need to collect VAT for the given country code .