Copied!

CustomerGroupServiceInterface

CustomerGroupServiceInterface.php : 18

Methods

publiccreateCustomerGroup()

CustomerGroupServiceInterface.php : 24
public createCustomerGroup(CustomerGroupCreateStruct $createStruct) : CustomerGroupInterface

Parameters

Name Type Default value Description
$createStruct CustomerGroupCreateStruct - -

Return values

CustomerGroupInterface

Tags
Throws
NotFoundException
Throws
UnauthorizedException

publicdeleteCustomerGroup()

CustomerGroupServiceInterface.php : 26
public deleteCustomerGroup(CustomerGroupInterface $customerGroup) : void

Parameters

Name Type Default value Description
$customerGroup CustomerGroupInterface - -

publicdeleteCustomerGroupTranslation()

CustomerGroupServiceInterface.php : 28
public deleteCustomerGroupTranslation(CustomerGroupDeleteTranslationStruct $struct) : void

Parameters

Name Type Default value Description
$struct CustomerGroupDeleteTranslationStruct - -

publicfindCustomerGroups()

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

Parameters

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

Return values

CustomerGroupListInterface

Tags
Throws
UnauthorizedException

publicgetCustomerGroup()

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

Parameters

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

Return values

CustomerGroupInterface

Tags
Throws
NotFoundException
Throws
UnauthorizedException

publicgetCustomerGroupByIdentifier()

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

Parameters

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

Return values

CustomerGroupInterface|null

publicupdateCustomerGroup()

CustomerGroupServiceInterface.php : 52
public updateCustomerGroup(CustomerGroupUpdateStruct $updateStruct) : CustomerGroupInterface

Parameters

Name Type Default value Description
$updateStruct CustomerGroupUpdateStruct - -

Return values

CustomerGroupInterface

Tags
Throws
NotFoundException
Throws
UnauthorizedException