CustomerGroupRepositoryInterface
in
Interface CustomerGroupRepositoryInterface
Tags
Table of Contents
- createBase() : CustomerGroupRepository
- Create base data from chosen personal offers table.
- delete() : $this|CustomerGroupRepositoryInterface
- Deletes customer group from database.
- store() : $this|CustomerGroupRepositoryInterface
- Saves customer group in database.
- update() : $this|CustomerGroupRepositoryInterface
- Updates customer group in database.
Methods
createBase()
Create base data from chosen personal offers table.
public
createBase(IntType $customerGroupId, IntType $baseId) : CustomerGroupRepository
Parameters
Return values
CustomerGroupRepository —delete()
Deletes customer group from database.
public
delete(CustomerGroup $customerGroup) : $this|CustomerGroupRepositoryInterface
Parameters
- $customerGroup : CustomerGroup
-
Customer group to be deleted.
Return values
$this|CustomerGroupRepositoryInterface —Same instance for chained method calls.
store()
Saves customer group in database.
public
store(CustomerGroup $customerGroup) : $this|CustomerGroupRepositoryInterface
Parameters
- $customerGroup : CustomerGroup
-
Customer group entity to be saved.
Return values
$this|CustomerGroupRepositoryInterface —Same instance for chained method calls.
update()
Updates customer group in database.
public
update(CustomerGroup $customerGroup) : $this|CustomerGroupRepositoryInterface
Parameters
- $customerGroup : CustomerGroup
-
Customer group entity to be saved.
Return values
$this|CustomerGroupRepositoryInterface —Same instance for chained method calls.