public
|
#
store( )
Saves customer group in database.
Saves customer group in database.
Returns
$this|\CustomerGroupInterface Same instance for chained method calls.
|
public
CustomerGroup
|
#
createBase( IntType $baseId )
Create base data from chosen personal offers table.
Create base data from chosen personal offers table.
Parameters
Returns
|
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
boolean
|
#
isDefault( )
Returns the customer group default status.
Returns the customer group default status.
Returns
boolean Customer group default status.
|
public
|
#
setDefault( BoolType $default )
Sets the customer group id.
Sets the customer group id.
Parameters
- $default
- The customer group default group to 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.
|
public
CustomerGroup
|
#
setMembers( IntType $number )
Sets the number of members to the customer group.
Sets the number of members to the customer group.
Parameters
Returns
|
public
integer
|
#
getMembers( )
Returns the customer group members number.
Returns the customer group members number.
Returns
integer
|