CustomerGroupInterface

Extends

Interface CustomerGroupInterface

category

System

package

CustomerGroup

subpackage

Entities

Methods

Deletes customer group from database.

delete() : $this|\CustomerGroupInterface

Response

$this|\CustomerGroupInterface

Same instance for chained method calls.

Returns the customer group configurations.

getConfigurations() : \CustomerGroupConfigurationsInterface

Returns the customer group id.

getId() : integer

Response

integer

Customer group id.

Returns the name.

getName(\LanguageCode $languageCode) : string

Arguments

$languageCode

\LanguageCode

Language code for language specific name value.

Response

string

Language specific name value.

Returns all language specific name.

getNames() : array

Response

array

Language specific name value.

Returns the customer group settings.

getSettings() : \CustomerGroupSettingsInterface

Sets the customer group configurations.

setConfigurations(\CustomerGroupConfigurationsInterface $configurations) : $this|\CustomerGroupInterface

Arguments

$configurations

\CustomerGroupConfigurationsInterface

Customer group configurations.

Response

$this|\CustomerGroupInterface

Same instance for chained method calls.

Sets the customer group id.

setId(\IntType $id) : $this|\CustomerGroupInterface

Arguments

$id

\IntType

The customer group id to be set.

Response

$this|\CustomerGroupInterface

Same instance for chained method calls.

Sets the name.

setName(\StringType $name, \LanguageCode $languageCode) : $this|\CustomerGroupInterface

Arguments

$name

\StringType

Name.

$languageCode

\LanguageCode

Language code for language specific name value.

Response

$this|\CustomerGroupInterface

Same instance for chained method calls.

Sets the customer group settings.

setSettings(\CustomerGroupSettingsInterface $settings) : $this|\CustomerGroupInterface

Arguments

$settings

\CustomerGroupSettingsInterface

Customer group settings.

Response

$this|\CustomerGroupInterface

Same instance for chained method calls.

Saves customer group in database.

store() : $this|\CustomerGroupInterface

Response

$this|\CustomerGroupInterface

Same instance for chained method calls.

Updates customer group in database.

update() : $this|\CustomerGroupInterface

Response

$this|\CustomerGroupInterface

Same instance for chained method calls.