public function get(TaxGroupInterface $taxGroup, CountryInterface $country, $business = false)
    {
        $key = $this->buildKey($taxGroup, $country, $business);

        if (isset($this->taxes[$key])) {
            return $this->taxes[$key];
        }

        return null;
    }
public function get(TaxGroupInterface $taxGroup, CountryInterface $country, $business = false)
    {
        $key = $this->buildKey($taxGroup, $country, $business);

        if (isset($this->taxes[$key])) {
            return $this->taxes[$key];
        }

        return null;
    }
public function get ( TaxGroupInterface $ taxGroup , CountryInterface $ country , $ business = false ) { $ key = $ this -> buildKey ( $ taxGroup , $ country , $ business ) ; if ( isset ( $ this -> taxes [ $ key ] ) ) { return $ this -> taxes [ $ key ] ; } return null ; }
Returns the taxes for the given tax group, country and business flag.

@param TaxGroupInterface $taxGroup
@param CountryInterface  $country
@param bool              $business

@return TaxInterface[]|null
Returns the taxes for the given tax group country and business flag .