Skip to content

Commit

Permalink
Merge pull request PHOENIX-MEDIA#33 from tawfekov/master
Browse files Browse the repository at this point in the history
add cod_fee , base_cod_fee attributes to webservices
  • Loading branch information
PHOENIX MEDIA GmbH authored Apr 11, 2018
2 parents 22daa6e + db91efd commit 4e54ffd
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
17 changes: 17 additions & 0 deletions app/code/community/Phoenix/CashOnDelivery/etc/wsdl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:typens="urn:{{var wsdl.name}}" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/"
name="{{var wsdl.name}}" targetNamespace="urn:{{var wsdl.name}}">
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Magento">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"
schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="salesOrderEntity">
<all>
<element name="cod_fee" type="xsd:string" minOccurs="0"/>
<element name="base_cod_fee" type="xsd:string" minOccurs="0"/>
</all>
</complexType>
</schema>
</types>
</definitions>
19 changes: 19 additions & 0 deletions app/code/community/Phoenix/CashOnDelivery/etc/wsi.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:typens="urn:{{var wsdl.name}}"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
name="{{var wsdl.name}}"
targetNamespace="urn:{{var wsdl.name}}">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:{{var wsdl.name}}">
<xsd:complexType name="salesOrderEntity">
<xsd:sequence>
<xsd:element name="cod_fee" type="xsd:string" minOccurs="0" />
<xsd:element name="base_cod_fee" type="xsd:string" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
</wsdl:definitions>

0 comments on commit 4e54ffd

Please sign in to comment.