phpDocumentor

CustomerGroup
in package
implements CustomerGroupInterface

Class QuantityUnitCollection

Tags
category

System

subpackage

Entities

Interfaces, Classes and Traits

CustomerGroupInterface
Interface CustomerGroupInterface

Table of Contents

$configurations  : CustomerGroupConfigurationsInterface
$default  : bool
Customer Group default value.
$id  : int
Customer group id.
$members  : int
Customer group member number.
$names  : EditableKeyValueCollection
$repository  : CustomerGroupRepositoryInterface
$settings  : CustomerGroupSettingsInterface
__construct()  : mixed
CustomerGroup constructor.
createBase()  : CustomerGroup
Create base data from chosen personal offers table.
delete()  : $this|CustomerGroupInterface
Deletes customer group entity data in database with personal offer table.
getConfigurations()  : CustomerGroupConfigurationsInterface
Returns the customer group configurations.
getId()  : int
Returns the customer group id.
getMembers()  : int
Returns the customer group members number.
getName()  : string
Returns the name.
getNames()  : array<string|int, mixed>
Returns all language specific name.
getSettings()  : CustomerGroupSettingsInterface
Returns the customer group settings.
isDefault()  : bool
Returns the customer group default status.
setConfigurations()  : $this|CustomerGroupInterface
Sets the customer group configurations.
setDefault()  : $this|CustomerGroupInterface
Sets the customer group id.
setId()  : $this|CustomerGroupInterface
Sets the customer group id.
setMembers()  : CustomerGroup
Sets the number of members to the customer group.
setName()  : $this|CustomerGroupInterface
Sets the name.
setSettings()  : $this|CustomerGroupInterface
Sets the customer group settings.
store()  : $this|CustomerGroupInterface
Saves customer group in database.
update()  : $this|CustomerGroupInterface
Updates customer group in database.

Properties

Methods

getId()

Returns the customer group id.

public getId() : int
Return values
int

Customer group id.

getMembers()

Returns the customer group members number.

public getMembers() : int
Return values
int

getName()

Returns the name.

public getName(LanguageCode $languageCode) : string
Parameters
$languageCode : LanguageCode

Language code for language specific name value.

Return values
string

Language specific name value.

getNames()

Returns all language specific name.

public getNames() : array<string|int, mixed>
Return values
array<string|int, mixed>

Language specific name value.

isDefault()

Returns the customer group default status.

public isDefault() : bool
Return values
bool

Customer group default status.

Search results