Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminAccess
    • Collections
    • Deleters
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Managers
    • Readers
    • Writers
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Review
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories
  • Withdrawal
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects

Classes

  • CustomerGroup
  • CustomerGroupCollection

Interfaces

  • CustomerGroupInterface

Class CustomerGroup

Class QuantityUnitCollection

CustomerGroup implements CustomerGroupInterface
Package: CustomerGroup\Entities
Category: System
Located at Services/Core/CustomerGroup/Entities/CustomerGroup.inc.php

Methods summary

public
# __construct( CustomerGroupRepositoryInterface $repository, EditableKeyValueCollection $names, CustomerGroupConfigurationsInterface $configurations, CustomerGroupSettingsInterface $settings )

CustomerGroup constructor.

CustomerGroup constructor.

Parameters

$repository
$names
$configurations
$settings
public
# store( )

Saves customer group in database.

Saves customer group in database.

Returns


$this|\CustomerGroupInterface Same instance for chained method calls.

Implementation of

CustomerGroupInterface::store()
public CustomerGroup
# createBase( IntType $baseId )

Create base data from chosen personal offers table.

Create base data from chosen personal offers table.

Parameters

$baseId

Returns

CustomerGroup

Implementation of

CustomerGroupInterface::createBase()
public
# update( )

Updates customer group in database.

Updates customer group in database.

Returns


$this|\CustomerGroupInterface Same instance for chained method calls.

Implementation of

CustomerGroupInterface::update()
public
# delete( )

Deletes customer group entity data in database with personal offer table.

Deletes customer group entity data in database with personal offer table.

Returns


$this|\CustomerGroupInterface Same instance for chained method calls.

Implementation of

CustomerGroupInterface::delete()
public integer
# getId( )

Returns the customer group id.

Returns the customer group id.

Returns

integer
Customer group id.

Implementation of

CustomerGroupInterface::getId()
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.

Implementation of

CustomerGroupInterface::setId()
public string
# getName( LanguageCode $languageCode )

Returns the name.

Returns the name.

Parameters

$languageCode
Language code for language specific name value.

Returns

string
Language specific name value.

Implementation of

CustomerGroupInterface::getName()
public
# setName( StringType $name, LanguageCode $languageCode )

Sets the name.

Sets the name.

Parameters

$name
Name.
$languageCode
Language code for language specific name value.

Returns


$this|\CustomerGroupInterface Same instance for chained method calls.

Implementation of

CustomerGroupInterface::setName()
public array
# getNames( )

Returns all language specific name.

Returns all language specific name.

Returns

array
Language specific name value.

Implementation of

CustomerGroupInterface::getNames()
public CustomerGroupSettingsInterface
# getSettings( )

Returns the customer group settings.

Returns the customer group settings.

Returns

CustomerGroupSettingsInterface

Implementation of

CustomerGroupInterface::getSettings()
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.

Implementation of

CustomerGroupInterface::setSettings()
public CustomerGroupConfigurationsInterface
# getConfigurations( )

Returns the customer group configurations.

Returns the customer group configurations.

Returns

CustomerGroupConfigurationsInterface

Implementation of

CustomerGroupInterface::getConfigurations()
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.

Implementation of

CustomerGroupInterface::setConfigurations()
public boolean
# isDefault( )

Returns the customer group default status.

Returns the customer group default status.

Returns

boolean
Customer group default status.

Implementation of

CustomerGroupInterface::isDefault()
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.

Implementation of

CustomerGroupInterface::setDefault()
public integer
# getMembers( )

Returns the customer group members number.

Returns the customer group members number.

Returns

integer

Implementation of

CustomerGroupInterface::getMembers()
public CustomerGroup
# setMembers( IntType $number )

Sets the number of members to the customer group.

Sets the number of members to the customer group.

Parameters

$number

Returns

CustomerGroup

Implementation of

CustomerGroupInterface::setMembers()

Properties summary

protected integer $id

Customer group id.

Customer group id.

# 0
protected integer $members

Customer group member number.

Customer group member number.

# 0
protected boolean $default

Customer Group default value.

Customer Group default value.

# false
protected EditableKeyValueCollection $names
#
protected CustomerGroupSettingsInterface $settings
#
protected CustomerGroupConfigurationsInterface $configurations
#
protected CustomerGroupRepositoryInterface $repository
#
API documentation generated by ApiGen