CustomerGroupWriteService
in package
implements
CustomerGroupWriteServiceInterface
Class CustomerGroupWriteService *
Tags
Interfaces, Classes and Traits
- CustomerGroupWriteServiceInterface
- Interface CustomerGroupWriteServiceInterface
Table of Contents
- $factory : CustomerGroupFactory
- __construct() : mixed
- delete() : $this|CustomerGroupWriteServiceInterface
- Deletes customer group entity data in database with personal offer table.
- getFactory() : CustomerGroupFactory
- Returns an customer group factory.
- store() : $this|CustomerGroupWriteServiceInterface
- Saves customer group entity in database.
Properties
$factory
protected
CustomerGroupFactory
$factory
Methods
__construct()
public
__construct(CustomerGroupFactory $factory) : mixed
Parameters
- $factory : CustomerGroupFactory
Return values
mixed —delete()
Deletes customer group entity data in database with personal offer table.
public
delete(CustomerGroupInterface $customerGroup) : $this|CustomerGroupWriteServiceInterface
Parameters
- $customerGroup : CustomerGroupInterface
-
Customer group to be deleted.
Return values
$this|CustomerGroupWriteServiceInterface —Same instance for chained method calls.
getFactory()
Returns an customer group factory.
public
getFactory() : CustomerGroupFactory
Return values
CustomerGroupFactory —store()
Saves customer group entity in database.
public
store(CustomerGroupInterface $customerGroup) : $this|CustomerGroupWriteServiceInterface
Parameters
- $customerGroup : CustomerGroupInterface
-
Customer group unit to be saved.
Return values
$this|CustomerGroupWriteServiceInterface —Same instance for chained method calls.