# Class Opencart\Admin\Model\Localisation\StockStatus

`extends` | `Model`

Class StockStatus

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

Located at admin\model\localisation\stock_status.php

Methods
`public` | `addStockStatus(array<string, mixed> $data): ?int` Add Stock Status Add Stock Status | #
`public` | `editStockStatus(int $stock_status_id, array<string, mixed> $data): void` Edit Stock Status Edit Stock Status | #
`public` | `deleteStockStatus(int $stock_status_id): void` Delete Stock Status Delete Stock Status | #
`public` | `deleteStockStatusesByLanguageId(int $language_id): void` Delete Stock Statuses By Language ID Delete Stock Statuses By Language ID | #
`public` | `getStockStatus(int $stock_status_id): array<string, mixed>` Get Stock Status Get Stock Status | #
`public` | `getStockStatuses(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Stock Statuses Get Stock Statuses | #
`public` | `addDescription(int $stock_status_id, int $language_id, array<string, mixed> $data): void` Add Description Add Description | #
`public` | `getDescriptions(int $stock_status_id): array<int, array<string, string>>` 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` | `getTotalStockStatuses(): int` Get Total Stock Statuses Get Total Stock Statuses | #

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