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