Plentymarkets interface documentation

Product

Contracts

ProductStatusRepositoryContract

Get, list, create, update and delete product statuses.

Namespace

Plenty\Modules\Kaufland\Product\Contracts

Methods
public create($data):void

Create product status

Parameters

Name

Type

Description

$data

array

public get($id):void

Get a product status

Parameters

Name

Type

Description

$id

int

public list($page = 1, $perPage = self::ITEMS_PER_PAGE, $filters = []):Plenty\Repositories\Models\PaginatedResult
Return type: PaginatedResult

List product statuses

Parameters

Name

Type

Description

$page

int

$perPage

int

$filters

array

public update($id, $data):void

Update product status

Parameters

Name

Type

Description

$id

int

$data

array

public delete($id):void

Delete product status

Parameters

Name

Type

Description

$id

int

public clearCriteria():void

Resets all Criteria filters by creating a new instance of the builder object.

public applyCriteriaFromFilters():void

Applies criteria classes to the current repository.

public setFilters($filters = []):void

Sets the filter array.

Parameters

Name

Type

Description

$filters

array

public getFilters():void

Returns the filter array.

public getConditions():void

Returns a collection of parsed filters as Condition object

public clearFilters():void

Clears the filter array.