phpDocumentor

CustomerAddonValueRepository extends AbstractEventDispatchingRepository implements CustomerAddonValueRepository

Class CustomerAddonValueRepository

Interfaces, Classes and Traits

CustomerAddonValueRepository
Interface CustomerAddonValueRepository

Table of Contents

$eventDispatcher  : EventDispatcherInterface
$mapper  : CustomerAddonValueMapper
$reader  : CustomerAddonValueReader
$writer  : CustomerAddonValueWriter
__construct()  : mixed
createCustomerAddonValue()  : CustomerAddonValueId
Creates a new customer addon value and returns its ID.
createMultipleCustomerAddonValues()  : CustomerAddonValueIds
Creates multiple customer addon values and returns their IDs.
deleteCustomerAddonValuesByCustomerIds()  : void
Deletes all customer addon values based on the given customer IDs.
deleteCustomerAddonValuesByIds()  : void
Deletes customer addon values based on the given customer addon value IDs.
deleteCustomerAddonValuesByKeys()  : void
Deletes all customer addon values based on the given addon value keys.
dispatchEntityEvents()  : void
dispatchEvent()  : void
filterCustomerAddonValues()  : CustomerAddonValues
Returns a filtered and paginated collection of customer addon values based on the given filter and sorting arguments. The filters must be a map, that assigns an attribute its filtering pattern. The sorting must be a comma-separated list of attributes. A `-` can be used to change the order to descend.
getCustomerAddonValue()  : CustomerAddonValue
Returns a specific customer addon value.
getCustomerAddonValues()  : CustomerAddonValues
Returns all available customers addon values of a specific customer.
getCustomerAddonValuesTotalCount()  : int
Returns total count of customer addon values based on the given filter arguments.
storeCustomerAddonValues()  : void
Stores multiple customer addon values.
setEventDispatcher()  : void

Properties

Methods

deleteCustomerAddonValuesByCustomerIds()

Deletes all customer addon values based on the given customer IDs.

public deleteCustomerAddonValuesByCustomerIds(CustomerId ...$customerIds) : void
Parameters
$customerIds : CustomerId
Tags
inheritDoc
Return values
void

filterCustomerAddonValues()

Returns a filtered and paginated collection of customer addon values based on the given filter and sorting arguments. The filters must be a map, that assigns an attribute its filtering pattern. The sorting must be a comma-separated list of attributes. A `-` can be used to change the order to descend.

public filterCustomerAddonValues(CustomerId $customerId, CustomerAddonValueFilters $filters, CustomerAddonValueSorting $sorting, Pagination $pagination) : CustomerAddonValues
Parameters
$customerId : CustomerId
$filters : CustomerAddonValueFilters
$sorting : CustomerAddonValueSorting
$pagination : Pagination
Tags
inheritDoc
Return values
CustomerAddonValues

getCustomerAddonValuesTotalCount()

Returns total count of customer addon values based on the given filter arguments.

public getCustomerAddonValuesTotalCount(CustomerId $customerId, Filters $filters) : int
Parameters
$customerId : CustomerId
$filters : Filters
Tags
inheritDoc
Return values
int

storeCustomerAddonValues()

Stores multiple customer addon values.

public storeCustomerAddonValues(CustomerAddonValue ...$customerAddonValues) : void
Parameters
$customerAddonValues : CustomerAddonValue
Tags
inheritDoc
Return values
void

setEventDispatcher()

protected setEventDispatcher(EventDispatcherInterface $eventDispatcher) : void
Parameters
$eventDispatcher : EventDispatcherInterface
Return values
void

Search results