You are here

public function TaxZone::getRates in Commerce Core 8.2

Gets the tax rates.

Return value

\Drupal\commerce_tax\TaxRate[] The tax rates, keyed by ID.

File

modules/tax/src/TaxZone.php, line 126

Class

TaxZone
Represents a tax zone.

Namespace

Drupal\commerce_tax

Code

public function getRates() {
  return $this->rates;
}