CustomerGroupRepository

Implements \CustomerGroupRepositoryInterface

Interface CustomerGroupRepository

category

System

package

CustomerGroup

subpackage

Repositories

Methods

__construct

__construct(\CustomerGroupWriterInterface $writer, \CustomerGroupDeleterInterface $deleter) 

Create base data from chosen personal offers table.

createBase(\IntType $customerGroupId, \IntType $baseId) : \CustomerGroupRepository

Arguments

$customerGroupId

\IntType

$baseId

\IntType

Response

\CustomerGroupRepository

Deletes customer group from database.

delete(\CustomerGroup $customerGroup) : $this|\CustomerGroupRepositoryInterface

Arguments

$customerGroup

\CustomerGroup

Customer group to be deleted.

Response

$this|\CustomerGroupRepositoryInterface

Same instance for chained method calls.

Saves customer group in database.

store(\CustomerGroup $customerGroup) : $this|\CustomerGroupRepositoryInterface

Arguments

$customerGroup

\CustomerGroup

Customer group entity to be saved.

Response

$this|\CustomerGroupRepositoryInterface

Same instance for chained method calls.

Updates customer group in database.

update(\CustomerGroup $customerGroup) : $this|\CustomerGroupRepositoryInterface

Arguments

$customerGroup

\CustomerGroup

Customer group entity to be saved.

Response

$this|\CustomerGroupRepositoryInterface

Same instance for chained method calls.

Properties

writer

writer : \CustomerGroupWriterInterface

deleter

deleter : \CustomerGroupDeleterInterface

nonRemovableIds

nonRemovableIds : 

Type(s)