CustomerGroupReadService

Implements \CustomerGroupReadServiceInterface

Class CustomerGroupReadService

category

System

package

CustomerGroup

subpackage

Services

Methods

CustomerGroupReadService constructor.

__construct(\CustomerGroupAccessRepositoryInterface $repository) 

Creates customer group entity.

create() : \CustomerGroup

Response

\CustomerGroup

new customer group entity.

Returns customer group entities as collection.

getAll() : \CustomerGroupCollection

Returns customer group by given id.

getById(\IntType $id) : \CustomerGroup

Arguments

$id

\IntType

Customer group id.

Response

\CustomerGroup

Properties

repository

repository : \CustomerGroupAccessRepositoryInterface