CustomerGroupWriter

Implements \CustomerGroupWriterInterface

Class CustomerGroupWriter

category

System

package

CustomerGroup

subpackage

Repositories

Methods

CustomerGroupWriter constructor.

__construct(\CI_DB_query_builder $queryBuilder, \LanguageProvider $languageProvider) 

Arguments

$queryBuilder

\CI_DB_query_builder

$languageProvider

\LanguageProvider

Create base data from chosen personal offers table.

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

Arguments

$customerGroupId

\IntType

$baseId

\IntType

Response

\CustomerGroupWriter

Saves customer group entity data in database.

store(\CustomerGroupInterface $customerGroup) : $this|\CustomerGroupWriterInterface

Arguments

$customerGroup

\CustomerGroupInterface

Customer group to be saved.

Response

$this|\CustomerGroupWriterInterface

Same instance for chained method calls.

Updates customer group entity data in database.

update(\CustomerGroupInterface $customerGroup) : $this|\CustomerGroupWriterInterface

Arguments

$customerGroup

\CustomerGroupInterface

Customer group to be updated.

Response

$this|\CustomerGroupWriterInterface

Same instance for chained method calls.

Properties