Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/vendor/magento/module-quote/Model/Quote/Item/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/module-quote/Model/Quote/Item/CartItemProcessorInterface.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
namespace Magento\Quote\Model\Quote\Item;

use Magento\Quote\Api\Data\CartItemInterface;

/**
 * Interface CartItemProcessorInterface
 *
 * @api
 */
interface CartItemProcessorInterface
{
    /**
     * Convert cart item to buy request object
     *
     * @param CartItemInterface $cartItem
     * @return \Magento\Framework\DataObject|null
     */
    public function convertToBuyRequest(CartItemInterface $cartItem);

    /**
     * Process cart item product/custom options
     *
     * @param CartItemInterface $cartItem
     * @return CartItemInterface
     */
    public function processOptions(CartItemInterface $cartItem);
}