CustomerGroupWriteService

Implements \CustomerGroupWriteServiceInterface

Class CustomerGroupWriteService *

category

System

package

CustomerGroup

subpackage

Services

Methods

__construct

__construct(\CustomerGroupFactory $factory) 

Arguments

Deletes customer group entity data in database with personal offer table.

delete(\CustomerGroupInterface $customerGroup) : $this|\CustomerGroupWriteServiceInterface

Arguments

$customerGroup

\CustomerGroupInterface

Customer group to be deleted.

Response

$this|\CustomerGroupWriteServiceInterface

Same instance for chained method calls.

Returns an customer group factory.

getFactory() : \CustomerGroupFactory

Saves customer group entity in database.

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

Arguments

$customerGroup

\CustomerGroupInterface

Customer group unit to be saved.

Response

$this|\CustomerGroupWriteServiceInterface

Same instance for chained method calls.

Properties

factory

factory : \CustomerGroupFactory
var

Type(s)

\CustomerGroupFactory