| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?xml version="1.0"?>
- <!--
- /**
- * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License").
- * You may not use this file except in compliance with the License.
- * A copy of the License is located at
- *
- * http://aws.amazon.com/apache2.0
- *
- * or in the "license" file accompanying this file. This file is distributed
- * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
- * express or implied. See the License for the specific language governing
- * permissions and limitations under the License.
- */
- -->
- <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\CartInterface">
- <attribute code="amazon_order_reference_id" type="Amazon\Payment\Api\Data\QuoteLinkInterface">
- <join reference_table="amazon_quote" reference_field="quote_id" join_on_field="entity_id">
- <field>amazon_order_reference_id</field>
- <field>quote_id</field>
- <field>sandbox_simulation_reference</field>
- <field>confirmed</field>
- </join>
- </attribute>
- </extension_attributes>
- <extension_attributes for="Magento\Sales\Api\Data\OrderInterface">
- <attribute code="amazon_order_reference_id" type="Amazon\Payment\Api\Data\OrderLinkInterface">
- <join reference_table="amazon_sales_order" reference_field="order_id" join_on_field="entity_id">
- <field>amazon_order_reference_id</field>
- <field>order_id</field>
- </join>
- </attribute>
- </extension_attributes>
- </config>
|