CustomerMemoReader
in package
Class CustomerMemoReader
Table of Contents
- $connection : Connection
- __construct() : mixed
- getCustomerMemoById() : array<string|int, mixed>
- Returns a specific customer memo based on the given ID.
- getCustomerMemos() : array<string|int, mixed>
- Returns all available customer memos.
- getCustomerMemosTotalCount() : int
- getFilteredCustomerMemos() : array<string|int, mixed>
- createQuery() : QueryBuilder
Properties
$connection
private
Connection
$connection
Methods
__construct()
public
__construct(Connection $connection) : mixed
Parameters
- $connection : Connection
Return values
mixed —getCustomerMemoById()
Returns a specific customer memo based on the given ID.
public
getCustomerMemoById(CustomerMemoId $memoId) : array<string|int, mixed>
Parameters
- $memoId : CustomerMemoId
Tags
Return values
array<string|int, mixed> —getCustomerMemos()
Returns all available customer memos.
public
getCustomerMemos(CustomerId $customerId) : array<string|int, mixed>
Parameters
- $customerId : CustomerId
Return values
array<string|int, mixed> —getCustomerMemosTotalCount()
public
getCustomerMemosTotalCount(CustomerId $customerId, CustomerMemoFilters $filters) : int
Parameters
- $customerId : CustomerId
- $filters : CustomerMemoFilters
Return values
int —getFilteredCustomerMemos()
public
getFilteredCustomerMemos(CustomerId $customerId, CustomerMemoFilters $filters, CustomerMemoSorting $sorting, Pagination|SqlPagination $pagination) : array<string|int, mixed>
Parameters
- $customerId : CustomerId
- $filters : CustomerMemoFilters
- $sorting : CustomerMemoSorting
- $pagination : Pagination|SqlPagination
Return values
array<string|int, mixed> —createQuery()
private
createQuery([CustomerId|null $customerId = null ]) : QueryBuilder
Parameters
- $customerId : CustomerId|null = null