ProductSettingsRepositoryWriterInterface
in
Interface ProductSettingsRepositoryWriterInterface
Tags
Table of Contents
- update() : ProductSettingsRepositoryInterface|$this
- Updates product settings by the given product id.
Methods
update()
Updates product settings by the given product id.
public
update(IdType $productId, ProductSettingsInterface $settings) : ProductSettingsRepositoryInterface|$this
Parameters
- $productId : IdType
-
Id of product entity.
- $settings : ProductSettingsInterface
-
Settings entity with values to update.
Return values
ProductSettingsRepositoryInterface|$this —Same instance for chained method calls.