1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Quote\Api\Data;
/**
* Interface ShippingAssignmentInterface
* @api
* @since 100.0.2
*/
interface ShippingAssignmentInterface extends \Magento\Framework\Api\ExtensibleDataInterface
{
/**
* @return \Magento\Quote\Api\Data\ShippingInterface
*/
public function getShipping();
/**
* @param ShippingInterface $value
* @return \Magento\Quote\Api\Data\ShippingInterface
*/
public function setShipping(\Magento\Quote\Api\Data\ShippingInterface $value);
/**
* @return \Magento\Quote\Api\Data\CartItemInterface[]
*/
public function getItems();
/**
* @param \Magento\Quote\Api\Data\CartItemInterface[] $value
* @return mixed
*/
public function setItems($value);
/**
* Retrieve existing extension attributes object or create a new one.
*
* @return \Magento\Quote\Api\Data\ShippingAssignmentExtensionInterface|null
*/
public function getExtensionAttributes();
/**
* Set an extension attributes object.
*
* @param \Magento\Quote\Api\Data\ShippingAssignmentExtensionInterface $extensionAttributes
* @return $this
*/
public function setExtensionAttributes(
\Magento\Quote\Api\Data\ShippingAssignmentExtensionInterface $extensionAttributes
);
}