CustomerMemoReadService
in package
implements
CustomerMemoReadService
Class CustomerMemoReadService
Interfaces, Classes and Traits
- CustomerMemoReadService
- Interface CustomerMemoReadService
Table of Contents
- $factory : CustomerMemoFactory
- $repository : CustomerMemoRepository
- __construct() : mixed
- getCustomerMemoById() : CustomerMemo
- Returns a specific customer memo based on the given ID.
- getCustomerMemos() : CustomerMemos
- Returns all available customer memos.
Properties
$factory
private
CustomerMemoFactory
$factory
$repository
private
CustomerMemoRepository
$repository
Methods
__construct()
public
__construct(CustomerMemoRepository $repository, CustomerMemoFactory $factory) : mixed
Parameters
- $repository : CustomerMemoRepository
- $factory : CustomerMemoFactory
Return values
mixed —getCustomerMemoById()
Returns a specific customer memo based on the given ID.
public
getCustomerMemoById(int $memoId) : CustomerMemo
Parameters
- $memoId : int
Tags
Return values
CustomerMemo —getCustomerMemos()
Returns all available customer memos.
public
getCustomerMemos(int $customerId) : CustomerMemos
Parameters
- $customerId : int