114 lines
3.3 KiB
XML
114 lines
3.3 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!-- Schema file written by PDE -->
|
|
<schema targetNamespace="org.adempiere.base" xmlns="http://www.w3.org/2001/XMLSchema">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.schema plugin="org.adempiere.base" id="org.adempiere.model.ITaxProvider" name="Tax Provider"/>
|
|
</appinfo>
|
|
<documentation>
|
|
Extension to provide tax integration through specific tax provider implementation
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<element name="extension">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.element />
|
|
</appinfo>
|
|
</annotation>
|
|
<complexType>
|
|
<choice>
|
|
<element ref="provider"/>
|
|
</choice>
|
|
<attribute name="point" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="id" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="name" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="provider">
|
|
<complexType>
|
|
<attribute name="priority" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
numeric priority value, higher value is of higher priority
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="class" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="java" basedOn=":org.adempiere.model.ITaxProvider"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="since"/>
|
|
</appinfo>
|
|
<documentation>
|
|
1.0.0
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="examples"/>
|
|
</appinfo>
|
|
<documentation>
|
|
<pre>
|
|
<extension
|
|
id="org.adempiere.model.StandardTaxProvider"
|
|
name="Standard Tax Provider"
|
|
point="org.adempiere.model.ITaxProvider">
|
|
<provider
|
|
class="org.adempiere.model.StandardTaxProvider"
|
|
priority="0">
|
|
</provider>
|
|
</extension>
|
|
|
|
C_TaxProvider.TaxProviderClass="org.adempiere.model.StandardTaxProvider"
|
|
</pre>
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="apiinfo"/>
|
|
</appinfo>
|
|
<documentation>
|
|
The class attribute must implement the org.adempiere.model.ITaxProvider class.
|
|
</documentation>
|
|
</annotation>
|
|
|
|
|
|
|
|
</schema>
|