1 <?php
2
3 /* --------------------------------------------------------------
4 OrderItemAttributeRepositoryDeleterInterface.inc.php 2015-10-28 gm
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 OrderItemAttributeRepositoryDeleterInterface
15 *
16 * @category System
17 * @package Order
18 * @subpackage Interfaces
19 */
20 interface OrderItemAttributeRepositoryDeleterInterface
21 {
22 /**
23 * Removes an attribute by the given order item attribute ID.
24 *
25 * @param IdType $orderItemAttributeId ID of the order item attribute.
26 *
27 * @return OrderItemAttributeRepositoryDeleterInterface Same instance for method chaining.
28 */
29 public function deleteAttributeById(IdType $orderItemAttributeId);
30
31
32 /**
33 * Removes all attributes from the order item by the given order item ID.
34 *
35 * @param IdType $orderItemId ID of the order item.
36 *
37 * @return OrderItemAttributeRepositoryDeleterInterface Same instance for method chaining.
38 */
39 public function deleteAttributesByOrderItemId(IdType $orderItemId);
40 }