CustomerGroupWriteServiceInterface
in
Interface CustomerGroupWriteServiceInterface
Tags
Table of Contents
- 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.
Methods
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.