# Class Opencart\Admin\Model\Localisation\WeightClass

`extends` | `Model`

Class WeightClass

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

Located at admin\model\localisation\weight_class.php

Methods
`public` | `addWeightClass(array<string, mixed> $data): int` Add Weight Class Add Weight Class | #
`public` | `editWeightClass(int $weight_class_id, array<string, mixed> $data): void` Edit Weight Class Edit Weight Class | #
`public` | `deleteWeightClass(int $weight_class_id): void` Delete Weight Class Delete Weight Class | #
`public` | `getWeightClasses(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Weight Classes Get Weight Classes | #
`public` | `getWeightClass(int $weight_class_id): array<string, mixed>` Get Weight Class Get Weight Class | #
`public` | `getTotalWeightClasses(): int` Get Total Weight Classes Get Total Weight Classes | #
`public` | `addDescription(int $weight_class_id, int $language_id, array<string, mixed> $data): void` Add Description Add Description | #
`public` | `deleteDescriptions(int $weight_class_id): void` Delete Description Delete Description | #
`public` | `deleteDescriptionsByLanguageId(int $language_id): void` Delete Descriptions By Language ID Delete Descriptions By Language ID | #
`public` | `getDescriptions(int $weight_class_id): array<int, array<string, mixed>>` Get Descriptions Get Descriptions | #
`public` | `getDescriptionsByLanguageId(int $language_id): array<int, array<string, string>>` Get Descriptions By Language ID Get Descriptions By Language ID | #
`public` | `getDescriptionsByUnit(string $unit): array<string, mixed>` Get Descriptions By Unit Get Descriptions By Unit | #

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