phpDocumentor

CustomerMemoWriteService implements CustomerMemoWriteService

Class CustomerMemoWriteService

Interfaces, Classes and Traits

CustomerMemoWriteService
Interface CustomerMemoWriteService

Table of Contents

$factory  : CustomerMemoFactory
$repository  : CustomerMemoRepository
__construct()  : mixed
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.
parseCreationArguments()  : array<string|int, mixed>

Properties

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
inheritDoc
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
inheritDoc
Return values
CustomerMemoIds

deleteCustomerMemosByCustomerIds()

Deletes customer memos based on the given customer IDs.

public deleteCustomerMemosByCustomerIds(int ...$ids) : void
Parameters
$ids : int
Tags
inheritDoc
Return values
void

deleteCustomerMemosByMemoIds()

Deletes customer memos based on the given customer memo IDs.

public deleteCustomerMemosByMemoIds(int ...$ids) : void
Parameters
$ids : int
Tags
inheritDoc
Return values
void

parseCreationArguments()

private parseCreationArguments(array<string|int, mixed> ...$creationArguments) : array<string|int, mixed>
Parameters
$creationArguments : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results