CustomerMemoWriteService
in
Interface CustomerMemoWriteService
Table of Contents
- createCustomerMemo() : CustomerMemoId
- Creates a new customer memo and returns its ID.
- createMultipleCustomerMemos() : CustomerMemoIds
- Creates multiple customer memos and returns their IDs.
- deleteCustomerMemosByCustomerIds() : void
- Deletes customer memos based on the given customer IDs.
- deleteCustomerMemosByMemoIds() : void
- Deletes customer memos based on the given customer memo IDs.
- storeCustomerMemos() : void
- Stores multiple customer memos.
Methods
createCustomerMemo()
Creates a new customer memo and returns its ID.
public
createCustomerMemo(int $customerId, int $creatorId, string $content) : CustomerMemoId
Parameters
- $customerId : int
- $creatorId : int
- $content : string
Tags
Return values
CustomerMemoId —createMultipleCustomerMemos()
Creates multiple customer memos and returns their IDs.
public
createMultipleCustomerMemos(array<string|int, mixed> ...$creationArguments) : CustomerMemoIds
Parameters
- $creationArguments : array<string|int, mixed>
-
Provided array must contain arguments like they are used in the single creation method. Provide multiple arrays for multi creation.
Tags
Return values
CustomerMemoIds —deleteCustomerMemosByCustomerIds()
Deletes customer memos based on the given customer IDs.
public
deleteCustomerMemosByCustomerIds(int ...$ids) : void
Parameters
- $ids : int
Tags
Return values
void —deleteCustomerMemosByMemoIds()
Deletes customer memos based on the given customer memo IDs.
public
deleteCustomerMemosByMemoIds(int ...$ids) : void
Parameters
- $ids : int
Tags
Return values
void —storeCustomerMemos()
Stores multiple customer memos.
public
storeCustomerMemos(CustomerMemo ...$customerMemos) : void
Parameters
- $customerMemos : CustomerMemo