# Class Opencart\Admin\Model\Localisation\TaxClass

`extends` | `Model`

Class TaxClass

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Localisation\TaxClass

Located at admin\model\localisation\tax_class.php

Methods
`public` | `addTaxClass(array<string, mixed> $data): int` Add Tax Class Add Tax Class | #
`public` | `editTaxClass(int $tax_class_id, array<string, mixed> $data): void` Edit Tax Class Edit Tax Class | #
`public` | `deleteTaxClass(int $tax_class_id): void` Delete Tax Class Delete Tax Class | #
`public` | `getTaxClass(int $tax_class_id): array<string, mixed>` Get Tax Class Get Tax Class | #
`public` | `getTaxClasses(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Tax Classes Get Tax Classes | #
`public` | `getTotalTaxClasses(): int` Get Total Tax Classes Get Total Tax Classes | #
`public` | `addTaxRule(int $tax_class_id, array<string, mixed> $data): void` Add Tax Rule Add Tax Rule | #
`public` | `deleteTaxRules(int $tax_class_id): void` Delete Tax Rules Delete Tax Rules | #
`public` | `getTaxRules(int $tax_class_id): array<int, array<string, mixed>>` Get Tax Rules Get Tax Rules | #
`public` | `getTotalTaxRulesByTaxRateId(int $tax_rate_id): int` Get Total Tax Rules By Tax Rate ID Get Total Tax Rules By Tax Rate ID | #

Methods inherited from Opencart\System\Engine\Model
`__construct(), __get(), __set(), __isset()`

Properties inherited from Opencart\System\Engine\Model
`$registry`

OpenCart API API documentation generated by ApiGen dev-master