Back to Opencart

Class Opencart\Admin\Model\Localisation\TaxRate

docs/api/Opencart.Admin.Model.Localisation.TaxRate.html

4.1.0.36.5 KB
Original Source

Namespaces

Classes

Class Opencart[Admin](http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.html)\[Model](http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.html)\[Localisation](http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Localisation.html)\[TaxRate](http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Localisation.TaxRate.html)

| extends | Model |

Class TaxRate

Located at admin\model\localisation\tax_rate.php

Methods
`
public

			` | `addTaxRate(array<string, mixed> $data): int`

Add Tax Rate

Add Tax Rate

| # | | `

public

			` | `editTaxRate(int $tax_rate_id, array<string, mixed> $data): void`

Edit Tax Rate

Edit Tax Rate

| # | | `

public

			` | `deleteTaxRate(int $tax_rate_id): void`

Delete Tax Rate

Delete Tax Rate

| # | | `

public

			` | `getTaxRate(int $tax_rate_id): array<string, mixed>`

Get Tax Rate

Get Tax Rate

| # | | `

public

			` | `getTaxRates(array<string, mixed> $data = []): array<int, array<string, mixed>>`

Get Tax Rates

Get Tax Rates

| # | | `

public

			` | `getTotalTaxRates(): int`

Get Total Tax Rates

Get Total Tax Rates

| # | | `

public

			` | `getTotalTaxRatesByGeoZoneId(int $geo_zone_id): int`

Get Total Tax Rates By Geo Zone ID

Get Total Tax Rates By Geo Zone ID

| # | | `

public

			` | `addCustomerGroup(int $tax_rate_id, int $customer_group_id): void`

Add Customer Group

Add Customer Group

| # | | `

public

			` | `deleteCustomerGroups(int $tax_rate_id): void`

Delete Customer Groups

Delete Customer Groups

| # | | `

public

			` | `deleteCustomerGroupsByCustomerGroupId(int $customer_group_id): void`

Delete Customer Groups By Customer Group ID

Delete Customer Groups By Customer Group ID

| # | | `

public

			` | `getCustomerGroups(int $tax_rate_id): array<int, int>`

Get Customer Groups

Get Customer Groups

| # |

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