class CategoryMapper implements PrimaryKeyInterface

Class CategoryMapper

Constants

FILE_LOCATION_DIR

File location directory path

FILE_PATH

File location path

Methods

integer
getId()

Get id

setId(int|string $id)

No description

mixed
getCategory()

No description

setCategory(mixed $category)

No description

array
getErpCategories()

No description

setErpCategories(array $erpCategories)

No description

static bool
saveErpCategoriesToJsonFile(mixed $data)

No description

static mixed
getErpCategoriesJson()

Get ERP categories json file from path

Details

at line 79
integer getId()

Get id

Return Value

integer

at line 89
CategoryMapper setId(int|string $id)

Parameters

int|string $id

Return Value

CategoryMapper

at line 99
mixed getCategory()

Return Value

mixed

at line 109
CategoryMapper setCategory(mixed $category)

Parameters

mixed $category

Return Value

CategoryMapper

at line 119
array getErpCategories()

Return Value

array

at line 129
CategoryMapper setErpCategories(array $erpCategories)

Parameters

array $erpCategories

Return Value

CategoryMapper

at line 141
static bool saveErpCategoriesToJsonFile(mixed $data)

Parameters

mixed $data

Return Value

bool

at line 154
static mixed getErpCategoriesJson()

Get ERP categories json file from path

Return Value

mixed