Plentymarkets interface documentation

DeleteLog

Contracts

DeleteLogRepositoryContract

List delete log entries.

Namespace

Plenty\Modules\DeleteLog\Contracts

Methods
Return type: PaginatedResult

List delete log entries

Parameters

Name

Type

Description

$page

int

$itemsPerPage

int

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.

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.

Models

DeleteLog

The delete log model

Namespace

Plenty\Modules\DeleteLog\Models

Properties
Name Type Description

referenceType

int

The type of the deleted record<ul><li>1 = Category</li><li>2 = Payment</li><li>3 = Order</li><li>4 = Customer</li><li>5 = Item</li><li>6 = Facet of the type Attribute</li><li>7 = Facet of the type Property</li><li>8 = Facet of the type Manufacturer</li><li>9 = Facet of the type Availability</li><li>10 = Unit</li><li>11 = Sales price</li><li>12 = Sales price link to variation</li><li>13 = Item variation</li></ul>13 = Order item</li></ul>

referenceValue

int

The ID of the deleted record

userRealName

string

The real name of the user who deleted the record

updatedAt

string

The date and time that the record was deleted

userId

int

The ID of the user who deleted the record

Methods
public toArray()

Returns this model as an array.