CustomerAddonValueFilterService
in package
implements
CustomerAddonValueFilterService
Class CustomerAddonValueFilterService
Interfaces, Classes and Traits
- CustomerAddonValueFilterService
- Interface CustomerAddonValueFilterService
Table of Contents
- $domainFactory : CustomerAddonValueFactory
- $filterFactory : CustomerAddonValueFilterFactory
- $repository : CustomerAddonValueRepository
- __construct() : mixed
- filterCustomerAddonValues() : CustomerAddonValues
- Returns a filtered and paginated collection of customer addon values based on the given filter and sorting arguments. The filters must be a map, that assigns an attribute its filtering pattern. The sorting must be a comma-separated list of attributes. A `-` can be used to change the order to descend.
- getCustomerAddonValuesTotalCount() : int
- Returns total count of customer addon values based on the given filter arguments.
Properties
$domainFactory
private
CustomerAddonValueFactory
$domainFactory
$filterFactory
private
CustomerAddonValueFilterFactory
$filterFactory
$repository
private
CustomerAddonValueRepository
$repository
Methods
__construct()
public
__construct(CustomerAddonValueRepository $repository, CustomerAddonValueFactory $domainFactory, CustomerAddonValueFilterFactory $filterFactory) : mixed
Parameters
- $repository : CustomerAddonValueRepository
- $domainFactory : CustomerAddonValueFactory
- $filterFactory : CustomerAddonValueFilterFactory
Return values
mixed —filterCustomerAddonValues()
Returns a filtered and paginated collection of customer addon values based on the given filter and sorting arguments. The filters must be a map, that assigns an attribute its filtering pattern. The sorting must be a comma-separated list of attributes. A `-` can be used to change the order to descend.
public
filterCustomerAddonValues(int $customerId, array<string|int, mixed> $filters[, string|null $sorting = null ][, int $limit = 25 ], int $offset) : CustomerAddonValues
Parameters
- $customerId : int
- $filters : array<string|int, mixed>
- $sorting : string|null = null
- $limit : int = 25
- $offset : int
Tags
Return values
CustomerAddonValues —getCustomerAddonValuesTotalCount()
Returns total count of customer addon values based on the given filter arguments.
public
getCustomerAddonValuesTotalCount(int $customerId, array<string|int, mixed> $filters) : int
Parameters
- $customerId : int
- $filters : array<string|int, mixed>