Interface CustomerGroupInterface
Interface CustomerGroupInterface
Methods summary
public
|
#
store( )
Saves customer group in database.
Saves customer group in database.
Returns
$this|\CustomerGroupInterface Same instance for chained method calls.
|
public
|
#
update( )
Updates customer group in database.
Updates customer group in database.
Returns
$this|\CustomerGroupInterface Same instance for chained method calls.
|
public
|
#
delete( )
Deletes customer group from database.
Deletes customer group from database.
Returns
$this|\CustomerGroupInterface Same instance for chained method calls.
|
public
integer
|
#
getId( )
Returns the customer group id.
Returns the customer group id.
Returns
integer Customer group id.
|
public
|
#
setId( IntType $id )
Sets the customer group id.
Sets the customer group id.
Parameters
- $id
- The customer group id to be set.
Returns
$this|\CustomerGroupInterface Same instance for chained method calls.
|
public
string
|
#
getName( LanguageCode $languageCode )
Returns the name.
Parameters
- $languageCode
- Language code for language specific name value.
Returns
string Language specific name value.
|
public
|
#
setName( StringType $name, LanguageCode $languageCode )
Sets the name.
Parameters
- $name
- Name.
- $languageCode
- Language code for language specific name value.
Returns
$this|\CustomerGroupInterface Same instance for chained method calls.
|
public
array
|
#
getNames( )
Returns all language specific name.
Returns all language specific name.
Returns
array Language specific name value.
|
public
CustomerGroupSettingsInterface
|
#
getSettings( )
Returns the customer group settings.
Returns the customer group settings.
Returns
|
public
|
#
setSettings( CustomerGroupSettingsInterface $settings )
Sets the customer group settings.
Sets the customer group settings.
Parameters
- $settings
- Customer group settings.
Returns
$this|\CustomerGroupInterface Same instance for chained method calls.
|
public
CustomerGroupConfigurationsInterface
|
#
getConfigurations( )
Returns the customer group configurations.
Returns the customer group configurations.
Returns
|
public
|
#
setConfigurations( CustomerGroupConfigurationsInterface $configurations )
Sets the customer group configurations.
Sets the customer group configurations.
Parameters
- $configurations
- Customer group configurations.
Returns
$this|\CustomerGroupInterface Same instance for chained method calls.
|