QuickEditServiceInterface

Extends

Interface QuickEditServiceInterface

category

System

package

QuickEdit

subpackage

Interfaces

Methods

Returns filtered product properties based on the provided filter criteria.

getFilteredProductProperties(array $productIds, array $filterParameters) : array

Arguments

$productIds

array

Array containing the selected product IDs to be processed.

$filterParameters

array

Contains the filter parameters.

Response

array

Returns the query result as a pure array, or an empty array when no result is produced.

Returns products that are subject to the specified filter criteria.

getFilteredProductPropertiesCount(array $productIds, array $filterParameters) : integer

Arguments

$productIds

array

Array containing the selected product IDs to be processed.

$filterParameters

array

Contains the filter parameters.

Response

integer

Returns the number of product properties found.

Returns the special prices of the indicated products.

getFilteredSpecialPrices(array $productIds, array $filterParameters) : array

Arguments

$productIds

array

Array containing the product IDs to be processed.

$filterParameters

array

Contains filter parameters.

Response

array

Returns the query result as a pure array, or an empty array when no result is produced.

Returns the record number of the filtered special prices.

getFilteredSpecialPricesCount(array $productIds, array $filterParameters) : integer

Arguments

$productIds

array

Array containing the product IDs to be processed.

$filterParameters

array

Contains filter parameters.

Response

integer

Returns the number of special prices found.

Returns the graduated prices of a product or an empty array nothing was found.

getGraduatedPrices(array|null $productIds = null) : array

Arguments

$productIds

array|null

Array containing the selected product IDs to be processed.

Response

array

Returns array that contains the graduated prices information.

Returns the number of all product properties found.

getProductPropertiesCount() : integer

Response

integer

Returns the record number.

Get special prices record count.

getSpecialPricesCount() : integer

Response

integer

Returns the number of all special prices found.

Sets the starting point of the pagination and the number of properties.

paginateProperties(\IntType|null $start = null, \IntType|null $length = null) : \QuickEditProductPropertiesRepository

Arguments

$start

\IntType|null

Pagination start index.

$length

\IntType|null

Page length value.

Response

\QuickEditProductPropertiesRepository

QuickEdit products properties repository for chained method calls.

Sets the starting point of the pagination and the number of special prices.

paginateSpecialPrices(\IntType|null $start = null, \IntType|null $length = null) : \QuickEditProductSpecialPricesRepository

Arguments

$start

\IntType|null

Pagination start index.

$length

\IntType|null

Page length value.

Response

\QuickEditProductSpecialPricesRepository

QuickEdit products special price repository for chained method calls.

Saves product by product-combi ID.

setByCombisId(array $productCombi) : boolean

Arguments

$productCombi

array

Contains product data to be saved.

Response

boolean

Returns the operation result.

Saves the changed data regarding the special price.

setSpecialPriceById(array $specialPrice) : boolean

Arguments

$specialPrice

array

Contains the special prices data.

Response

boolean

Returns the operation result.

Sets the sorting order of the product properties.

sortProperties(\StringType|null $orderBy = null) : \QuickEditProductPropertiesRepository

Arguments

$orderBy

\StringType|null

Sorting order (ASC or DESC).

Response

\QuickEditProductPropertiesRepository

QuickEdit products properties repository for chained method calls.

Sets the sorting order of the special prices.

sortSpecialPrices(\StringType|null $orderBy = null) : \QuickEditProductSpecialPricesRepository

Arguments

$orderBy

\StringType|null

Sorting order (ASC or DESC)

Response

\QuickEditProductSpecialPricesRepository

QuickEdit products special price repository for chained method calls.