1 <?php
2
3 /* --------------------------------------------------------------
4 ProductSettingsRepositoryWriterInterface.inc.php 2015-12-07
5 Gambio GmbH
6 http://www.gambio.de
7 Copyright (c) 2015 Gambio GmbH
8 Released under the GNU General Public License (Version 2)
9 [http://www.gnu.org/licenses/gpl-2.0.html]
10 --------------------------------------------------------------
11 */
12
13 /**
14 * Interface ProductSettingsRepositoryWriterInterface
15 *
16 * @category System
17 * @package Product
18 * @subpackage Interfaces
19 */
20 interface ProductSettingsRepositoryWriterInterface
21 {
22 /**
23 * Updates product settings by the given product id.
24 *
25 * @param IdType $productId Id of product entity.
26 * @param ProductSettingsInterface $settings Settings entity with values to update.
27 *
28 * @return ProductSettingsRepositoryInterface|$this Same instance for chained method calls.
29 */
30 public function update(IdType $productId, ProductSettingsInterface $settings);
31 }