Class CustomerGroupReadService

Class CustomerGroupReadService

CustomerGroupReadService implements CustomerGroupReadServiceInterface

Methods summary

public __construct( CustomerGroupAccessRepositoryInterface $repository )

CustomerGroupReadService constructor.

public getAll( void ) : CustomerGroupCollection

Returns customer group entities as collection.

public getById( IntType $id ) : CustomerGroup

Returns customer group by given id.

public create( void ) : CustomerGroup

Creates customer group entity.