CustomerMemoFilterService
in package
implements
CustomerMemoFilterService
Class CustomerMemoFilterService
Interfaces, Classes and Traits
- CustomerMemoFilterService
- Interface CustomerMemoFilterService
Table of Contents
- $customerMemoFactory : CustomerMemoFactory
- $customerMemoFilterFactory : CustomerMemoFilterFactory
- $repository : CustomerMemoRepository
- __construct() : mixed
- 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.
Properties
$customerMemoFactory
private
CustomerMemoFactory
$customerMemoFactory
$customerMemoFilterFactory
private
CustomerMemoFilterFactory
$customerMemoFilterFactory
$repository
private
CustomerMemoRepository
$repository
Methods
__construct()
public
__construct(CustomerMemoRepository $repository, CustomerMemoFactory $customerMemoFactory, CustomerMemoFilterFactory $customerMemoFilterFactory) : mixed
Parameters
- $repository : CustomerMemoRepository
- $customerMemoFactory : CustomerMemoFactory
- $customerMemoFilterFactory : CustomerMemoFilterFactory
Return values
mixed —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
Parameters
- $customerId : int
- $filters : array<string|int, mixed>
- $sorting : string|null = null
- $limit : int = 25
- $offset : int
Tags
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
Parameters
- $customerId : int
- $filters : array<string|int, mixed>