<?xml version="1.0"?>
<!--
/**
 * BSS Commerce Co.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://bsscommerce.com/Bss-Commerce-License.txt
 *
 * @category   BSS
 * @package    Bss_CustomerAttributes
 * @author     Extension Team
 * @copyright  Copyright (c) 2018-2021 BSS Commerce Co. ( http://bsscommerce.com )
 * @license    http://bsscommerce.com/Bss-Commerce-License.txt
 */
-->

<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\AddressInterface">
        <attribute code="custom_field" type="string" />
    </extension_attributes>

    <extension_attributes for="Magento\Sales\Api\Data\OrderAddressInterface">
        <attribute code="custom_address" type="Magento\Framework\Api\AttributeInterface[]" />
    </extension_attributes>

    <extension_attributes for="Magento\Sales\Api\Data\ShippingInterface">
        <attribute code="custom_address" type="Magento\Framework\Api\AttributeInterface[]" />
    </extension_attributes>

    <extension_attributes for="Magento\Sales\Api\Data\OrderInterface">
        <attribute code="customer_attribute" type="Magento\Framework\Api\AttributeInterface[]"/>
    </extension_attributes>
</config>
