Copied!

LocalProductTypeServiceDecorator

LocalProductTypeServiceDecorator.php : 18

Properties

protected $innerService

LocalProductTypeServiceDecorator.php : 20
protected LocalProductTypeServiceInterface $innerService

Methods

public__construct()

LocalProductTypeServiceDecorator.php : 22
public __construct(LocalProductTypeServiceInterface $innerService)

Parameters

Name Type Default value Description
$innerService LocalProductTypeServiceInterface - -

publiccreateProductType()

LocalProductTypeServiceDecorator.php : 27
public createProductType(ProductTypeCreateStruct $createStruct) : ProductTypeInterface

Parameters

Name Type Default value Description
$createStruct ProductTypeCreateStruct - -

Return values

ProductTypeInterface

publicdeleteProductType()

LocalProductTypeServiceDecorator.php : 47
public deleteProductType(ProductTypeInterface $productType) : void

Parameters

Name Type Default value Description
$productType ProductTypeInterface - -

publicdeleteProductTypeTranslation()

LocalProductTypeServiceDecorator.php : 52
public deleteProductTypeTranslation(ProductTypeInterface $productType, string $languageCode) : void

Parameters

Name Type Default value Description
$productType ProductTypeInterface - -
$languageCode string - -

publicfindProductTypes()

LocalProductTypeServiceDecorator.php : 69
public findProductTypes([ProductTypeQuery|null $query = null ][, LanguageSettings|null $languageSettings = null ]) : ProductTypeListInterface

Parameters

Name Type Default value Description
$query ProductTypeQuery|null null -
$languageSettings LanguageSettings|null null -

Return values

ProductTypeListInterface

publicgetProductType()

LocalProductTypeServiceDecorator.php : 62
public getProductType(string $identifier[, LanguageSettings|null $languageSettings = null ]) : ProductTypeInterface

Parameters

Name Type Default value Description
$identifier string - -
$languageSettings LanguageSettings|null null -

Return values

ProductTypeInterface

publicisProductTypeUsed()

LocalProductTypeServiceDecorator.php : 57
public isProductTypeUsed(ProductTypeInterface $productType) : bool

Parameters

Name Type Default value Description
$productType ProductTypeInterface - -

Return values

bool

publicnewProductTypeCreateStruct()

LocalProductTypeServiceDecorator.php : 32
public newProductTypeCreateStruct(string $identifier, string $mainLanguageCode) : ProductTypeCreateStruct

Parameters

Name Type Default value Description
$identifier string - -
$mainLanguageCode string - -

Return values

ProductTypeCreateStruct

publicnewProductTypeUpdateStruct()

LocalProductTypeServiceDecorator.php : 37
public newProductTypeUpdateStruct(ProductTypeInterface $productType) : ProductTypeUpdateStruct

Parameters

Name Type Default value Description
$productType ProductTypeInterface - -

Return values

ProductTypeUpdateStruct

publicupdateProductType()

LocalProductTypeServiceDecorator.php : 42
public updateProductType(ProductTypeUpdateStruct $updateStruct) : ProductTypeInterface

Parameters

Name Type Default value Description
$updateStruct ProductTypeUpdateStruct - -

Return values

ProductTypeInterface