CustomerMemoFilterService
in
Interface CustomerMemoFilterService
Table of Contents
- filterCustomerMemos() : CustomerMemos
- Returns a filtered and paginated collection of customer memos based on the given filter and sorting arguments.
- getCustomerMemosTotalCount() : int
- Returns total count of customer memos based on the given filter arguments.
Methods
filterCustomerMemos()
Returns a filtered and paginated collection of customer memos based on the given filter and sorting arguments.
public
filterCustomerMemos(int $customerId, array<string|int, mixed> $filters[, string|null $sorting = null ][, int $limit = 25 ], int $offset) : CustomerMemos
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 descending.
Parameters
- $customerId : int
- $filters : array<string|int, mixed>
- $sorting : string|null = null
- $limit : int = 25
- $offset : int
Return values
CustomerMemos —getCustomerMemosTotalCount()
Returns total count of customer memos based on the given filter arguments.
public
getCustomerMemosTotalCount(int $customerId, array<string|int, mixed> $filters) : int
The filters must be a map, that assigns an attribute it's filtering pattern.
Parameters
- $customerId : int
- $filters : array<string|int, mixed>