12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?xml version="1.0" encoding="utf-8" ?>
- <!--
- @copyright Vertex. All rights reserved. https://www.vertexinc.com/
- @author Mediotype https://www.mediotype.com/
- -->
- <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
- <extension_attributes for="Magento\Customer\Api\Data\CustomerInterface">
- <attribute code="vertex_customer_code" type="string"/>
- </extension_attributes>
- <extension_attributes for="Magento\Tax\Api\Data\QuoteDetailsItemInterface">
- <attribute code="vertex_product_code" type="string"/>
- <attribute code="vertex_is_configurable" type="bool"/>
- </extension_attributes>
- <extension_attributes for="Magento\Sales\Api\Data\OrderItemInterface">
- <attribute code="vertex_tax_codes" type="string[]"/>
- <attribute code="invoice_text_codes" type="string[]"/>
- <attribute code="tax_codes" type="string[]"/>
- </extension_attributes>
- <extension_attributes for="Magento\Sales\Api\Data\CreditmemoItemInterface">
- <attribute code="vertex_tax_codes" type="string[]"/>
- <attribute code="invoice_text_codes" type="string[]"/>
- <attribute code="tax_codes" type="string[]"/>
- </extension_attributes>
- <extension_attributes for="Magento\Sales\Api\Data\InvoiceItemInterface">
- <attribute code="vertex_tax_codes" type="string[]"/>
- <attribute code="invoice_text_codes" type="string[]"/>
- <attribute code="tax_codes" type="string[]"/>
- </extension_attributes>
- <extension_attributes for="Magento\Sales\Api\Data\InvoiceItemInterface">
- <attribute code="vertex_tax_codes" type="string[]" />
- <attribute code="invoice_text_codes" type="string[]" />
- <attribute code="tax_codes" type="string[]" />
- </extension_attributes>
- <extension_attributes for="Magento\Quote\Api\Data\TotalSegmentInterface">
- <attribute code="vertex_tax_calculation_messages" type="string[]"/>
- </extension_attributes>
- <!-- Passes data to InvoiceProcessors during invoice save event -->
- <extension_attributes for="Magento\Sales\Api\Data\InvoiceInterface">
- <attribute code="vertex_tax_calculation_shipping_address" type="Magento\Sales\Api\Data\OrderAddressInterface"/>
- <attribute code="vertex_tax_calculation_billing_address" type="Magento\Sales\Api\Data\OrderAddressInterface"/>
- <attribute code="vertex_tax_calculation_order" type="Magento\Sales\Api\Data\OrderInterface"/>
- </extension_attributes>
- <!-- For compatibility with Magento 2.1 -->
- <extension_attributes for="Magento\Sales\Api\Data\InvoiceInterface">
- <attribute code="gw_base_price" type="string"/>
- <attribute code="gw_price" type="string"/>
- <attribute code="gw_items_base_price" type="string"/>
- <attribute code="gw_items_price" type="string"/>
- <attribute code="gw_card_base_price" type="string"/>
- <attribute code="gw_card_price" type="string"/>
- <attribute code="gw_base_tax_amount" type="string"/>
- <attribute code="gw_tax_amount" type="string"/>
- <attribute code="gw_items_base_tax_amount" type="string"/>
- <attribute code="gw_items_tax_amount" type="string"/>
- <attribute code="gw_card_base_tax_amount" type="string"/>
- <attribute code="gw_card_tax_amount" type="string"/>
- </extension_attributes>
- <extension_attributes for="Magento\Sales\Api\Data\CreditmemoInterface">
- <attribute code="gw_base_price" type="string"/>
- <attribute code="gw_price" type="string"/>
- <attribute code="gw_items_base_price" type="string"/>
- <attribute code="gw_items_price" type="string"/>
- <attribute code="gw_card_base_price" type="string"/>
- <attribute code="gw_card_price" type="string"/>
- <attribute code="gw_base_tax_amount" type="string"/>
- <attribute code="gw_tax_amount" type="string"/>
- <attribute code="gw_items_base_tax_amount" type="string"/>
- <attribute code="gw_items_tax_amount" type="string"/>
- <attribute code="gw_card_base_tax_amount" type="string"/>
- <attribute code="gw_card_tax_amount" type="string"/>
- </extension_attributes>
- <!-- End Compatibility -->
- </config>
|