27 lines
		
	
	
		
			720 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			720 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
<?php
 | 
						|
namespace Magento\Quote\Api\Data;
 | 
						|
 | 
						|
/**
 | 
						|
 * Extension class for @see \Magento\Quote\Api\Data\CartInterface
 | 
						|
 */
 | 
						|
class CartExtension extends \Magento\Framework\Api\AbstractSimpleObject implements CartExtensionInterface
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * @return \Magento\Quote\Api\Data\ShippingAssignmentInterface[]|null
 | 
						|
     */
 | 
						|
    public function getShippingAssignments()
 | 
						|
    {
 | 
						|
        return $this->_get('shipping_assignments');
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @param \Magento\Quote\Api\Data\ShippingAssignmentInterface[] $shippingAssignments
 | 
						|
     * @return $this
 | 
						|
     */
 | 
						|
    public function setShippingAssignments($shippingAssignments)
 | 
						|
    {
 | 
						|
        $this->setData('shipping_assignments', $shippingAssignments);
 | 
						|
        return $this;
 | 
						|
    }
 | 
						|
}
 |