<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
    <extension_attributes for="Magento\Quote\Api\Data\CartItemInterface">
        <attribute code="discounts" type="Magento\SalesRule\Api\Data\RuleDiscountInterface[]" />
    </extension_attributes>
    <extension_attributes for="Magento\Quote\Api\Data\AddressInterface">
        <attribute code="discounts" type="Magento\SalesRule\Api\Data\RuleDiscountInterface[]" />
    </extension_attributes>
    <extension_attributes for="Magento\Catalog\Api\Data\ProductInterface">
        <attribute code="discounts" type="Magento\SalesRule\Api\Data\RuleDiscountInterface[]" />
    </extension_attributes>
</config>
