Copied!

CustomerGroupServiceDecorator

CustomerGroupServiceDecorator.php : 18

Properties

protected $innerService

CustomerGroupServiceDecorator.php : 20
protected CustomerGroupServiceInterface $innerService

Methods

public__construct()

CustomerGroupServiceDecorator.php : 22
public __construct(CustomerGroupServiceInterface $innerService)

Parameters

Name Type Default value Description
$innerService CustomerGroupServiceInterface - -

publiccreateCustomerGroup()

CustomerGroupServiceDecorator.php : 27
public createCustomerGroup(CustomerGroupCreateStruct $createStruct) : CustomerGroupInterface

Parameters

Name Type Default value Description
$createStruct CustomerGroupCreateStruct - -

Return values

CustomerGroupInterface

publicdeleteCustomerGroup()

CustomerGroupServiceDecorator.php : 32
public deleteCustomerGroup(CustomerGroupInterface $customerGroup) : void

Parameters

Name Type Default value Description
$customerGroup CustomerGroupInterface - -

publicdeleteCustomerGroupTranslation()

CustomerGroupServiceDecorator.php : 37
public deleteCustomerGroupTranslation(CustomerGroupDeleteTranslationStruct $struct) : void

Parameters

Name Type Default value Description
$struct CustomerGroupDeleteTranslationStruct - -

publicfindCustomerGroups()

CustomerGroupServiceDecorator.php : 47
public findCustomerGroups([CustomerGroupQuery|null $query = null ]) : CustomerGroupListInterface

Parameters

Name Type Default value Description
$query CustomerGroupQuery|null null -

Return values

CustomerGroupListInterface

publicgetCustomerGroup()

CustomerGroupServiceDecorator.php : 52
public getCustomerGroup(int $id[, array<string|int, mixed>|null $prioritizedLanguages = null ]) : CustomerGroupInterface

Parameters

Name Type Default value Description
$id int - -
$prioritizedLanguages array<string|int, mixed>|null null -

Return values

CustomerGroupInterface

publicgetCustomerGroupByIdentifier()

CustomerGroupServiceDecorator.php : 42
public getCustomerGroupByIdentifier(string $identifier[, array<string|int, mixed>|null $prioritizedLanguages = null ]) : CustomerGroupInterface|null

Parameters

Name Type Default value Description
$identifier string - -
$prioritizedLanguages array<string|int, mixed>|null null -

Return values

CustomerGroupInterface|null

publicupdateCustomerGroup()

CustomerGroupServiceDecorator.php : 57
public updateCustomerGroup(CustomerGroupUpdateStruct $updateStruct) : CustomerGroupInterface

Parameters

Name Type Default value Description
$updateStruct CustomerGroupUpdateStruct - -

Return values

CustomerGroupInterface