Yfs_Ecomm - Version 1.0.4

Version Notes

Bug fixes in sync process,inventory update and order status update

Download this release

Release Info

Developer Jayneel
Extension Yfs_Ecomm
Version 1.0.4
Comparing to
See all releases


Code changes from version 1.0.3 to 1.0.4

app/code/local/Yfs/Ecomm/Helper/Data.php CHANGED
@@ -1,8 +1,5 @@
1
  <?php
2
-
3
- class Yfs_Ecomm_Helper_Data extends Mage_Core_Helper_Abstract{
4
-
5
-
6
-
7
-
8
- }
1
  <?php
2
+ class Yfs_Ecomm_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ }
5
+ ?>
 
 
 
app/code/local/Yfs/Ecomm/Model/Catalog/Api.php DELETED
@@ -1,129 +0,0 @@
1
- <?php
2
-
3
- class Yfs_Ecomm_Model_Catalog_Api extends Mage_Api_Model_Resource_Abstract
4
- {
5
- function _getOptionLabel($arg_attribute,$optionId)
6
- {
7
- $attribute_model = Mage::getModel('eav/entity_attribute');
8
- $attribute_options_model= Mage::getModel('eav/entity_attribute_source_table') ;
9
-
10
- $attribute_code = $attribute_model->getIdByCode('catalog_product', $arg_attribute);
11
- $attribute = $attribute_model->load($attribute_code);
12
-
13
- $attribute_table = $attribute_options_model->setAttribute($attribute);
14
- $options = $attribute_options_model->getAllOptions(false);
15
-
16
- foreach($options as $option)
17
- {
18
- if ($option['value'] == $optionId)
19
- {
20
- $optionId = $option['label'];
21
- break;
22
- }
23
- }
24
- return $optionId;
25
- }
26
- function _getAttributeType($attribute_code)
27
- {
28
- $attribute = Mage::getModel( 'eav/config' )->getAttribute( 'catalog_product' , $attribute_code );
29
- return $attribute->getFrontendInput();
30
- }
31
- public function getProductsCount()
32
- {
33
- $collection = Mage::getModel('catalog/product')->getCollection()->
34
- addAttributeToFilter('type_id', array('eq' => 'simple'))->
35
- addAttributeToFilter('status',array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED))->getSize();
36
- return $collection;
37
- }
38
- public function getProducts()
39
- {
40
- $collection = Mage::getResourceModel('catalog/product_collection')->
41
- addAttributeToFilter('type_id', array('eq' => 'simple'))->
42
- addAttributeToFilter('status',array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED))->getAllIds();
43
- return $collection;
44
- }
45
- public function getProductInfo($id, $attributes = null, $size = null, $filters = null)
46
- {
47
- $pro = Mage::getModel('catalog/product')->load($id);
48
- $visibility = $pro->getVisibility();
49
- if($visibility == 1)
50
- {
51
- $parentId = Mage::getResourceSingleton('catalog/product_type_configurable')->getParentIdsByChild($id);
52
- $product = Mage::getModel('catalog/product')->load($parentId);
53
- }
54
- else
55
- {
56
- $product = $pro;
57
- }
58
- $prodInfo = array();
59
- $prodInfo['id'] = $pro->getId();
60
- $prodInfo['name'] = $pro->getName();
61
- $prodInfo['sku'] = $pro->getSku();
62
- $prodInfo['description'] = $product->getDescription();
63
- $prodInfo['price'] = $product->getPrice();
64
- /*foreach($attributes as $attribute)
65
- {
66
- if($this->_getAttributeType($attribute) == 'select')
67
- {
68
- $label = $this->_getOptionLabel($attribute,$product->getData($attribute));
69
- $prodInfo[$attribute] = $label;
70
- }
71
- else
72
- $prodInfo[$attribute] = $product->getData($attribute);
73
- }
74
- if($size)
75
- {
76
- if($this->_getAttributeType($size) == 'select')
77
- {
78
- $label = $this->_getOptionLabel($size,$pro->getData($size));
79
- $prodInfo[$size] = $label;
80
- }
81
- else
82
- $prodInfo[$size] = $pro->getData($size);
83
- }*/
84
-
85
- return $prodInfo;
86
- }
87
-
88
- public function updateProduct($sku, $price = null, $quantity = null)
89
- {
90
- $product1 = Mage::getModel('catalog/product')->loadByAttribute('sku', $sku);
91
- if($product1)
92
- {
93
- $product = Mage::getModel('catalog/product')->load($product1->getId());
94
- if($product)
95
- {
96
-
97
- $product->setPrice($price);
98
-
99
- $stockItem = $product->getStockItem();
100
- $stockItem->setData('qty', $quantity);
101
-
102
- if($stockItem->save() && $product->save())
103
- {
104
- return true;
105
- }
106
- else
107
- {
108
- return false;
109
- }
110
- }
111
- }
112
- else
113
- {
114
- return false;
115
- }
116
- }
117
-
118
- public function isExtensionEnabled()
119
- {
120
- return Mage::getStoreConfig('ecomm/ecomm/allow');
121
- }
122
-
123
- public function Timezone()
124
- {
125
- $timezone = Mage::app()->getStore()->getConfig('general/locale/timezone');
126
- return $timezone;
127
- }
128
- }
129
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Yfs/Ecomm/Model/Catalog/Api/V2.php ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Yfs_Ecomm_Model_Catalog_Api_V2 extends Mage_Catalog_Model_Product_Api_V2
3
+ {
4
+ public function getProductCount()
5
+ {
6
+ $collection = Mage::getModel('catalog/product')->getCollection()->
7
+ addAttributeToFilter('type_id', array('eq' => 'simple'))->
8
+ addAttributeToFilter('status',array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED))->getSize();
9
+ return $collection;
10
+ }
11
+ public function getProductList($productId = null,$limit = null,$filters = null, $store = null)
12
+ {
13
+ if(!$productId)
14
+ $productId = 0;
15
+ if(!$limit)
16
+ $limit = 100;
17
+ if(!$store)
18
+ $storeId = Mage::app()->getWebsite(true)->getDefaultGroup()->getDefaultStoreId();
19
+ else
20
+ $storeId = $this->_getStoreId($store);
21
+
22
+ $collection = Mage::getModel('catalog/product')->getCollection()
23
+ ->addStoreFilter($storeId)->addFieldToFilter('entity_id',array('gt' => $productId))
24
+ ->addAttributeToSelect('name')->setPageSize($limit);
25
+
26
+ if (is_array($filters)) {
27
+ try {
28
+ foreach ($filters as $field => $value) {
29
+ if (isset($this->_filtersMap[$field])) {
30
+ $field = $this->_filtersMap[$field];
31
+ }
32
+
33
+ $collection->addFieldToFilter($field, $value);
34
+ }
35
+ } catch (Mage_Core_Exception $e) {
36
+ $this->_fault('filters_invalid', $e->getMessage());
37
+ }
38
+ }
39
+
40
+ $result = array();
41
+
42
+ foreach ($collection as $product1) {
43
+ $parentId = Null;
44
+ $parentSku = Null;
45
+ $product = Mage::helper('catalog/product')->getProduct($product1->getId(), $storeId);
46
+ if($product->getTypeId() == "simple")
47
+ $parentId = Mage::getResourceSingleton('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
48
+ if(isset($parentId[0]))
49
+ {
50
+ $model = Mage::helper('catalog/product')->getProduct($parentId[0], $storeId);
51
+ $parentSku = $model->getSku();
52
+ }
53
+ $result[] = array( // Basic product data
54
+ 'product_id' => $product->getId(),
55
+ 'sku' => $product->getSku(),
56
+ 'name' => $product->getName(),
57
+ 'short_description' => $product->getShortDescription(),
58
+ 'price' => $product->getFinalPrice(),
59
+ 'qty' => $product->getStockItem()->getQty(),
60
+ 'set' => $product->getAttributeSetId(),
61
+ 'type' => $product->getTypeId(),
62
+ 'created_at' => $product->getCreatedAt(),
63
+ 'category_ids' => $product->getCategoryIds(),
64
+ 'parent_sku' => $parentSku
65
+ );
66
+ }
67
+
68
+ return $result;
69
+ }
70
+ public function updateProduct($sku, $price = null, $quantity = null)
71
+ {
72
+ $product1 = Mage::getModel('catalog/product')->loadByAttribute('sku', $sku);
73
+ if($product1)
74
+ {
75
+ $product = Mage::getModel('catalog/product')->load($product1->getId());
76
+ if($product)
77
+ {
78
+ $product->setPrice($price);
79
+ $stockItem = $product->getStockItem();
80
+ $stockItem->setData('qty', $quantity);
81
+ if($stockItem->save() && $product->save())
82
+ {
83
+ return true;
84
+ }
85
+ else
86
+ {
87
+ return false;
88
+ }
89
+ }
90
+ }
91
+ else
92
+ {
93
+ return false;
94
+ }
95
+ }
96
+ protected function _getStoreId($store = null)
97
+ {
98
+ if (is_null($store)) {
99
+ $store = ($this->_getSession()->hasData($this->_storeIdSessionField)
100
+ ? $this->_getSession()->getData($this->_storeIdSessionField) : 0);
101
+ }
102
+
103
+ try {
104
+ $storeId = Mage::app()->getStore($store)->getId();
105
+ } catch (Mage_Core_Model_Store_Exception $e) {
106
+ $this->_fault('store_not_exists');
107
+ }
108
+
109
+ return $storeId;
110
+ }
111
+ public function extensionEnabled()
112
+ {
113
+ return Mage::getStoreConfig('ecomm/ecomm/allow');
114
+ }
115
+ }
116
+ ?>
app/code/local/Yfs/Ecomm/Model/Customer/Api.php DELETED
@@ -1,25 +0,0 @@
1
- <?php
2
- class Yfs_Ecomm_Model_Customer_Api extends Mage_Api_Model_Resource_Abstract
3
- {
4
- public function getCustomerCount()
5
- {
6
- $output = Mage::getResourceModel('customer/customer_collection')->getAllIds();
7
- return sizeof($output);
8
- }
9
- public function getCustomerIds()
10
- {
11
- return Mage::getResourceModel('customer/customer_collection')->getAllIds();
12
- }
13
- public function getCustomerInfo($customerId)
14
- {
15
- $customer = Mage::getModel('customer/customer')->load($customerId);
16
- $custInfo = array();
17
- $custInfo = $customer->getData();
18
- foreach($customer->getAddresses() as $address)
19
- {
20
- $custInfo['addresses'][] = $address->getData();
21
- }
22
- return $custInfo;
23
- }
24
- }
25
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Yfs/Ecomm/Model/Customer/Api/V2.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Yfs_Ecomm_Model_Customer_Api_V2 extends Mage_Customer_Model_Customer_Api_V2
3
+ {
4
+ public function getCustomerCount()
5
+ {
6
+ $output = Mage::getResourceModel('customer/customer_collection')->getAllIds();
7
+ return sizeof($output);
8
+ }
9
+ public function getCustomerList($customerId = null,$limit = null, $filters)
10
+ {
11
+ if(!$customerId)
12
+ $customerId = 0;
13
+ if(!$limit)
14
+ $limit = 100;
15
+ $collection = Mage::getModel('customer/customer')->getCollection()
16
+ ->addAttributeToSelect('*')->addFieldToFilter('entity_id',array('gt' => $customerId))->setPageSize($limit);
17
+ if (is_array($filters)) {
18
+ try {
19
+ foreach ($filters as $field => $value) {
20
+ if (isset($this->_mapAttributes[$field])) {
21
+ $field = $this->_mapAttributes[$field];
22
+ }
23
+
24
+ $collection->addFieldToFilter($field, $value);
25
+ }
26
+ } catch (Mage_Core_Exception $e) {
27
+ $this->_fault('filters_invalid', $e->getMessage());
28
+ }
29
+ }
30
+
31
+ $result = array();
32
+ foreach ($collection as $customer) {
33
+ $data = $customer->toArray();
34
+ $row = array();
35
+
36
+ foreach ($this->_mapAttributes as $attributeAlias => $attributeCode) {
37
+ $row[$attributeAlias] = (isset($data[$attributeCode]) ? $data[$attributeCode] : null);
38
+ }
39
+
40
+ foreach ($this->getAllowedAttributes($customer) as $attributeCode => $attribute) {
41
+ if (isset($data[$attributeCode])) {
42
+ $row[$attributeCode] = $data[$attributeCode];
43
+ }
44
+ }
45
+
46
+ foreach($customer->getAddresses() as $address)
47
+ {
48
+ $row['addresses'][] = $address->getData();
49
+ }
50
+ $result[] = $row;
51
+ }
52
+ return $result;
53
+ }
54
+ public function getAllowedAttributes($entity, array $filter = null)
55
+ {
56
+ $attributes = $entity->getResource()
57
+ ->loadAllAttributes($entity)
58
+ ->getAttributesByCode();
59
+ $result = array();
60
+ foreach ($attributes as $attribute) {
61
+ if ($this->_isAllowedAttribute($attribute, $filter)) {
62
+ $result[$attribute->getAttributeCode()] = $attribute;
63
+ }
64
+ }
65
+ return $result;
66
+ }
67
+ protected function _isAllowedAttribute($attribute, array $filter = null)
68
+ {
69
+ if (!is_null($filter)
70
+ && !( in_array($attribute->getAttributeCode(), $filter)
71
+ || in_array($attribute->getAttributeId(), $filter))) {
72
+ return false;
73
+ }
74
+ return !in_array($attribute->getFrontendInput(), $this->_ignoredAttributeTypes)
75
+ && !in_array($attribute->getAttributeCode(), $this->_ignoredAttributeCodes);
76
+ }
77
+ }
78
+ ?>
app/code/local/Yfs/Ecomm/Model/Sales/Api.php DELETED
@@ -1,407 +0,0 @@
1
- <?php
2
- class Yfs_Ecomm_Model_Sales_Api extends Mage_Api_Model_Resource_Abstract
3
- {
4
- public function getOrderIncrementIdCount($date_from = null,$date_to = null)
5
- {
6
- $tableName = Mage::getSingleton('core/resource')->getTableName('sales_flat_order');
7
-
8
- $resource = Mage::getSingleton('core/resource');
9
- $readConnection = $resource->getConnection('core_read');
10
- if($date_from)
11
- {
12
- $query = "SELECT COUNT('increment_id') FROM ".$tableName." where created_at BETWEEN '" . $date_from . "' AND '" . $date_to . "'";
13
- }
14
- else
15
- {
16
- $query = "SELECT COUNT('increment_id') FROM ".$tableName;
17
- }
18
-
19
- $result = $readConnection->fetchAll($query);
20
- return $result[0]["COUNT('increment_id')"];
21
- }
22
- public function getTaxConfig()
23
- {
24
- $tableName = Mage::getSingleton('core/resource')->getTableName('core_config_data');
25
-
26
- $resource = Mage::getSingleton('core/resource');
27
- $readConnection = $resource->getConnection('core_read');
28
- $query1 = "SELECT value FROM ".$tableName." WHERE `path` LIKE 'tax/calculation/price_includes_tax'";
29
- $result1 = $readConnection->fetchAll($query1);
30
-
31
- $tax_config = array();
32
-
33
- $query2 = "SELECT value FROM ".$tableName." WHERE `path` LIKE 'tax/calculation/shipping_includes_tax'";
34
- $result2 = $readConnection->fetchAll($query2);
35
-
36
- if($result1[0]['value'] == 1)
37
- $tax_config['price'] = 'inward';
38
- else
39
- $tax_config['price'] = 'outward';
40
- if($result2[0]['value'] == 1)
41
- $tax_config['shipping'] = 'inward';
42
- else
43
- $tax_config['shipping'] = 'outward';
44
- return $tax_config;
45
-
46
- }
47
- public function getOrderIncrementIds($lastIncrementId,$date_from = null,$date_to = null)
48
- {
49
- $tableName = Mage::getSingleton('core/resource')->getTableName('sales_flat_order');
50
-
51
- $resource = Mage::getSingleton('core/resource');
52
- $readConnection = $resource->getConnection('core_read');
53
- $lastRecordId = 0;
54
- if($lastIncrementId)
55
- {
56
- $getLastRecordQuery = "SELECT entity_id FROM ".$tableName." WHERE increment_id = ".$lastIncrementId;
57
- $getLastRecord = $readConnection->fetchAll($getLastRecordQuery);
58
- $lastRecordId = $getLastRecord[0]['entity_id'];
59
- }
60
-
61
- if($date_from)
62
- {
63
- if($lastRecordId)
64
- $query = "SELECT increment_id FROM ".$tableName." WHERE entity_id > ".$lastRecordId." AND created_at BETWEEN '" . $date_from . "' AND '" . $date_to . "' LIMIT 1000" ;
65
- else
66
- $query = "SELECT increment_id FROM ".$tableName." where created_at BETWEEN '" . $date_from . "' AND '" . $date_to . "' LIMIT 1000" ;
67
- }
68
- else
69
- {
70
- if($lastRecordId)
71
- $query = "SELECT increment_id FROM ".$tableName." WHERE entity_id > ".$lastRecordId." LIMIT 1000" ;
72
- else
73
- $query = "SELECT increment_id FROM ".$tableName." LIMIT 1000" ;
74
- }
75
-
76
- $result = $readConnection->fetchAll($query);
77
- $increment_ids = array();
78
- foreach($result as $order)
79
- {
80
- $increment_ids[] = $order['increment_id'];
81
- }
82
- return array('count' => sizeof($result),'increment_ids' => $increment_ids);
83
- }
84
- public function getOrderInfo($increment_id,$filters = null)
85
- {
86
- //load order using the increment id
87
-
88
- $order = Mage::getModel('sales/order')
89
- ->getCollection()
90
- ->addAttributeToFilter('increment_id', $increment_id)
91
- ->getFirstItem();
92
-
93
- $orderInfo = array();
94
-
95
- $shippingId = $order->getShippingAddress()->getId();
96
- $billingId = $order->getBillingAddress()->getId();
97
-
98
- $shippingAddress = Mage::getModel('sales/order_address')->load($shippingId);
99
- $billingAddress = Mage::getModel('sales/order_address')->load($billingId);
100
-
101
- $orderInfo['increment_id'] = $order->getData('increment_id');
102
-
103
- $orderInfo['created_at'] = $order->getData('created_at');
104
- $orderInfo['updated_at'] = $order->getData('updated_at');
105
- $orderInfo['status'] = $order->getData('status');
106
- $orderInfo['customer_first_name'] = $order->getData('customer_firstname');
107
- $orderInfo['customer_middle_name'] = $order->getData('customer_middlename');
108
- $orderInfo['customer_last_name'] = $order->getData('customer_lastname');
109
- $orderInfo['customer_email'] = $order->getData('customer_email');
110
-
111
- $orderInfo['shipping_address'] = $shippingAddress->getData();
112
- $orderInfo['billing_address'] = $billingAddress->getData();
113
- $orderInfo['shipping_method'] = $order->getData('shipping_method');
114
-
115
- $orderInfo['shipping_charges'] = $order->getShippingAmount();
116
- $orderInfo['subtotal'] = $order->getData('subtotal');
117
- $orderInfo['tax'] = $order->getData('base_tax_amount');
118
- $orderInfo['discount'] = $order->getData('base_discount_amount');
119
- $orderInfo['row_total'] = $order->getData('row_total');
120
- $orderInfo['order_totals'] = $order->getData('base_grand_total');
121
- $shipmentCollection = Mage::getResourceModel('sales/order_shipment_collection')->setOrderFilter($order)->load();
122
- foreach ($shipmentCollection as $shipment)
123
- {
124
- foreach($shipment->getAllTracks() as $tracknum)
125
- {
126
- $tracknums[]=$tracknum->getNumber();
127
- }
128
- }
129
- $orderInfo['tracking_numbers'] = $tracknums;
130
-
131
- $comments = array();
132
- $orderComments = $order->getAllStatusHistory();
133
- foreach ($orderComments as $comment)
134
- {
135
- $comments[] = $comment->getData('comment');
136
- }
137
- $orderInfo['comments'] = $comments;
138
- $payment = $order->getPayment();
139
- $method = $payment->getMethodInstance();
140
- $orderInfo['payment'] = $method->getTitle();
141
- if($order->getData('cod_fee'))
142
- $orderInfo['payment_charges'] = $order->getData('cod_fee');
143
- else
144
- $orderInfo['payment_charges'] = 0;
145
-
146
- $items = $order->getAllItems();
147
- $orderToSend = array();
148
- $count = 1;
149
- foreach($items as $key => $item)
150
- {
151
- $product = Mage::getModel('catalog/product')->load($item->getProductId());
152
- if($product && $product->getTypeId()=='simple')
153
- {
154
- $itemToSend['item']['id'] = $item->getItemId();
155
- $itemToSend['item']['name'] = $item->getName();
156
- $itemToSend['item']['sku'] = $item->getSku();
157
- $itemToSend['item']['qty'] = 1;//$item->getQtyOrdered();
158
- if($product->getData('visibility') == 1)
159
- {
160
- $itemToSend['item']['price'] = $items[$key-1]->getPrice();
161
- $itemToSend['item']['discount_amount'] = $items[$key-1]->getData('discount_amount');
162
- $itemToSend['item']['discount_percent'] = $items[$key-1]->getData('discount_percent');
163
- }
164
- else
165
- {
166
- $itemToSend['item']['price'] = $item->getPrice();
167
- $itemToSend['item']['discount_amount'] = $item->getData('discount_amount');
168
- $itemToSend['item']['discount_percent'] = $item->getData('discount_percent');
169
- }
170
- for($i = 0 ; $i < $item->getQtyOrdered(); $i++)
171
- {
172
- $orderToSend[$count]['item'] = $itemToSend['item'];
173
- $orderInfo['increment_id_new'] = $orderInfo['increment_id'].'_'.($count);
174
- $orderToSend[$count]['order'] = $orderInfo;
175
- $count++;
176
- }
177
- }
178
- }
179
-
180
- return $orderToSend;
181
- }
182
-
183
-
184
- protected $pendingOrders = array();
185
-
186
- public function _getOptionLabel($arg_attribute,$optionId)
187
- {
188
- $attribute_model = Mage::getModel('eav/entity_attribute');
189
- $attribute_options_model= Mage::getModel('eav/entity_attribute_source_table') ;
190
- $attribute_code = $attribute_model->getIdByCode('catalog_product', $arg_attribute);
191
- $attribute = $attribute_model->load($attribute_code);
192
- $attribute_table = $attribute_options_model->setAttribute($attribute);
193
- $options = $attribute_options_model->getAllOptions(false);
194
- foreach($options as $option)
195
- {
196
- if ($option['value'] == $optionId)
197
- {
198
- $optionId = $option['label'];
199
- break;
200
- }
201
- }
202
- return $optionId;
203
- }
204
-
205
-
206
- public function getOrderByStatus($status,$fromDate,$toDate)
207
- {
208
- switch ($status)
209
- {
210
- case 'pending' : break;
211
- //default: return "Invalid Order status";
212
- }
213
-
214
- try
215
- {
216
-
217
- $orders=Mage::getModel('sales/mysql4_order_collection');
218
- //Optional filters you might want to use - more available operations in method _getConditionSql in Varien_Data_Collection_Db.
219
- $orders->addFieldToFilter('status',Array('eq'=>$status));
220
- $orders->addAttributeToFilter('created_at', array('from'=>$fromDate, 'to'=>$toDate));
221
- $allIds = $orders->getAllIds();
222
- if(empty($allIds)) return $pendingOrders;
223
- $orderIndex = 0;
224
- foreach($allIds as $thisId)
225
- {
226
- $myOrder=Mage::getModel('sales/order');
227
- $tempOrder = $myOrder->load($thisId);
228
- $orderData = $tempOrder->getData();
229
- $shippingAdd = $tempOrder->getShippingAddress()->getData();
230
- $paymentData =$tempOrder->getPayment()->getData();
231
- $pOrder = array();
232
- $pendingItems = array();
233
- $itemIndex = 0;
234
- foreach ($tempOrder->getItemsCollection() as $item)
235
- {
236
- $pItem = array();
237
- $itemData = $item->getData();
238
- $product = Mage::getModel('catalog/product')->loadByAttribute('sku',$item->getSku());
239
- $optionId = $product->getData('size');
240
- if($itemData['parent_item_id'])
241
- {
242
- continue;
243
- }
244
- $pItem['item_id'] = $itemData['item_id'];
245
- $pItem['name'] = $itemData['name'];
246
- $pItem['qty_ordered'] = $itemData['qty_ordered'];
247
- $pItem['size'] = $this->_getOptionLabel('size',$optionId);
248
- $pItem['product_type'] = $item->getProductType();
249
- $pItem['product_id'] = $itemData['product_id'];
250
- $pItem['product_options'] = $itemData['product_options'];
251
- $pItem['sku'] = $itemData['sku'];
252
- $pItem['discount_amount'] = $itemData['discount_amount'];
253
- $pItem['base_price'] = $itemData['base_price'];
254
- $pItem['base_price_incl_tax'] = $itemData['base_price_incl_tax'];
255
- $pItem['row_total_incl_tax'] = $itemData['row_total_incl_tax'];
256
- $pItem['tax_percent'] = $itemData['tax_percent'];
257
- $pItem['tax_amount' ] = $itemData['tax_amount'];
258
- $itemIndex++;
259
- $pendingItems['item'.$itemIndex] = $pItem;
260
- }
261
- $pOrder['increment_id'] = $orderData['increment_id'];
262
- $pOrder['entity_id'] = $orderData['entity_id'];
263
- $pOrder['status'] = $tempOrder->getStatus();
264
- $pOrder['grand_total'] = $orderData['grand_total'];
265
- $pOrder['billing_address_id'] = $tempOrder->getBillingAddress()->getId();
266
- $pOrder['customer_group_id'] = $orderData['customer_group_id'];
267
- $pOrder['shipping_address_id'] = $tempOrder->getShippingAddress()->getId();
268
- $pOrder['created_at'] = $orderData['created_at'];
269
- $pOrder['cod_fee'] = $orderData['cod_fee'];
270
- $pOrder['base_discount_amount'] = $orderData['base_discount_amount'];
271
- $pOrder['base_subtotal_incl_tax'] = $orderData['base_subtotal_incl_tax'];
272
- $pOrder['updated_at'] = $orderData['updated_at'];
273
- $pOrder['customer_email'] = $orderData['customer_email'];
274
- $pOrder['shipping_amount'] = $orderData['shipping_amount'];
275
- $pOrder['payment_method'] = $paymentData['method'];
276
- $pOrder['firstname'] = $shippingAdd['firstname'];
277
- $pOrder['middlename'] = $shippingAdd['middlename'];
278
- $pOrder['lastname'] = $shippingAdd['lastname'];
279
- $pOrder['street'] = $shippingAdd['street'];
280
- $pOrder['city'] = $shippingAdd['city'];
281
- $pOrder['region'] = $shippingAdd['region'];
282
- $pOrder['country_id' ] = $shippingAdd['country_id'];
283
- $pOrder['postcode'] = $shippingAdd['postcode'];
284
- $pOrder['telephone'] = $shippingAdd['telephone'];
285
- $pOrder['items'] = $pendingItems;
286
- $orderIndex++;
287
- $pendingOrders['order'.$orderIndex] = $pOrder;
288
- //if($orderIndex == 7) return $pendingOrders;
289
- }
290
- return $pendingOrders;
291
- //return $orderIndex;
292
- }
293
- catch(Exception $e)
294
- {
295
- // return $orderIndex;
296
- return $e->getMessage();
297
- }
298
-
299
- }
300
-
301
- public function updateOrderStatus($orderId,$status,$sku,$shipping_method_name,$tracking_number)
302
- {
303
- $order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
304
- $items = $order->getItemsCollection();
305
- $qtys = array();
306
- $bool = false;
307
-
308
- foreach($items as $item)
309
- {
310
- $Itemsku = $item->getSku();
311
- if(array_key_exists($Itemsku,$sku))
312
- {
313
- $qtys[$item->getId()] = $sku[$Itemsku];
314
- }
315
- }
316
-
317
- if($status == confirmed)
318
- {
319
- if($qtys)
320
- {
321
- $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice($qtys);
322
-
323
- $amount = $invoice->getGrandTotal();
324
- $invoice->register()->pay();
325
- $invoice->getOrder()->setIsInProcess(true);
326
-
327
- $history = $invoice->getOrder()->addStatusHistoryComment(
328
- 'Partial amount of $' . $amount . ' captured automatically.', false
329
- );
330
-
331
- $history->setIsCustomerNotified(true);
332
-
333
- $order->save();
334
-
335
- Mage::getModel('core/resource_transaction')
336
- ->addObject($invoice)
337
- ->addObject($invoice->getOrder())
338
- ->save();
339
- $invoice->save();
340
- $invoice->sendEmail(true, '');
341
- $bool = true;
342
- }
343
- }
344
- else if($status == shipped)
345
- {
346
- if($qtys)
347
- {
348
- $shipment = Mage::getModel('sales/service_order', $order)->prepareShipment($qtys);
349
-
350
- $arrTracking = array(
351
- 'carrier_code' => $order->getShippingCarrier()->getCarrierCode(),
352
- 'title' => isset($shipping_method_name) ? $shipping_method_name : $order->getShippingCarrier()->getConfigData('title'),
353
- 'number' => $tracking_number,
354
- );
355
-
356
- $track = Mage::getModel('sales/order_shipment_track')->addData($arrTracking);
357
- $shipment->addTrack($track);
358
-
359
- $shipment->register();
360
-
361
- $shipment->sendEmail(true)->setEmailSent(true)->save();
362
-
363
- $order->setIsInProcess(true);
364
-
365
- $transactionSave = Mage::getModel('core/resource_transaction')
366
- ->addObject($shipment)
367
- ->addObject($shipment->getOrder())
368
- ->save();
369
-
370
- $bool = true;
371
- }
372
- }
373
- else if($status == canceled)
374
- {
375
- $order->setState(Mage_Sales_Model_Order::STATE_CANCELED, true)->save();
376
- $bool = true;
377
- }
378
- else if($status == complete)
379
- {
380
- $bool = true;
381
- }
382
- if($bool)
383
- {
384
- return true;
385
- }
386
- else
387
- {
388
- return false;
389
- }
390
- }
391
-
392
- public function getOrderStatus($orderId)
393
- {
394
- $order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
395
- if($order)
396
- {
397
- $status = $order->getStatusLabel();
398
- return $status;
399
- }
400
- else
401
- {
402
- return false;
403
- }
404
- }
405
-
406
- }
407
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Yfs/Ecomm/Model/Sales/Api/V2.php ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Yfs_Ecomm_Model_Sales_Api_V2 extends Mage_Sales_Model_Order_Api_V2
3
+ {
4
+ public function getOrderCount($date_from = null,$date_to = null)
5
+ {
6
+ $tableName = Mage::getSingleton('core/resource')->getTableName('sales_flat_order');
7
+
8
+ $resource = Mage::getSingleton('core/resource');
9
+ $readConnection = $resource->getConnection('core_read');
10
+ if($date_from)
11
+ {
12
+ $query = "SELECT COUNT('increment_id') FROM ".$tableName." where created_at BETWEEN '" . $date_from . "' AND '" . $date_to . "'";
13
+ }
14
+ else
15
+ {
16
+ $query = "SELECT COUNT('increment_id') FROM ".$tableName;
17
+ }
18
+ $result = $readConnection->fetchAll($query);
19
+ return $result[0]["COUNT('increment_id')"];
20
+ }
21
+ public function getOrderList($fromDate = null,$toDate = null,$page = null, $limit = null, $resync = 1, $filters = null)
22
+ {
23
+ if(!$limit)
24
+ $limit = 100;
25
+ if(!$page)
26
+ $page = 1;
27
+ if(!$toDate)
28
+ date_default_timezone_set('UTC');
29
+ $toDate = date('Y-m-d H:i:s',strtotime("-2 min"));
30
+
31
+ //TODO: add full name logic
32
+ $billingAliasName = 'billing_o_a';
33
+ $shippingAliasName = 'shipping_o_a';
34
+
35
+ $collection = Mage::getModel("sales/order")->getCollection()
36
+ ->addAttributeToSelect('*')
37
+ ->addAddressFields()
38
+ ->addExpressionFieldToSelect(
39
+ 'billing_firstname', "{{billing_firstname}}", array('billing_firstname'=>"$billingAliasName.firstname")
40
+ )
41
+ ->addExpressionFieldToSelect(
42
+ 'billing_lastname', "{{billing_lastname}}", array('billing_lastname'=>"$billingAliasName.lastname")
43
+ )
44
+ ->addExpressionFieldToSelect(
45
+ 'shipping_firstname', "{{shipping_firstname}}", array('shipping_firstname'=>"$shippingAliasName.firstname")
46
+ )
47
+ ->addExpressionFieldToSelect(
48
+ 'shipping_lastname', "{{shipping_lastname}}", array('shipping_lastname'=>"$shippingAliasName.lastname")
49
+ )
50
+ ->addExpressionFieldToSelect(
51
+ 'billing_name',
52
+ "CONCAT({{billing_firstname}}, ' ', {{billing_lastname}})",
53
+ array('billing_firstname'=>"$billingAliasName.firstname", 'billing_lastname'=>"$billingAliasName.lastname")
54
+ )
55
+ ->addExpressionFieldToSelect(
56
+ 'shipping_name',
57
+ 'CONCAT({{shipping_firstname}}, " ", {{shipping_lastname}})',
58
+ array('shipping_firstname'=>"$shippingAliasName.firstname", 'shipping_lastname'=>"$shippingAliasName.lastname")
59
+ )
60
+ ->addAttributeToFilter('created_at', array('from' => $fromDate, 'to' => $toDate))->setPageSize($limit)->setCurPage($page);
61
+
62
+ if (is_array($filters)) {
63
+ try {
64
+ foreach ($filters as $field => $value) {
65
+ if (isset($this->_attributesMap['order'][$field])) {
66
+ $field = $this->_attributesMap['order'][$field];
67
+ }
68
+
69
+ $collection->addFieldToFilter($field, $value);
70
+ }
71
+ } catch (Mage_Core_Exception $e) {
72
+ $this->_fault('filters_invalid', $e->getMessage());
73
+ }
74
+ }
75
+
76
+ $result = array();
77
+
78
+ foreach ($collection as $order) {
79
+ $row = array();
80
+ $row = $this->_getAttributes($order, 'order');
81
+ $row['shipping_address'] = $this->_getAttributes($order->getShippingAddress(), 'order_address');
82
+ $row['billing_address'] = $this->_getAttributes($order->getBillingAddress(), 'order_address');
83
+ $row['items'] = array();
84
+
85
+ foreach ($order->getAllItems() as $key => $item) {
86
+
87
+ if ($item->getGiftMessageId() > 0) {
88
+ $item->setGiftMessage(
89
+ Mage::getSingleton('giftmessage/message')->load($item->getGiftMessageId())->getMessage()
90
+ );
91
+ }
92
+ $_product = Mage::getModel('catalog/product')->load($item->getProductId());
93
+ $itemData = $this->_getAttributes($item, 'order_item');
94
+ if($itemData['product_type'] == 'bundle')
95
+ {
96
+ $options1 = unserialize($itemData['product_options']);
97
+ if($_product)
98
+ $options1['price_type'] = $_product->getPriceType()==1;
99
+ $options = json_encode($options1);
100
+ $itemData['product_options'] = $options;
101
+ }
102
+ $row['items'][$key] = $itemData;
103
+ if($resync == 0)
104
+ {
105
+ $stock = Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product);
106
+ $row['items'][$key]['current_qty'] = $stock->getQty();
107
+ }
108
+ }
109
+ $row['payment'] = $this->_getAttributes($order->getPayment(), 'order_payment');
110
+
111
+ $row['status_history'] = array();
112
+
113
+ foreach ($order->getAllStatusHistory() as $history) {
114
+ $row['status_history'][] = $this->_getAttributes($history, 'order_status_history');
115
+ }
116
+ foreach($order->getShipmentsCollection() as $shipment)
117
+ {
118
+ $shipmentArray = array();
119
+ $shipmentId = $shipment->getId();
120
+
121
+ $shipment = Mage::getModel('sales/order_shipment')->load($shipmentId);
122
+
123
+ $shipmentArray = $this->_getAttributes($shipment, 'shipment');
124
+
125
+ $shipmentArray['items'] = array();
126
+ foreach ($shipment->getAllItems() as $item) {
127
+ $shipmentArray['items'][] = $this->_getAttributes($item, 'shipment_item');
128
+ }
129
+
130
+ $shipmentArray['tracks'] = array();
131
+ foreach ($shipment->getAllTracks() as $track) {
132
+ $shipmentArray['tracks'][] = $this->_getAttributes($track, 'shipment_track');
133
+ }
134
+ $row['shipmentCollection'][] = $shipmentArray;
135
+ }
136
+ $result[] = $row;
137
+ }
138
+
139
+ return $result;
140
+ }
141
+ public function getTaxConfig()
142
+ {
143
+ $tableName = Mage::getSingleton('core/resource')->getTableName('core_config_data');
144
+
145
+ $resource = Mage::getSingleton('core/resource');
146
+ $readConnection = $resource->getConnection('core_read');
147
+ $query1 = "SELECT value FROM ".$tableName." WHERE `path` LIKE 'tax/calculation/price_includes_tax'";
148
+ $result1 = $readConnection->fetchAll($query1);
149
+
150
+ $tax_config = array();
151
+
152
+ $query2 = "SELECT value FROM ".$tableName." WHERE `path` LIKE 'tax/calculation/shipping_includes_tax'";
153
+ $result2 = $readConnection->fetchAll($query2);
154
+
155
+ /*if($result1[0]['value'] == 1)
156
+ $tax_config['price'] = 'inward';
157
+ else
158
+ $tax_config['price'] = 'outward';*/
159
+ if($result2[0]['value'] == 1)
160
+ $tax_config['shipping'] = 'inward';
161
+ else
162
+ $tax_config['shipping'] = 'outward';
163
+ return $tax_config['shipping'];
164
+ }
165
+ public function updateOrderStatus($orderId,$status,$sku1 = Null,$shipping_method_name = Null,$tracking_number = Null)
166
+ {
167
+ $order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
168
+ $items = $order->getItemsCollection();
169
+ $qtys = array();
170
+ $sku = array();
171
+ $bool = false;
172
+ foreach($sku1->sku as $key => $s1)
173
+ {
174
+ $sku[$s1->key] = $s1->value;
175
+ }
176
+
177
+ foreach($items as $item)
178
+ {
179
+ $Itemsku = $item->getSku();
180
+ if(array_key_exists($Itemsku,$sku))
181
+ {
182
+ $qtys[$item->getId()] = $sku[$Itemsku];
183
+ }
184
+ }
185
+
186
+ if($status == confirmed)
187
+ {
188
+ if($qtys)
189
+ {
190
+ $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice($qtys);
191
+
192
+ $amount = $invoice->getGrandTotal();
193
+ $invoice->register()->pay();
194
+ $invoice->getOrder()->setIsInProcess(true);
195
+
196
+ $history = $invoice->getOrder()->addStatusHistoryComment(
197
+ 'Partial amount of $' . $amount . ' captured automatically.', false
198
+ );
199
+
200
+ $history->setIsCustomerNotified(true);
201
+
202
+ $order->save();
203
+
204
+ Mage::getModel('core/resource_transaction')
205
+ ->addObject($invoice)
206
+ ->addObject($invoice->getOrder())
207
+ ->save();
208
+ $invoice->save();
209
+ $invoice->sendEmail(true, '');
210
+ $bool = true;
211
+ }
212
+ }
213
+ else if($status == shipped)
214
+ {
215
+ if($qtys)
216
+ {
217
+ $shipment = Mage::getModel('sales/service_order', $order)->prepareShipment($qtys);
218
+
219
+ $arrTracking = array(
220
+ 'carrier_code' => $order->getShippingCarrier()->getCarrierCode(),
221
+ 'title' => isset($shipping_method_name) ? $shipping_method_name : $order->getShippingCarrier()->getConfigData('title'),
222
+ 'number' => $tracking_number,
223
+ );
224
+
225
+ $track = Mage::getModel('sales/order_shipment_track')->addData($arrTracking);
226
+ $shipment->addTrack($track);
227
+
228
+ $shipment->register();
229
+
230
+ $shipment->sendEmail(true)->setEmailSent(true)->save();
231
+
232
+ $order->setIsInProcess(true);
233
+
234
+ $transactionSave = Mage::getModel('core/resource_transaction')
235
+ ->addObject($shipment)
236
+ ->addObject($shipment->getOrder())
237
+ ->save();
238
+
239
+ $bool = true;
240
+ }
241
+ }
242
+ else if($status == canceled)
243
+ {
244
+ $order->setState(Mage_Sales_Model_Order::STATE_CANCELED, true)->save();
245
+ $bool = true;
246
+ }
247
+ else if($status == complete)
248
+ {
249
+ $bool = true;
250
+ }
251
+ if($bool)
252
+ {
253
+ return true;
254
+ }
255
+ else
256
+ {
257
+ return false;
258
+ }
259
+ }
260
+ public function getOrderStatus($orderId)
261
+ {
262
+ $order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
263
+ if($order)
264
+ {
265
+ $status = $order->getStatusLabel();
266
+ return $status;
267
+ }
268
+ else
269
+ {
270
+ return false;
271
+ }
272
+ }
273
+ protected function _getAttributes($object, $type, array $attributes = null)
274
+ {
275
+ $result = array();
276
+
277
+ if (!is_object($object)) {
278
+ return $result;
279
+ }
280
+
281
+ foreach ($object->getData() as $attribute=>$value) {
282
+ if ($this->_isAllowedAttribute($attribute, $type, $attributes)) {
283
+ $result[$attribute] = $value;
284
+ }
285
+ }
286
+
287
+ foreach ($this->_attributesMap['global'] as $alias=>$attributeCode) {
288
+ $result[$alias] = $object->getData($attributeCode);
289
+ }
290
+
291
+ if (isset($this->_attributesMap[$type])) {
292
+ foreach ($this->_attributesMap[$type] as $alias=>$attributeCode) {
293
+ $result[$alias] = $object->getData($attributeCode);
294
+ }
295
+ }
296
+
297
+ return $result;
298
+ }
299
+ protected function _isAllowedAttribute($attributeCode, $type, array $attributes = null)
300
+ {
301
+ if (!empty($attributes)
302
+ && !(in_array($attributeCode, $attributes))) {
303
+ return false;
304
+ }
305
+
306
+ if (in_array($attributeCode, $this->_ignoredAttributeCodes['global'])) {
307
+ return false;
308
+ }
309
+
310
+ if (isset($this->_ignoredAttributeCodes[$type])
311
+ && in_array($attributeCode, $this->_ignoredAttributeCodes[$type])) {
312
+ return false;
313
+ }
314
+
315
+ return true;
316
+ }
317
+ }
318
+ ?>
app/code/local/Yfs/Ecomm/etc/adminhtml.xml CHANGED
@@ -1,26 +1,26 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <acl>
4
- <resources>
5
- <all>
6
- <title>Allow Everything</title>
7
- </all>
8
- <admin>
9
- <children>
10
- <system>
11
- <children>
12
- <config>
13
- <children>
14
- <ecomm translate="title">
15
- <title>Orderhive Integration</title>
16
- <sort_order>100</sort_order>
17
- </ecomm>
18
- </children>
19
- </config>
20
- </children>
21
- </system>
22
- </children>
23
- </admin>
24
- </resources>
25
- </acl>
26
  </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <acl>
4
+ <resources>
5
+ <all>
6
+ <title>Allow Everything</title>
7
+ </all>
8
+ <admin>
9
+ <children>
10
+ <system>
11
+ <children>
12
+ <config>
13
+ <children>
14
+ <ecomm translate="title">
15
+ <title>Orderhive Integration</title>
16
+ <sort_order>100</sort_order>
17
+ </ecomm>
18
+ </children>
19
+ </config>
20
+ </children>
21
+ </system>
22
+ </children>
23
+ </admin>
24
+ </resources>
25
+ </acl>
26
  </config>
app/code/local/Yfs/Ecomm/etc/api.xml CHANGED
@@ -1,74 +1,65 @@
1
- <?xml version="1.0"?>
2
  <config>
3
  <api>
4
  <resources>
5
- <catalog translate="title" module="yfs_ecomm">
6
- <title>Catalog</title>
7
- <model>ecomm/catalog_api</model>
8
  <methods>
9
- <getProductsCount translate="title" module="yfs_ecomm">
10
- <title>Number of Products</title>
11
- </getProductsCount>
12
- <getProducts translate="title" module="yfs_ecomm">
13
- <title>List of Products</title>
14
- </getProducts>
15
- <getProductInfo translate="title" module="yfs_ecomm">
16
- <title>Product Information</title>
17
- </getProductInfo>
18
- <isExtensionEnabled translate="title" module="yfs_ecomm">
19
- <title>Test the extension</title>
20
- </isExtensionEnabled>
21
- <updateProduct translate="title" module="yfs_ecomm">
22
  <title>Update Product</title>
23
  </updateProduct>
24
- <Timezone translate="title" module="yfs_ecomm">
25
- <title>Get Timezone</title>
26
- </Timezone>
27
-
28
  </methods>
29
- </catalog>
30
- <sales translate="title" module="yfs_ecomm">
31
- <title>Sales</title>
32
- <model>ecomm/sales_api</model>
33
  <methods>
34
- <getOrderIncrementIdCount translate="title" module="yfs_ecomm">
35
- <title>Count of Order Increment Ids</title>
36
- </getOrderIncrementIdCount>
37
- <getOrderIncrementIds translate="title" module="yfs_ecomm">
38
- <title>List of Order Increment Ids</title>
39
- </getOrderIncrementIds>
40
- <getOrderInfo translate="title" module="yfs_ecomm">
41
- <title>Order Information</title>
42
- </getOrderInfo>
43
- <getTaxConfig translate="title" module="yfs_ecomm">
44
- <title>Tax Configuration</title>
 
 
 
 
 
 
 
 
 
45
  </getTaxConfig>
46
- <getOrderByStatus translate="title" module="yfs_ecomm">
47
- <title>Tax Configuration</title>
48
- </getOrderByStatus>
49
- <updateOrderStatus translate="title" module="yfs_ecomm">
50
  <title>Update Order Status</title>
51
  </updateOrderStatus>
52
- <getOrderStatus translate="title" module="yfs_ecomm">
53
- <title>Get Order Status</title>
54
  </getOrderStatus>
55
  </methods>
56
- </sales>
57
- <customer translate="title" module="yfs_ecomm">
58
- <title>Customer</title>
59
- <model>ecomm/customer_api</model>
60
- <methods>
61
- <getCustomerCount translate="title" module="yfs_ecomm">
62
- <title>Customer Count</title>
63
- </getCustomerCount>
64
- <getCustomerIds translate="title" module="yfs_ecomm">
65
- <title>List Customer entity id</title>
66
- </getCustomerIds>
67
- <getCustomerInfo translate="title" module="yfs_ecomm">
68
- <title>Customer Info</title>
69
- </getCustomerInfo>
70
- </methods>
71
- </customer>
72
  </resources>
 
 
 
 
 
 
 
73
  </api>
74
  </config>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
  <config>
3
  <api>
4
  <resources>
5
+ <ecomm_catalog translate="title" module="ecomm">
6
+ <model>yfs_ecomm_model_catalog_api</model>
7
+ <title>Product API</title>
8
  <methods>
9
+ <getProductCount translate="title" module="ecomm">
10
+ <title>Retrieve Product Count</title>
11
+ </getProductCount>
12
+ <getProductList translate="title" module="ecomm">
13
+ <title>Retrieve Product List</title>
14
+ </getProductList>
15
+ <updateProduct translate="title" module="ecomm">
 
 
 
 
 
 
16
  <title>Update Product</title>
17
  </updateProduct>
18
+ <extensionEnabled translate="title" module="ecomm">
19
+ <title>Check Extension</title>
20
+ </extensionEnabled>
 
21
  </methods>
22
+ </ecomm_catalog>
23
+ <ecomm_customer translate="title" module="ecomm">
24
+ <model>yfs_ecomm_model_customer_api</model>
25
+ <title>Customer API</title>
26
  <methods>
27
+ <getCustomerCount translate="title" module="ecomm">
28
+ <title>Retrieve Customer Count</title>
29
+ </getCustomerCount>
30
+ <getCustomerList translate="title" module="ecomm">
31
+ <title>Retrieve Customer List</title>
32
+ </getCustomerList>
33
+ </methods>
34
+ </ecomm_customer>
35
+ <ecomm_sales translate="title" module="ecomm">
36
+ <model>yfs_ecomm_model_sales_api</model>
37
+ <title>Order API</title>
38
+ <methods>
39
+ <getOrderCount translate="title" module="ecomm">
40
+ <title>Retrieve Order Count</title>
41
+ </getOrderCount>
42
+ <getOrderList translate="title" module="ecomm">
43
+ <title>Retrieve Order List</title>
44
+ </getOrderList>
45
+ <getTaxConfig translate="title" module="ecomm">
46
+ <title>Retrieve Tax Configuration</title>
47
  </getTaxConfig>
48
+ <updateOrderStatus translate="title" module="ecomm">
 
 
 
49
  <title>Update Order Status</title>
50
  </updateOrderStatus>
51
+ <getOrderStatus translate="title" module="ecomm">
52
+ <title>Retrieve Order Status</title>
53
  </getOrderStatus>
54
  </methods>
55
+ </ecomm_sales>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  </resources>
57
+ <v2>
58
+ <resources_function_prefix>
59
+ <ecomm_catalog>Catalog</ecomm_catalog>
60
+ <ecomm_customer>Customer</ecomm_customer>
61
+ <ecomm_sales>Sales</ecomm_sales>
62
+ </resources_function_prefix>
63
+ </v2>
64
  </api>
65
  </config>
app/code/local/Yfs/Ecomm/etc/system.xml CHANGED
@@ -1,73 +1,70 @@
1
- <?xml version="1.0"?>
2
-
3
- <config>
4
- <tabs>
5
- <ecomm translate="label" module="ecomm">
6
- <label>Orderhive Integration</label>
7
- <sort_order>200</sort_order>
8
- </ecomm>
9
- </tabs>
10
- <sections>
11
- <ecomm translate="label" module="ecomm">
12
- <class>separator-top</class>
13
- <label>Settings</label>
14
- <tab>ecomm</tab>
15
- <frontend_type>text</frontend_type>
16
- <sort_order>100</sort_order>
17
- <show_in_default>1</show_in_default>
18
- <show_in_website>1</show_in_website>
19
- <show_in_store>1</show_in_store>
20
- <groups>
21
- <ecomm translate="label">
22
- <label>Orderhive Integration</label>
23
- <frontend_type>text</frontend_type>
24
- <sort_order>10</sort_order>
25
- <show_in_default>1</show_in_default>
26
- <show_in_website>1</show_in_website>
27
- <show_in_store>1</show_in_store>
28
- <fields>
29
- <allow translate="label">
30
- <label>Enable</label>
31
- <comment>
32
- <![CDATA[Allow Orderhive to access Products, Customers and Orders.
33
- <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
34
- Orderhive Magento extension is successfully installed!
35
- </span>
36
- <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
37
- To initiate sync of Magento products, customers and orders head back<a href="http://www.orderhive.com/free-trial.html" target="_blank"> to your Orderhive account</a> and follow the below steps:
38
- </span>
39
- <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
40
- 1. Go to ‘Channels’.
41
- </span>
42
- <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
43
- 2. Go to ‘Add Magento channel’> Click on ‘More information'.
44
- </span>
45
- <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
46
- 3. Follow the steps specified in the tab.
47
- </span>
48
- <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
49
- 4. Click on 'Settings', fill in the required details of your Magento Store.
50
- </span>
51
- <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
52
- 5. Click on ‘Submit’.
53
- </span>
54
- <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
55
- Orderhive will now start bringing products, orders and customers from your Magento store.
56
- </span>
57
- ]]>
58
- </comment>
59
- <frontend_type>select</frontend_type>
60
- <source_model>adminhtml/system_config_source_yesno</source_model>
61
- <sort_order>1</sort_order>
62
- <show_in_default>1</show_in_default>
63
- <show_in_website>1</show_in_website>
64
- <show_in_store>1</show_in_store>
65
- </allow>
66
-
67
- </fields>
68
- </ecomm>
69
- </groups>
70
- </ecomm>
71
-
72
- </sections>
73
- </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <ecomm translate="label" module="ecomm">
5
+ <label>Orderhive Integration</label>
6
+ <sort_order>200</sort_order>
7
+ </ecomm>
8
+ </tabs>
9
+ <sections>
10
+ <ecomm translate="label" module="ecomm">
11
+ <class>separator-top</class>
12
+ <label>Settings</label>
13
+ <tab>ecomm</tab>
14
+ <frontend_type>text</frontend_type>
15
+ <sort_order>100</sort_order>
16
+ <show_in_default>1</show_in_default>
17
+ <show_in_website>1</show_in_website>
18
+ <show_in_store>1</show_in_store>
19
+ <groups>
20
+ <ecomm translate="label">
21
+ <label>Orderhive Integration</label>
22
+ <frontend_type>text</frontend_type>
23
+ <sort_order>10</sort_order>
24
+ <show_in_default>1</show_in_default>
25
+ <show_in_website>1</show_in_website>
26
+ <show_in_store>1</show_in_store>
27
+ <fields>
28
+ <allow translate="label">
29
+ <label>Enable</label>
30
+ <comment>
31
+ <![CDATA[Allow Orderhive to access Products, Customers and Orders.
32
+ <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
33
+ Orderhive Magento extension is successfully installed!
34
+ </span>
35
+ <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
36
+ To initiate sync of Magento products, customers and orders head back<a href="http://www.orderhive.com/free-trial.html" target="_blank"> to your Orderhive account</a> and follow the below steps:
37
+ </span>
38
+ <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
39
+ 1. Go to ‘Channels’.
40
+ </span>
41
+ <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
42
+ 2. Go to ‘Add Magento channel’> Click on ‘More information'.
43
+ </span>
44
+ <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
45
+ 3. Follow the steps specified in the tab.
46
+ </span>
47
+ <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
48
+ 4. Click on 'Settings', fill in the required details of your Magento Store.
49
+ </span>
50
+ <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
51
+ 5. Click on ‘Submit’.
52
+ </span>
53
+ <span style="float: left; display: block; width: 100%;font-size:11px;color:#2F2F2F;margin-top:5px;">
54
+ Orderhive will now start bringing products, orders and customers from your Magento store.
55
+ </span>
56
+ ]]>
57
+ </comment>
58
+ <frontend_type>select</frontend_type>
59
+ <source_model>adminhtml/system_config_source_yesno</source_model>
60
+ <sort_order>1</sort_order>
61
+ <show_in_default>1</show_in_default>
62
+ <show_in_website>1</show_in_website>
63
+ <show_in_store>1</show_in_store>
64
+ </allow>
65
+ </fields>
66
+ </ecomm>
67
+ </groups>
68
+ </ecomm>
69
+ </sections>
70
+ </config>
 
 
 
app/code/local/Yfs/Ecomm/etc/wsdl.xml ADDED
@@ -0,0 +1,793 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <definitions xmlns:typens="urn:{{var wsdl.name}}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
4
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
5
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
6
+ name="{{var wsdl.name}}" targetNamespace="urn:{{var wsdl.name}}">
7
+ <types>
8
+ <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Magento">
9
+ <import namespace="http://schemas.xmlsoap.org/soap/encoding/"
10
+ schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
11
+ <complexType name="catalogProductListArray">
12
+ <complexContent>
13
+ <restriction base="soapenc:Array">
14
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:catalogProductListEntity[]"/>
15
+ </restriction>
16
+ </complexContent>
17
+ </complexType>
18
+ <complexType name="catalogProductListEntity">
19
+ <all>
20
+ <element name="product_id" type="xsd:string"/>
21
+ <element name="sku" type="xsd:string"/>
22
+ <element name="name" type="xsd:string"/>
23
+ <element name="short_description" type="xsd:string" minOccurs="0"/>
24
+ <element name="price" type="xsd:double" minOccurs="0"/>
25
+ <element name="qty" type="xsd:int" minOccurs="0"/>
26
+ <element name="set" type="xsd:string"/>
27
+ <element name="type" type="xsd:string"/>
28
+ <element name="created_at" type="xsd:string" minOccurs="0"/>
29
+ <element name="category_ids" type="typens:ArrayOfString"/>
30
+ <element name="parent_sku" type="xsd:string"/>
31
+ </all>
32
+ </complexType>
33
+ <complexType name="customerListArray">
34
+ <complexContent>
35
+ <restriction base="soapenc:Array">
36
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:customerListEntity[]"/>
37
+ </restriction>
38
+ </complexContent>
39
+ </complexType>
40
+ <complexType name="customerListEntity">
41
+ <all>
42
+ <element name="customer_id" type="xsd:int" minOccurs="0" />
43
+ <element name="created_at" type="xsd:string" minOccurs="0" />
44
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
45
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
46
+ <element name="store_id" type="xsd:int" minOccurs="0" />
47
+ <element name="website_id" type="xsd:int" minOccurs="0" />
48
+ <element name="created_in" type="xsd:string" minOccurs="0" />
49
+ <element name="email" type="xsd:string" minOccurs="0" />
50
+ <element name="firstname" type="xsd:string" minOccurs="0" />
51
+ <element name="middlename" type="xsd:string" minOccurs="0" />
52
+ <element name="lastname" type="xsd:string" minOccurs="0" />
53
+ <element name="group_id" type="xsd:int" minOccurs="0" />
54
+ <element name="prefix" type="xsd:string" minOccurs="0" />
55
+ <element name="suffix" type="xsd:string" minOccurs="0" />
56
+ <element name="dob" type="xsd:string" minOccurs="0" />
57
+ <element name="taxvat" type="xsd:string" minOccurs="0" />
58
+ <element name="confirmation" type="xsd:boolean" minOccurs="0" />
59
+ <element name="password_hash" type="xsd:string" minOccurs="0" />
60
+ <element name="addresses" type="typens:customerAddressListEntityArray" minOccurs="0" />
61
+ </all>
62
+ </complexType>
63
+ <complexType name="customerAddressListEntityArray">
64
+ <complexContent>
65
+ <restriction base="soapenc:Array">
66
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:customerAddressListEntity[]"/>
67
+ </restriction>
68
+ </complexContent>
69
+ </complexType>
70
+ <complexType name="customerAddressListEntity">
71
+ <all>
72
+ <element name="customer_address_id" type="xsd:int" minOccurs="0" />
73
+ <element name="created_at" type="xsd:string" minOccurs="0" />
74
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
75
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
76
+ <element name="city" type="xsd:string" minOccurs="0" />
77
+ <element name="company" type="xsd:string" minOccurs="0" />
78
+ <element name="country_id" type="xsd:string" minOccurs="0" />
79
+ <element name="fax" type="xsd:string" minOccurs="0" />
80
+ <element name="firstname" type="xsd:string" minOccurs="0" />
81
+ <element name="lastname" type="xsd:string" minOccurs="0" />
82
+ <element name="middlename" type="xsd:string" minOccurs="0" />
83
+ <element name="postcode" type="xsd:string" minOccurs="0" />
84
+ <element name="prefix" type="xsd:string" minOccurs="0" />
85
+ <element name="region" type="xsd:string" minOccurs="0" />
86
+ <element name="region_id" type="xsd:int" minOccurs="0" />
87
+ <element name="street" type="xsd:string" minOccurs="0" />
88
+ <element name="suffix" type="xsd:string" minOccurs="0" />
89
+ <element name="telephone" type="xsd:string" minOccurs="0" />
90
+ <element name="is_default_billing" type="xsd:boolean" minOccurs="0" />
91
+ <element name="is_default_shipping" type="xsd:boolean" minOccurs="0" />
92
+ </all>
93
+ </complexType>
94
+ <complexType name="salesGetOrderListEntityArray">
95
+ <complexContent>
96
+ <restriction base="soapenc:Array">
97
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:salesGetOrderListEntity[]"/>
98
+ </restriction>
99
+ </complexContent>
100
+ </complexType>
101
+ <complexType name="salesGetOrderListEntity">
102
+ <all>
103
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
104
+ <element name="store_id" type="xsd:string" minOccurs="0" />
105
+ <element name="created_at" type="xsd:string" minOccurs="0" />
106
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
107
+ <element name="customer_id" type="xsd:string" minOccurs="0" />
108
+ <element name="tax_amount" type="xsd:string" minOccurs="0" />
109
+ <element name="shipping_amount" type="xsd:string" minOccurs="0" />
110
+ <element name="discount_amount" type="xsd:string" minOccurs="0" />
111
+ <element name="subtotal" type="xsd:string" minOccurs="0" />
112
+ <element name="grand_total" type="xsd:string" minOccurs="0" />
113
+ <element name="total_paid" type="xsd:string" minOccurs="0" />
114
+ <element name="total_refunded" type="xsd:string" minOccurs="0" />
115
+ <element name="total_qty_ordered" type="xsd:string" minOccurs="0" />
116
+ <element name="total_canceled" type="xsd:string" minOccurs="0" />
117
+ <element name="total_invoiced" type="xsd:string" minOccurs="0" />
118
+ <element name="total_online_refunded" type="xsd:string" minOccurs="0" />
119
+ <element name="total_offline_refunded" type="xsd:string" minOccurs="0" />
120
+ <element name="base_tax_amount" type="xsd:string" minOccurs="0" />
121
+ <element name="base_shipping_amount" type="xsd:string" minOccurs="0" />
122
+ <element name="base_discount_amount" type="xsd:string" minOccurs="0" />
123
+ <element name="base_subtotal" type="xsd:string" minOccurs="0" />
124
+ <element name="base_grand_total" type="xsd:string" minOccurs="0" />
125
+ <element name="base_total_paid" type="xsd:string" minOccurs="0" />
126
+ <element name="base_total_refunded" type="xsd:string" minOccurs="0" />
127
+ <element name="base_total_qty_ordered" type="xsd:string" minOccurs="0" />
128
+ <element name="base_total_canceled" type="xsd:string" minOccurs="0" />
129
+ <element name="base_total_invoiced" type="xsd:string" minOccurs="0" />
130
+ <element name="base_total_online_refunded" type="xsd:string" minOccurs="0" />
131
+ <element name="base_total_offline_refunded" type="xsd:string" minOccurs="0" />
132
+ <element name="billing_address_id" type="xsd:string" minOccurs="0" />
133
+ <element name="billing_firstname" type="xsd:string" minOccurs="0" />
134
+ <element name="billing_lastname" type="xsd:string" minOccurs="0" />
135
+ <element name="shipping_address_id" type="xsd:string" minOccurs="0" />
136
+ <element name="shipping_firstname" type="xsd:string" minOccurs="0" />
137
+ <element name="shipping_lastname" type="xsd:string" minOccurs="0" />
138
+ <element name="billing_name" type="xsd:string" minOccurs="0" />
139
+ <element name="shipping_name" type="xsd:string" minOccurs="0" />
140
+ <element name="store_to_base_rate" type="xsd:string" minOccurs="0" />
141
+ <element name="store_to_order_rate" type="xsd:string" minOccurs="0" />
142
+ <element name="base_to_global_rate" type="xsd:string" minOccurs="0" />
143
+ <element name="base_to_order_rate" type="xsd:string" minOccurs="0" />
144
+ <element name="weight" type="xsd:string" minOccurs="0" />
145
+ <element name="store_name" type="xsd:string" minOccurs="0" />
146
+ <element name="remote_ip" type="xsd:string" minOccurs="0" />
147
+ <element name="status" type="xsd:string" minOccurs="0" />
148
+ <element name="state" type="xsd:string" minOccurs="0" />
149
+ <element name="applied_rule_ids" type="xsd:string" minOccurs="0" />
150
+ <element name="global_currency_code" type="xsd:string" minOccurs="0" />
151
+ <element name="base_currency_code" type="xsd:string" minOccurs="0" />
152
+ <element name="store_currency_code" type="xsd:string" minOccurs="0" />
153
+ <element name="order_currency_code" type="xsd:string" minOccurs="0" />
154
+ <element name="shipping_method" type="xsd:string" minOccurs="0" />
155
+ <element name="shipping_description" type="xsd:string" minOccurs="0" />
156
+ <element name="customer_email" type="xsd:string" minOccurs="0" />
157
+ <element name="customer_firstname" type="xsd:string" minOccurs="0" />
158
+ <element name="customer_lastname" type="xsd:string" minOccurs="0" />
159
+ <element name="quote_id" type="xsd:string" minOccurs="0" />
160
+ <element name="is_virtual" type="xsd:string" minOccurs="0" />
161
+ <element name="customer_group_id" type="xsd:string" minOccurs="0" />
162
+ <element name="customer_note_notify" type="xsd:string" minOccurs="0" />
163
+ <element name="customer_is_guest" type="xsd:string" minOccurs="0" />
164
+ <element name="email_sent" type="xsd:string" minOccurs="0" />
165
+ <element name="order_id" type="xsd:string" minOccurs="0" />
166
+ <element name="gift_message_id" type="xsd:string" minOccurs="0" />
167
+ <element name="coupon_code" type="xsd:string" minOccurs="0" />
168
+ <element name="protect_code" type="xsd:string" minOccurs="0" />
169
+ <element name="base_discount_canceled" type="xsd:string" minOccurs="0" />
170
+ <element name="base_discount_invoiced" type="xsd:string" minOccurs="0" />
171
+ <element name="base_discount_refunded" type="xsd:string" minOccurs="0" />
172
+ <element name="base_shipping_canceled" type="xsd:string" minOccurs="0" />
173
+ <element name="base_shipping_invoiced" type="xsd:string" minOccurs="0" />
174
+ <element name="base_shipping_refunded" type="xsd:string" minOccurs="0" />
175
+ <element name="base_shipping_tax_amount" type="xsd:string" minOccurs="0" />
176
+ <element name="base_shipping_tax_refunded" type="xsd:string" minOccurs="0" />
177
+ <element name="base_subtotal_canceled" type="xsd:string" minOccurs="0" />
178
+ <element name="base_subtotal_invoiced" type="xsd:string" minOccurs="0" />
179
+ <element name="base_subtotal_refunded" type="xsd:string" minOccurs="0" />
180
+ <element name="base_tax_canceled" type="xsd:string" minOccurs="0" />
181
+ <element name="base_tax_invoiced" type="xsd:string" minOccurs="0" />
182
+ <element name="base_tax_refunded" type="xsd:string" minOccurs="0" />
183
+ <element name="base_total_invoiced_cost" type="xsd:string" minOccurs="0" />
184
+ <element name="discount_canceled" type="xsd:string" minOccurs="0" />
185
+ <element name="discount_invoiced" type="xsd:string" minOccurs="0" />
186
+ <element name="discount_refunded" type="xsd:string" minOccurs="0" />
187
+ <element name="shipping_canceled" type="xsd:string" minOccurs="0" />
188
+ <element name="shipping_invoiced" type="xsd:string" minOccurs="0" />
189
+ <element name="shipping_refunded" type="xsd:string" minOccurs="0" />
190
+ <element name="shipping_tax_amount" type="xsd:string" minOccurs="0" />
191
+ <element name="shipping_tax_refunded" type="xsd:string" minOccurs="0" />
192
+ <element name="subtotal_canceled" type="xsd:string" minOccurs="0" />
193
+ <element name="subtotal_invoiced" type="xsd:string" minOccurs="0" />
194
+ <element name="subtotal_refunded" type="xsd:string" minOccurs="0" />
195
+ <element name="tax_canceled" type="xsd:string" minOccurs="0" />
196
+ <element name="tax_invoiced" type="xsd:string" minOccurs="0" />
197
+ <element name="tax_refunded" type="xsd:string" minOccurs="0" />
198
+ <element name="can_ship_partially" type="xsd:string" minOccurs="0" />
199
+ <element name="can_ship_partially_item" type="xsd:string" minOccurs="0" />
200
+ <element name="edit_increment" type="xsd:string" minOccurs="0" />
201
+ <element name="forced_do_shipment_with_invoice" type="xsd:string" minOccurs="0" />
202
+ <element name="payment_authorization_expiration" type="xsd:string" minOccurs="0" />
203
+ <element name="paypal_ipn_customer_notified" type="xsd:string" minOccurs="0" />
204
+ <element name="quote_address_id" type="xsd:string" minOccurs="0" />
205
+ <element name="adjustment_negative" type="xsd:string" minOccurs="0" />
206
+ <element name="adjustment_positive" type="xsd:string" minOccurs="0" />
207
+ <element name="base_adjustment_negative" type="xsd:string" minOccurs="0" />
208
+ <element name="base_adjustment_positive" type="xsd:string" minOccurs="0" />
209
+ <element name="base_shipping_discount_amount" type="xsd:string" minOccurs="0" />
210
+ <element name="base_subtotal_incl_tax" type="xsd:string" minOccurs="0" />
211
+ <element name="base_total_due" type="xsd:string" minOccurs="0" />
212
+ <element name="payment_authorization_amount" type="xsd:string" minOccurs="0" />
213
+ <element name="shipping_discount_amount" type="xsd:string" minOccurs="0" />
214
+ <element name="subtotal_incl_tax" type="xsd:string" minOccurs="0" />
215
+ <element name="total_due" type="xsd:string" minOccurs="0" />
216
+ <element name="customer_dob" type="xsd:string" minOccurs="0" />
217
+ <element name="customer_middlename" type="xsd:string" minOccurs="0" />
218
+ <element name="customer_prefix" type="xsd:string" minOccurs="0" />
219
+ <element name="customer_suffix" type="xsd:string" minOccurs="0" />
220
+ <element name="customer_taxvat" type="xsd:string" minOccurs="0" />
221
+ <element name="discount_description" type="xsd:string" minOccurs="0" />
222
+ <element name="ext_customer_id" type="xsd:string" minOccurs="0" />
223
+ <element name="ext_order_id" type="xsd:string" minOccurs="0" />
224
+ <element name="hold_before_state" type="xsd:string" minOccurs="0" />
225
+ <element name="hold_before_status" type="xsd:string" minOccurs="0" />
226
+ <element name="original_increment_id" type="xsd:string" minOccurs="0" />
227
+ <element name="relation_child_id" type="xsd:string" minOccurs="0" />
228
+ <element name="relation_child_real_id" type="xsd:string" minOccurs="0" />
229
+ <element name="relation_parent_id" type="xsd:string" minOccurs="0" />
230
+ <element name="relation_parent_real_id" type="xsd:string" minOccurs="0" />
231
+ <element name="x_forwarded_for" type="xsd:string" minOccurs="0" />
232
+ <element name="customer_note" type="xsd:string" minOccurs="0" />
233
+ <element name="total_item_count" type="xsd:string" minOccurs="0" />
234
+ <element name="customer_gender" type="xsd:string" minOccurs="0" />
235
+ <element name="hidden_tax_amount" type="xsd:string" minOccurs="0" />
236
+ <element name="base_hidden_tax_amount" type="xsd:string" minOccurs="0" />
237
+ <element name="shipping_hidden_tax_amount" type="xsd:string" minOccurs="0" />
238
+ <element name="base_shipping_hidden_tax_amount" type="xsd:string" minOccurs="0" />
239
+ <element name="hidden_tax_invoiced" type="xsd:string" minOccurs="0" />
240
+ <element name="base_hidden_tax_invoiced" type="xsd:string" minOccurs="0" />
241
+ <element name="hidden_tax_refunded" type="xsd:string" minOccurs="0" />
242
+ <element name="base_hidden_tax_refunded" type="xsd:string" minOccurs="0" />
243
+ <element name="shipping_incl_tax" type="xsd:string" minOccurs="0" />
244
+ <element name="base_shipping_incl_tax" type="xsd:string" minOccurs="0" />
245
+ <element name="base_customer_balance_amount" type="xsd:string" minOccurs="0" />
246
+ <element name="customer_balance_amount" type="xsd:string" minOccurs="0" />
247
+ <element name="base_customer_balance_invoiced" type="xsd:string" minOccurs="0" />
248
+ <element name="customer_balance_invoiced" type="xsd:string" minOccurs="0" />
249
+ <element name="base_customer_balance_refunded" type="xsd:string" minOccurs="0" />
250
+ <element name="customer_balance_refunded" type="xsd:string" minOccurs="0" />
251
+ <element name="base_customer_balance_total_refunded" type="xsd:string" minOccurs="0" />
252
+ <element name="customer_balance_total_refunded" type="xsd:string" minOccurs="0" />
253
+ <element name="gift_cards" type="xsd:string" minOccurs="0" />
254
+ <element name="base_gift_cards_amount" type="xsd:string" minOccurs="0" />
255
+ <element name="gift_cards_amount" type="xsd:string" minOccurs="0" />
256
+ <element name="base_gift_cards_invoiced" type="xsd:string" minOccurs="0" />
257
+ <element name="gift_cards_invoiced" type="xsd:string" minOccurs="0" />
258
+ <element name="base_gift_cards_refunded" type="xsd:string" minOccurs="0" />
259
+ <element name="gift_cards_refunded" type="xsd:string" minOccurs="0" />
260
+ <element name="reward_points_balance" type="xsd:string" minOccurs="0" />
261
+ <element name="base_reward_currency_amount" type="xsd:string" minOccurs="0" />
262
+ <element name="reward_currency_amount" type="xsd:string" minOccurs="0" />
263
+ <element name="base_reward_currency_amount_invoiced" type="xsd:string" minOccurs="0" />
264
+ <element name="reward_currency_amount_invoiced" type="xsd:string" minOccurs="0" />
265
+ <element name="base_reward_currency_amount_refunded" type="xsd:string" minOccurs="0" />
266
+ <element name="reward_currency_amount_refunded" type="xsd:string" minOccurs="0" />
267
+ <element name="reward_points_balance_refunded" type="xsd:string" minOccurs="0" />
268
+ <element name="reward_points_balance_to_refund" type="xsd:string" minOccurs="0" />
269
+ <element name="reward_salesrule_points" type="xsd:string" minOccurs="0" />
270
+ <element name="firstname" type="xsd:string" minOccurs="0" />
271
+ <element name="lastname" type="xsd:string" minOccurs="0" />
272
+ <element name="telephone" type="xsd:string" minOccurs="0" />
273
+ <element name="postcode" type="xsd:string" minOccurs="0" />
274
+ <element name="shipping_address" type="typens:salesShippingAddressEntity" minOccurs="0" />
275
+ <element name="billing_address" type="typens:salesBillingAddressEntity" minOccurs="0" />
276
+ <element name="items" type="typens:salesItemsListEntityArray" minOccurs="0" />
277
+ <element name="payment" type="typens:salesPaymentEntity" minOccurs="0" />
278
+ <element name="status_history" type="typens:salesStatusHistoryEntityArray" minOccurs="0" />
279
+ <element name="shipmentCollection" type="typens:salesShipmentListEntityArray" minOccurs="0" />
280
+ </all>
281
+ </complexType>
282
+ <complexType name="salesShipmentListEntityArray">
283
+ <complexContent>
284
+ <restriction base="soapenc:Array">
285
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:salesShipmentListEntity[]"/>
286
+ </restriction>
287
+ </complexContent>
288
+ </complexType>
289
+ <complexType name="salesShipmentListEntity">
290
+ <all>
291
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
292
+ <element name="parent_id" type="xsd:string" minOccurs="0" />
293
+ <element name="store_id" type="xsd:string" minOccurs="0" />
294
+ <element name="created_at" type="xsd:string" minOccurs="0" />
295
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
296
+ <element name="is_active" type="xsd:string" minOccurs="0" />
297
+ <element name="shipping_address_id" type="xsd:string" minOccurs="0" />
298
+ <element name="shipping_firstname" type="xsd:string" minOccurs="0" />
299
+ <element name="shipping_lastname" type="xsd:string" minOccurs="0" />
300
+ <element name="order_id" type="xsd:string" minOccurs="0" />
301
+ <element name="order_increment_id" type="xsd:string" minOccurs="0" />
302
+ <element name="order_created_at" type="xsd:string" minOccurs="0" />
303
+ <element name="total_qty" type="xsd:string" minOccurs="0" />
304
+ <element name="shipment_id" type="xsd:string" minOccurs="0" />
305
+ <element name="items" type="typens:salesOrderShipmentItemInfoEntityArray" minOccurs="0" />
306
+ <element name="tracks" type="typens:salesOrderShipmentTrackInfoEntityArray" minOccurs="0" />
307
+ </all>
308
+ </complexType>
309
+ <complexType name="salesOrderShipmentItemInfoEntityArray">
310
+ <complexContent>
311
+ <restriction base="soapenc:Array">
312
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:salesOrderShipmentItemInfoEntity[]" />
313
+ </restriction>
314
+ </complexContent>
315
+ </complexType>
316
+ <complexType name="salesOrderShipmentItemInfoEntity">
317
+ <all>
318
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
319
+ <element name="parent_id" type="xsd:string" minOccurs="0" />
320
+ <element name="created_at" type="xsd:string" minOccurs="0" />
321
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
322
+ <element name="is_active" type="xsd:string" minOccurs="0" />
323
+ <element name="sku" type="xsd:string" minOccurs="0" />
324
+ <element name="name" type="xsd:string" minOccurs="0" />
325
+ <element name="order_item_id" type="xsd:string" minOccurs="0" />
326
+ <element name="product_id" type="xsd:string" minOccurs="0" />
327
+ <element name="weight" type="xsd:string" minOccurs="0" />
328
+ <element name="price" type="xsd:string" minOccurs="0" />
329
+ <element name="qty" type="xsd:string" minOccurs="0" />
330
+ <element name="item_id" type="xsd:string" minOccurs="0" />
331
+ </all>
332
+ </complexType>
333
+ <complexType name="salesOrderShipmentTrackInfoEntityArray">
334
+ <complexContent>
335
+ <restriction base="soapenc:Array">
336
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:salesOrderShipmentTrackInfoEntity[]" />
337
+ </restriction>
338
+ </complexContent>
339
+ </complexType>
340
+ <complexType name="salesOrderShipmentTrackInfoEntity">
341
+ <all>
342
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
343
+ <element name="parent_id" type="xsd:string" minOccurs="0" />
344
+ <element name="created_at" type="xsd:string" minOccurs="0" />
345
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
346
+ <element name="is_active" type="xsd:string" minOccurs="0" />
347
+ <element name="carrier_code" type="xsd:string" minOccurs="0" />
348
+ <element name="title" type="xsd:string" minOccurs="0" />
349
+ <element name="number" type="xsd:string" minOccurs="0" />
350
+ <element name="order_id" type="xsd:string" minOccurs="0" />
351
+ <element name="track_id" type="xsd:string" minOccurs="0" />
352
+ </all>
353
+ </complexType>
354
+ <complexType name="salesShippingAddressEntity">
355
+ <all>
356
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
357
+ <element name="parent_id" type="xsd:string" minOccurs="0" />
358
+ <element name="created_at" type="xsd:string" minOccurs="0" />
359
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
360
+ <element name="is_active" type="xsd:string" minOccurs="0" />
361
+ <element name="address_type" type="xsd:string" minOccurs="0" />
362
+ <element name="firstname" type="xsd:string" minOccurs="0" />
363
+ <element name="lastname" type="xsd:string" minOccurs="0" />
364
+ <element name="company" type="xsd:string" minOccurs="0" />
365
+ <element name="street" type="xsd:string" minOccurs="0" />
366
+ <element name="city" type="xsd:string" minOccurs="0" />
367
+ <element name="region" type="xsd:string" minOccurs="0" />
368
+ <element name="postcode" type="xsd:string" minOccurs="0" />
369
+ <element name="country_id" type="xsd:string" minOccurs="0" />
370
+ <element name="telephone" type="xsd:string" minOccurs="0" />
371
+ <element name="fax" type="xsd:string" minOccurs="0" />
372
+ <element name="region_id" type="xsd:string" minOccurs="0" />
373
+ <element name="address_id" type="xsd:string" minOccurs="0" />
374
+ </all>
375
+ </complexType>
376
+ <complexType name="salesBillingAddressEntity">
377
+ <all>
378
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
379
+ <element name="parent_id" type="xsd:string" minOccurs="0" />
380
+ <element name="created_at" type="xsd:string" minOccurs="0" />
381
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
382
+ <element name="is_active" type="xsd:string" minOccurs="0" />
383
+ <element name="address_type" type="xsd:string" minOccurs="0" />
384
+ <element name="firstname" type="xsd:string" minOccurs="0" />
385
+ <element name="lastname" type="xsd:string" minOccurs="0" />
386
+ <element name="company" type="xsd:string" minOccurs="0" />
387
+ <element name="street" type="xsd:string" minOccurs="0" />
388
+ <element name="city" type="xsd:string" minOccurs="0" />
389
+ <element name="region" type="xsd:string" minOccurs="0" />
390
+ <element name="postcode" type="xsd:string" minOccurs="0" />
391
+ <element name="country_id" type="xsd:string" minOccurs="0" />
392
+ <element name="telephone" type="xsd:string" minOccurs="0" />
393
+ <element name="fax" type="xsd:string" minOccurs="0" />
394
+ <element name="region_id" type="xsd:string" minOccurs="0" />
395
+ <element name="address_id" type="xsd:string" minOccurs="0" />
396
+ </all>
397
+ </complexType>
398
+ <complexType name="salesItemsListEntityArray">
399
+ <complexContent>
400
+ <restriction base="soapenc:Array">
401
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:salesItemsListEntity[]"/>
402
+ </restriction>
403
+ </complexContent>
404
+ </complexType>
405
+ <complexType name="salesItemsListEntity">
406
+ <all>
407
+ <element name="item_id" type="xsd:string" minOccurs="0" />
408
+ <element name="order_id" type="xsd:string" minOccurs="0" />
409
+ <element name="quote_item_id" type="xsd:string" minOccurs="0" />
410
+ <element name="created_at" type="xsd:string" minOccurs="0" />
411
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
412
+ <element name="product_id" type="xsd:string" minOccurs="0" />
413
+ <element name="product_type" type="xsd:string" minOccurs="0" />
414
+ <element name="product_options" type="xsd:string" minOccurs="0" />
415
+ <element name="weight" type="xsd:string" minOccurs="0" />
416
+ <element name="is_virtual" type="xsd:string" minOccurs="0" />
417
+ <element name="sku" type="xsd:string" minOccurs="0" />
418
+ <element name="name" type="xsd:string" minOccurs="0" />
419
+ <element name="applied_rule_ids" type="xsd:string" minOccurs="0" />
420
+ <element name="free_shipping" type="xsd:string" minOccurs="0" />
421
+ <element name="is_qty_decimal" type="xsd:string" minOccurs="0" />
422
+ <element name="no_discount" type="xsd:string" minOccurs="0" />
423
+ <element name="qty_canceled" type="xsd:string" minOccurs="0" />
424
+ <element name="qty_invoiced" type="xsd:string" minOccurs="0" />
425
+ <element name="qty_ordered" type="xsd:string" minOccurs="0" />
426
+ <element name="qty_refunded" type="xsd:string" minOccurs="0" />
427
+ <element name="qty_shipped" type="xsd:string" minOccurs="0" />
428
+ <element name="cost" type="xsd:string" minOccurs="0" />
429
+ <element name="price" type="xsd:string" minOccurs="0" />
430
+ <element name="base_price" type="xsd:string" minOccurs="0" />
431
+ <element name="original_price" type="xsd:string" minOccurs="0" />
432
+ <element name="base_original_price" type="xsd:string" minOccurs="0" />
433
+ <element name="tax_percent" type="xsd:string" minOccurs="0" />
434
+ <element name="tax_amount" type="xsd:string" minOccurs="0" />
435
+ <element name="base_tax_amount" type="xsd:string" minOccurs="0" />
436
+ <element name="tax_invoiced" type="xsd:string" minOccurs="0" />
437
+ <element name="base_tax_invoiced" type="xsd:string" minOccurs="0" />
438
+ <element name="discount_percent" type="xsd:string" minOccurs="0" />
439
+ <element name="discount_amount" type="xsd:string" minOccurs="0" />
440
+ <element name="base_discount_amount" type="xsd:string" minOccurs="0" />
441
+ <element name="discount_invoiced" type="xsd:string" minOccurs="0" />
442
+ <element name="base_discount_invoiced" type="xsd:string" minOccurs="0" />
443
+ <element name="amount_refunded" type="xsd:string" minOccurs="0" />
444
+ <element name="base_amount_refunded" type="xsd:string" minOccurs="0" />
445
+ <element name="row_total" type="xsd:string" minOccurs="0" />
446
+ <element name="base_row_total" type="xsd:string" minOccurs="0" />
447
+ <element name="row_invoiced" type="xsd:string" minOccurs="0" />
448
+ <element name="base_row_invoiced" type="xsd:string" minOccurs="0" />
449
+ <element name="row_weight" type="xsd:string" minOccurs="0" />
450
+ <element name="gift_message_id" type="xsd:string" minOccurs="0" />
451
+ <element name="gift_message" type="xsd:string" minOccurs="0" />
452
+ <element name="gift_message_available" type="xsd:string" minOccurs="0" />
453
+ <element name="base_tax_before_discount" type="xsd:string" minOccurs="0" />
454
+ <element name="tax_before_discount" type="xsd:string" minOccurs="0" />
455
+ <element name="weee_tax_applied" type="xsd:string" minOccurs="0" />
456
+ <element name="weee_tax_applied_amount" type="xsd:string" minOccurs="0" />
457
+ <element name="weee_tax_applied_row_amount" type="xsd:string" minOccurs="0" />
458
+ <element name="base_weee_tax_applied_amount" type="xsd:string" minOccurs="0" />
459
+ <element name="base_weee_tax_applied_row_amount" type="xsd:string" minOccurs="0" />
460
+ <element name="weee_tax_disposition" type="xsd:string" minOccurs="0" />
461
+ <element name="weee_tax_row_disposition" type="xsd:string" minOccurs="0" />
462
+ <element name="base_weee_tax_disposition" type="xsd:string" minOccurs="0" />
463
+ <element name="base_weee_tax_row_disposition" type="xsd:string" minOccurs="0" />
464
+ <element name="current_qty" type="xsd:int" minOccurs="0" />
465
+ </all>
466
+ </complexType>
467
+ <complexType name="salesPaymentEntity">
468
+ <all>
469
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
470
+ <element name="parent_id" type="xsd:string" minOccurs="0" />
471
+ <element name="created_at" type="xsd:string" minOccurs="0" />
472
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
473
+ <element name="is_active" type="xsd:string" minOccurs="0" />
474
+ <element name="amount_ordered" type="xsd:string" minOccurs="0" />
475
+ <element name="shipping_amount" type="xsd:string" minOccurs="0" />
476
+ <element name="base_amount_ordered" type="xsd:string" minOccurs="0" />
477
+ <element name="base_shipping_amount" type="xsd:string" minOccurs="0" />
478
+ <element name="method" type="xsd:string" minOccurs="0" />
479
+ <element name="po_number" type="xsd:string" minOccurs="0" />
480
+ <element name="cc_type" type="xsd:string" minOccurs="0" />
481
+ <element name="cc_number_enc" type="xsd:string" minOccurs="0" />
482
+ <element name="cc_last4" type="xsd:string" minOccurs="0" />
483
+ <element name="cc_owner" type="xsd:string" minOccurs="0" />
484
+ <element name="cc_exp_month" type="xsd:string" minOccurs="0" />
485
+ <element name="cc_exp_year" type="xsd:string" minOccurs="0" />
486
+ <element name="cc_ss_start_month" type="xsd:string" minOccurs="0" />
487
+ <element name="cc_ss_start_year" type="xsd:string" minOccurs="0" />
488
+ <element name="payment_id" type="xsd:string" minOccurs="0" />
489
+ </all>
490
+ </complexType>
491
+ <complexType name="salesStatusHistoryEntityArray">
492
+ <complexContent>
493
+ <restriction base="soapenc:Array">
494
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:salesStatusHistoryEntity[]"/>
495
+ </restriction>
496
+ </complexContent>
497
+ </complexType>
498
+ <complexType name="salesStatusHistoryEntity">
499
+ <all>
500
+ <element name="increment_id" type="xsd:string" minOccurs="0" />
501
+ <element name="parent_id" type="xsd:string" minOccurs="0" />
502
+ <element name="created_at" type="xsd:string" minOccurs="0" />
503
+ <element name="updated_at" type="xsd:string" minOccurs="0" />
504
+ <element name="is_active" type="xsd:string" minOccurs="0" />
505
+ <element name="is_customer_notified" type="xsd:string" minOccurs="0" />
506
+ <element name="status" type="xsd:string" minOccurs="0" />
507
+ <element name="comment" type="xsd:string" minOccurs="0" />
508
+ </all>
509
+ </complexType>
510
+ <complexType name="SkuArray">
511
+ <all>
512
+ <element name="sku" type="xsd:associativeEntity" minOccurs="0" />
513
+ </all>
514
+ </complexType>
515
+ </schema>
516
+ </types>
517
+ <message name="CatalogExtensionEnabledRequest">
518
+ <part name="sessionId" type="xsd:string"/>
519
+ </message>
520
+ <message name="CatalogExtensionEnabledResponse">
521
+ <part name="Count" type="xsd:int"/>
522
+ </message>
523
+ <message name="CatalogGetProductCountRequest">
524
+ <part name="sessionId" type="xsd:string"/>
525
+ </message>
526
+ <message name="CatalogGetProductCountResponse">
527
+ <part name="Count" type="xsd:int"/>
528
+ </message>
529
+ <message name="CatalogGetProductListRequest">
530
+ <part name="sessionId" type="xsd:string"/>
531
+ <part name="productId" type="xsd:string"/>
532
+ <part name="limit" type="xsd:int"/>
533
+ <part name="filters" type="typens:filters"/>
534
+ <part name="storeView" type="xsd:string"/>
535
+ </message>
536
+ <message name="CatalogGetProductListResponse">
537
+ <part name="storeView" type="typens:catalogProductListArray"/>
538
+ </message>
539
+ <message name="CatalogUpdateProductRequest">
540
+ <part name="sessionId" type="xsd:string"/>
541
+ <part name="sku" type="xsd:string"/>
542
+ <part name="price" type="xsd:double"/>
543
+ <part name="qty" type="xsd:int"/>
544
+ </message>
545
+ <message name="CatalogUpdateProductResponse">
546
+ <part name="storeView" type="xsd:int"/>
547
+ </message>
548
+ <message name="CustomerGetCustomerCountRequest">
549
+ <part name="sessionId" type="xsd:string"/>
550
+ </message>
551
+ <message name="CustomerGetCustomerCountResponse">
552
+ <part name="Count" type="xsd:int"/>
553
+ </message>
554
+ <message name="CustomerGetCustomerListRequest">
555
+ <part name="sessionId" type="xsd:string"/>
556
+ <part name="customerId" type="xsd:string"/>
557
+ <part name="limit" type="xsd:int"/>
558
+ <part name="filters" type="typens:filters"/>
559
+ </message>
560
+ <message name="CustomerGetCustomerListResponse">
561
+ <part name="storeView" type="typens:customerListArray"/>
562
+ </message>
563
+ <message name="SalesGetOrderCountRequest">
564
+ <part name="sessionId" type="xsd:string"/>
565
+ <part name="dateFrom" type="xsd:string"/>
566
+ <part name="dateTo" type="xsd:string"/>
567
+ </message>
568
+ <message name="SalesGetOrderCountResponse">
569
+ <part name="storeView" type="xsd:int"/>
570
+ </message>
571
+ <message name="SalesGetOrderListRequest">
572
+ <part name="sessionId" type="xsd:string"/>
573
+ <part name="fromDate" type="xsd:string"/>
574
+ <part name="toDate" type="xsd:string"/>
575
+ <part name="page" type="xsd:int"/>
576
+ <part name="limit" type="xsd:int"/>
577
+ <part name="resync" type="xsd:int"/>
578
+ <part name="filters" type="typens:filters"/>
579
+ </message>
580
+ <message name="SalesGetOrderListResponse">
581
+ <part name="storeView" type="typens:salesGetOrderListEntityArray"/>
582
+ </message>
583
+ <message name="SalesGetTaxConfigRequest">
584
+ <part name="sessionId" type="xsd:string"/>
585
+ </message>
586
+ <message name="SalesGetTaxConfigResponse">
587
+ <part name="result" type="xsd:string"/>
588
+ </message>
589
+ <message name="SalesGetOrderStatusRequest">
590
+ <part name="sessionId" type="xsd:string"/>
591
+ <part name="orderId" type="xsd:string"/>
592
+ </message>
593
+ <message name="SalesGetOrderStatusResponse">
594
+ <part name="storeView" type="xsd:string"/>
595
+ </message>
596
+ <message name="SalesUpdateOrderStatusRequest">
597
+ <part name="sessionId" type="xsd:string"/>
598
+ <part name="orderId" type="xsd:string"/>
599
+ <part name="status" type="xsd:string"/>
600
+ <part name="sku" type="typens:SkuArray"/>
601
+ <part name="shipping_method_name" type="xsd:string"/>
602
+ <part name="tracking_number" type="xsd:string"/>
603
+ </message>
604
+ <message name="SalesUpdateOrderStatusResponse">
605
+ <part name="storeView" type="xsd:int"/>
606
+ </message>
607
+ <portType name="{{var wsdl.handler}}PortType">
608
+ <operation name="CatalogExtensionEnabled">
609
+ <documentation>Check Extension Enabled</documentation>
610
+ <input message="typens:CatalogExtensionEnabledRequest"/>
611
+ <output message="typens:CatalogExtensionEnabledResponse"/>
612
+ </operation>
613
+ <operation name="CatalogGetProductCount">
614
+ <documentation>Retrieve Product Count</documentation>
615
+ <input message="typens:CatalogGetProductCountRequest"/>
616
+ <output message="typens:CatalogGetProductCountResponse"/>
617
+ </operation>
618
+ <operation name="CatalogGetProductList">
619
+ <documentation>Retrieve Product List</documentation>
620
+ <input message="typens:CatalogGetProductListRequest"/>
621
+ <output message="typens:CatalogGetProductListResponse"/>
622
+ </operation>
623
+ <operation name="CatalogUpdateProduct">
624
+ <documentation>Update Product</documentation>
625
+ <input message="typens:CatalogUpdateProductRequest"/>
626
+ <output message="typens:CatalogUpdateProductResponse"/>
627
+ </operation>
628
+ <operation name="CustomerGetCustomerCount">
629
+ <documentation>Retrieve Customer Count</documentation>
630
+ <input message="typens:CustomerGetCustomerCountRequest"/>
631
+ <output message="typens:CustomerGetCustomerCountResponse"/>
632
+ </operation>
633
+ <operation name="CustomerGetCustomerList">
634
+ <documentation>Retrieve Customer List</documentation>
635
+ <input message="typens:CustomerGetCustomerListRequest"/>
636
+ <output message="typens:CustomerGetCustomerListResponse"/>
637
+ </operation>
638
+ <operation name="SalesGetOrderCount">
639
+ <documentation>Retrieve Order Count</documentation>
640
+ <input message="typens:SalesGetOrderCountRequest"/>
641
+ <output message="typens:SalesGetOrderCountResponse"/>
642
+ </operation>
643
+ <operation name="SalesGetOrderList">
644
+ <documentation>Retrieve Order List</documentation>
645
+ <input message="typens:SalesGetOrderListRequest"/>
646
+ <output message="typens:SalesGetOrderListResponse"/>
647
+ </operation>
648
+ <operation name="SalesGetTaxConfig">
649
+ <documentation>Retrieve Tax Configuration</documentation>
650
+ <input message="typens:SalesGetTaxConfigRequest"/>
651
+ <output message="typens:SalesGetTaxConfigResponse"/>
652
+ </operation>
653
+ <operation name="SalesGetOrderStatus">
654
+ <documentation>Retrieve Order Status</documentation>
655
+ <input message="typens:SalesGetOrderStatusRequest"/>
656
+ <output message="typens:SalesGetOrderStatusResponse"/>
657
+ </operation>
658
+ <operation name="SalesUpdateOrderStatus">
659
+ <documentation>Update Order Status</documentation>
660
+ <input message="typens:SalesUpdateOrderStatusRequest"/>
661
+ <output message="typens:SalesUpdateOrderStatusResponse"/>
662
+ </operation>
663
+ </portType>
664
+ <binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
665
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
666
+ <operation name="CatalogExtensionEnabled">
667
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
668
+ <input>
669
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
670
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
671
+ </input>
672
+ <output>
673
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
674
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
675
+ </output>
676
+ </operation>
677
+ <operation name="CatalogGetProductCount">
678
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
679
+ <input>
680
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
681
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
682
+ </input>
683
+ <output>
684
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
685
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
686
+ </output>
687
+ </operation>
688
+ <operation name="CatalogGetProductList">
689
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
690
+ <input>
691
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
692
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
693
+ </input>
694
+ <output>
695
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
696
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
697
+ </output>
698
+ </operation>
699
+ <operation name="CatalogUpdateProduct">
700
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
701
+ <input>
702
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
703
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
704
+ </input>
705
+ <output>
706
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
707
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
708
+ </output>
709
+ </operation>
710
+ <operation name="CustomerGetCustomerCount">
711
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
712
+ <input>
713
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
714
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
715
+ </input>
716
+ <output>
717
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
718
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
719
+ </output>
720
+ </operation>
721
+ <operation name="CustomerGetCustomerList">
722
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
723
+ <input>
724
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
725
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
726
+ </input>
727
+ <output>
728
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
729
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
730
+ </output>
731
+ </operation>
732
+ <operation name="SalesGetOrderCount">
733
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
734
+ <input>
735
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
736
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
737
+ </input>
738
+ <output>
739
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
740
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
741
+ </output>
742
+ </operation>
743
+ <operation name="SalesGetOrderList">
744
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
745
+ <input>
746
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
747
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
748
+ </input>
749
+ <output>
750
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
751
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
752
+ </output>
753
+ </operation>
754
+ <operation name="SalesGetTaxConfig">
755
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
756
+ <input>
757
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
758
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
759
+ </input>
760
+ <output>
761
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
762
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
763
+ </output>
764
+ </operation>
765
+ <operation name="SalesGetOrderStatus">
766
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
767
+ <input>
768
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
769
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
770
+ </input>
771
+ <output>
772
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
773
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
774
+ </output>
775
+ </operation>
776
+ <operation name="SalesUpdateOrderStatus">
777
+ <soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
778
+ <input>
779
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
780
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
781
+ </input>
782
+ <output>
783
+ <soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
784
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
785
+ </output>
786
+ </operation>
787
+ </binding>
788
+ <service name="{{var wsdl.name}}Service">
789
+ <port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">
790
+ <soap:address location="{{var wsdl.url}}"/>
791
+ </port>
792
+ </service>
793
+ </definitions>
app/code/local/Yfs/Ecomm/etc/wsi.xml ADDED
@@ -0,0 +1,908 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <wsdl:definitions xmlns:typens="urn:{{var wsdl.name}}"
3
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
6
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
7
+ name="{{var wsdl.name}}"
8
+ targetNamespace="urn:{{var wsdl.name}}">
9
+ <wsdl:types>
10
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:{{var wsdl.name}}">
11
+ <!---Declare our types-->
12
+ <xsd:complexType name="catalogProductListArray">
13
+ <xsd:sequence>
14
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:catalogProductList" />
15
+ </xsd:sequence>
16
+ </xsd:complexType>
17
+ <xsd:complexType name="catalogProductList">
18
+ <xsd:sequence>
19
+ <xsd:element name="product_id" type="xsd:string" />
20
+ <xsd:element name="sku" type="xsd:string" />
21
+ <xsd:element name="name" type="xsd:string" />
22
+ <xsd:element name="short_description" type="xsd:string" minOccurs="0" />
23
+ <xsd:element name="price" type="xsd:double" minOccurs="0" />
24
+ <xsd:element name="qty" type="xsd:int" minOccurs="0" />
25
+ <xsd:element name="set" type="xsd:string" />
26
+ <xsd:element name="type" type="xsd:string" />
27
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
28
+ <xsd:element name="category_ids" type="typens:ArrayOfString" />
29
+ <xsd:element name="parent_sku" type="xsd:string" />
30
+ </xsd:sequence>
31
+ </xsd:complexType>
32
+ <xsd:complexType name="customerListArray">
33
+ <xsd:sequence>
34
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:customerList" />
35
+ </xsd:sequence>
36
+ </xsd:complexType>
37
+ <xsd:complexType name="customerList">
38
+ <xsd:sequence>
39
+ <xsd:element name="customer_id" type="xsd:int" minOccurs="0" />
40
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
41
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
42
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
43
+ <xsd:element name="store_id" type="xsd:int" minOccurs="0" />
44
+ <xsd:element name="website_id" type="xsd:int" minOccurs="0" />
45
+ <xsd:element name="created_in" type="xsd:string" minOccurs="0" />
46
+ <xsd:element name="email" type="xsd:string" minOccurs="0" />
47
+ <xsd:element name="firstname" type="xsd:string" minOccurs="0" />
48
+ <xsd:element name="middlename" type="xsd:string" minOccurs="0" />
49
+ <xsd:element name="lastname" type="xsd:string" minOccurs="0" />
50
+ <xsd:element name="group_id" type="xsd:int" minOccurs="0" />
51
+ <xsd:element name="prefix" type="xsd:string" minOccurs="0" />
52
+ <xsd:element name="suffix" type="xsd:string" minOccurs="0" />
53
+ <xsd:element name="dob" type="xsd:string" minOccurs="0" />
54
+ <xsd:element name="taxvat" type="xsd:string" minOccurs="0" />
55
+ <xsd:element name="confirmation" type="xsd:boolean" minOccurs="0" />
56
+ <xsd:element name="password_hash" type="xsd:string" minOccurs="0" />
57
+ <xsd:element name="addresses" type="xsd:customerAddressListArray" minOccurs="0" />
58
+ </xsd:sequence>
59
+ </xsd:complexType>
60
+ <xsd:complexType name="customerAddressListArray">
61
+ <xsd:sequence>
62
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:customerAddressList" />
63
+ </xsd:sequence>
64
+ </xsd:complexType>
65
+ <xsd:complexType name="customerAddressList">
66
+ <xsd:sequence>
67
+ <xsd:element name="customer_address_id" type="xsd:int" minOccurs="0" />
68
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
69
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
70
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
71
+ <xsd:element name="city" type="xsd:string" minOccurs="0" />
72
+ <xsd:element name="company" type="xsd:string" minOccurs="0" />
73
+ <xsd:element name="country_id" type="xsd:string" minOccurs="0" />
74
+ <xsd:element name="fax" type="xsd:string" minOccurs="0" />
75
+ <xsd:element name="firstname" type="xsd:string" minOccurs="0" />
76
+ <xsd:element name="lastname" type="xsd:string" minOccurs="0" />
77
+ <xsd:element name="middlename" type="xsd:string" minOccurs="0" />
78
+ <xsd:element name="postcode" type="xsd:string" minOccurs="0" />
79
+ <xsd:element name="prefix" type="xsd:string" minOccurs="0" />
80
+ <xsd:element name="region" type="xsd:string" minOccurs="0" />
81
+ <xsd:element name="region_id" type="xsd:int" minOccurs="0" />
82
+ <xsd:element name="street" type="xsd:string" minOccurs="0" />
83
+ <xsd:element name="suffix" type="xsd:string" minOccurs="0" />
84
+ <xsd:element name="telephone" type="xsd:string" minOccurs="0" />
85
+ <xsd:element name="is_default_billing" type="xsd:boolean" minOccurs="0" />
86
+ <xsd:element name="is_default_shipping" type="xsd:boolean" minOccurs="0" />
87
+ </xsd:sequence>
88
+ </xsd:complexType>
89
+ <xsd:complexType name="salesGetOrderListEntityArray">
90
+ <xsd:sequence>
91
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:salesGetOrderListEntity" />
92
+ </xsd:sequence>
93
+ </xsd:complexType>
94
+ <xsd:complexType name="salesGetOrderListEntity">
95
+ <xsd:sequence>
96
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
97
+ <xsd:element name="store_id" type="xsd:string" minOccurs="0" />
98
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
99
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
100
+ <xsd:element name="customer_id" type="xsd:string" minOccurs="0" />
101
+ <xsd:element name="tax_amount" type="xsd:string" minOccurs="0" />
102
+ <xsd:element name="shipping_amount" type="xsd:string" minOccurs="0" />
103
+ <xsd:element name="discount_amount" type="xsd:string" minOccurs="0" />
104
+ <xsd:element name="subtotal" type="xsd:string" minOccurs="0" />
105
+ <xsd:element name="grand_total" type="xsd:string" minOccurs="0" />
106
+ <xsd:element name="total_paid" type="xsd:string" minOccurs="0" />
107
+ <xsd:element name="total_refunded" type="xsd:string" minOccurs="0" />
108
+ <xsd:element name="total_qty_ordered" type="xsd:string" minOccurs="0" />
109
+ <xsd:element name="total_canceled" type="xsd:string" minOccurs="0" />
110
+ <xsd:element name="total_invoiced" type="xsd:string" minOccurs="0" />
111
+ <xsd:element name="total_online_refunded" type="xsd:string" minOccurs="0" />
112
+ <xsd:element name="total_offline_refunded" type="xsd:string" minOccurs="0" />
113
+ <xsd:element name="base_tax_amount" type="xsd:string" minOccurs="0" />
114
+ <xsd:element name="base_shipping_amount" type="xsd:string" minOccurs="0" />
115
+ <xsd:element name="base_discount_amount" type="xsd:string" minOccurs="0" />
116
+ <xsd:element name="base_subtotal" type="xsd:string" minOccurs="0" />
117
+ <xsd:element name="base_grand_total" type="xsd:string" minOccurs="0" />
118
+ <xsd:element name="base_total_paid" type="xsd:string" minOccurs="0" />
119
+ <xsd:element name="base_total_refunded" type="xsd:string" minOccurs="0" />
120
+ <xsd:element name="base_total_qty_ordered" type="xsd:string" minOccurs="0" />
121
+ <xsd:element name="base_total_canceled" type="xsd:string" minOccurs="0" />
122
+ <xsd:element name="base_total_invoiced" type="xsd:string" minOccurs="0" />
123
+ <xsd:element name="base_total_online_refunded" type="xsd:string" minOccurs="0" />
124
+ <xsd:element name="base_total_offline_refunded" type="xsd:string" minOccurs="0" />
125
+ <xsd:element name="billing_address_id" type="xsd:string" minOccurs="0" />
126
+ <xsd:element name="billing_firstname" type="xsd:string" minOccurs="0" />
127
+ <xsd:element name="billing_lastname" type="xsd:string" minOccurs="0" />
128
+ <xsd:element name="shipping_address_id" type="xsd:string" minOccurs="0" />
129
+ <xsd:element name="shipping_firstname" type="xsd:string" minOccurs="0" />
130
+ <xsd:element name="shipping_lastname" type="xsd:string" minOccurs="0" />
131
+ <xsd:element name="billing_name" type="xsd:string" minOccurs="0" />
132
+ <xsd:element name="shipping_name" type="xsd:string" minOccurs="0" />
133
+ <xsd:element name="store_to_base_rate" type="xsd:string" minOccurs="0" />
134
+ <xsd:element name="store_to_order_rate" type="xsd:string" minOccurs="0" />
135
+ <xsd:element name="base_to_global_rate" type="xsd:string" minOccurs="0" />
136
+ <xsd:element name="base_to_order_rate" type="xsd:string" minOccurs="0" />
137
+ <xsd:element name="weight" type="xsd:string" minOccurs="0" />
138
+ <xsd:element name="store_name" type="xsd:string" minOccurs="0" />
139
+ <xsd:element name="remote_ip" type="xsd:string" minOccurs="0" />
140
+ <xsd:element name="status" type="xsd:string" minOccurs="0" />
141
+ <xsd:element name="state" type="xsd:string" minOccurs="0" />
142
+ <xsd:element name="applied_rule_ids" type="xsd:string" minOccurs="0" />
143
+ <xsd:element name="global_currency_code" type="xsd:string" minOccurs="0" />
144
+ <xsd:element name="base_currency_code" type="xsd:string" minOccurs="0" />
145
+ <xsd:element name="store_currency_code" type="xsd:string" minOccurs="0" />
146
+ <xsd:element name="order_currency_code" type="xsd:string" minOccurs="0" />
147
+ <xsd:element name="shipping_method" type="xsd:string" minOccurs="0" />
148
+ <xsd:element name="shipping_description" type="xsd:string" minOccurs="0" />
149
+ <xsd:element name="customer_email" type="xsd:string" minOccurs="0" />
150
+ <xsd:element name="customer_firstname" type="xsd:string" minOccurs="0" />
151
+ <xsd:element name="customer_lastname" type="xsd:string" minOccurs="0" />
152
+ <xsd:element name="quote_id" type="xsd:string" minOccurs="0" />
153
+ <xsd:element name="is_virtual" type="xsd:string" minOccurs="0" />
154
+ <xsd:element name="customer_group_id" type="xsd:string" minOccurs="0" />
155
+ <xsd:element name="customer_note_notify" type="xsd:string" minOccurs="0" />
156
+ <xsd:element name="customer_is_guest" type="xsd:string" minOccurs="0" />
157
+ <xsd:element name="email_sent" type="xsd:string" minOccurs="0" />
158
+ <xsd:element name="order_id" type="xsd:string" minOccurs="0" />
159
+ <xsd:element name="gift_message_id" type="xsd:string" minOccurs="0" />
160
+ <xsd:element name="coupon_code" type="xsd:string" minOccurs="0" />
161
+ <xsd:element name="protect_code" type="xsd:string" minOccurs="0" />
162
+ <xsd:element name="base_discount_canceled" type="xsd:string" minOccurs="0" />
163
+ <xsd:element name="base_discount_invoiced" type="xsd:string" minOccurs="0" />
164
+ <xsd:element name="base_discount_refunded" type="xsd:string" minOccurs="0" />
165
+ <xsd:element name="base_shipping_canceled" type="xsd:string" minOccurs="0" />
166
+ <xsd:element name="base_shipping_invoiced" type="xsd:string" minOccurs="0" />
167
+ <xsd:element name="base_shipping_refunded" type="xsd:string" minOccurs="0" />
168
+ <xsd:element name="base_shipping_tax_amount" type="xsd:string" minOccurs="0" />
169
+ <xsd:element name="base_shipping_tax_refunded" type="xsd:string" minOccurs="0" />
170
+ <xsd:element name="base_subtotal_canceled" type="xsd:string" minOccurs="0" />
171
+ <xsd:element name="base_subtotal_invoiced" type="xsd:string" minOccurs="0" />
172
+ <xsd:element name="base_subtotal_refunded" type="xsd:string" minOccurs="0" />
173
+ <xsd:element name="base_tax_canceled" type="xsd:string" minOccurs="0" />
174
+ <xsd:element name="base_tax_invoiced" type="xsd:string" minOccurs="0" />
175
+ <xsd:element name="base_tax_refunded" type="xsd:string" minOccurs="0" />
176
+ <xsd:element name="base_total_invoiced_cost" type="xsd:string" minOccurs="0" />
177
+ <xsd:element name="discount_canceled" type="xsd:string" minOccurs="0" />
178
+ <xsd:element name="discount_invoiced" type="xsd:string" minOccurs="0" />
179
+ <xsd:element name="discount_refunded" type="xsd:string" minOccurs="0" />
180
+ <xsd:element name="shipping_canceled" type="xsd:string" minOccurs="0" />
181
+ <xsd:element name="shipping_invoiced" type="xsd:string" minOccurs="0" />
182
+ <xsd:element name="shipping_refunded" type="xsd:string" minOccurs="0" />
183
+ <xsd:element name="shipping_tax_amount" type="xsd:string" minOccurs="0" />
184
+ <xsd:element name="shipping_tax_refunded" type="xsd:string" minOccurs="0" />
185
+ <xsd:element name="subtotal_canceled" type="xsd:string" minOccurs="0" />
186
+ <xsd:element name="subtotal_invoiced" type="xsd:string" minOccurs="0" />
187
+ <xsd:element name="subtotal_refunded" type="xsd:string" minOccurs="0" />
188
+ <xsd:element name="tax_canceled" type="xsd:string" minOccurs="0" />
189
+ <xsd:element name="tax_invoiced" type="xsd:string" minOccurs="0" />
190
+ <xsd:element name="tax_refunded" type="xsd:string" minOccurs="0" />
191
+ <xsd:element name="can_ship_partially" type="xsd:string" minOccurs="0" />
192
+ <xsd:element name="can_ship_partially_item" type="xsd:string" minOccurs="0" />
193
+ <xsd:element name="edit_increment" type="xsd:string" minOccurs="0" />
194
+ <xsd:element name="forced_do_shipment_with_invoice" type="xsd:string" minOccurs="0" />
195
+ <xsd:element name="payment_authorization_expiration" type="xsd:string" minOccurs="0" />
196
+ <xsd:element name="paypal_ipn_customer_notified" type="xsd:string" minOccurs="0" />
197
+ <xsd:element name="quote_address_id" type="xsd:string" minOccurs="0" />
198
+ <xsd:element name="adjustment_negative" type="xsd:string" minOccurs="0" />
199
+ <xsd:element name="adjustment_positive" type="xsd:string" minOccurs="0" />
200
+ <xsd:element name="base_adjustment_negative" type="xsd:string" minOccurs="0" />
201
+ <xsd:element name="base_adjustment_positive" type="xsd:string" minOccurs="0" />
202
+ <xsd:element name="base_shipping_discount_amount" type="xsd:string" minOccurs="0" />
203
+ <xsd:element name="base_subtotal_incl_tax" type="xsd:string" minOccurs="0" />
204
+ <xsd:element name="base_total_due" type="xsd:string" minOccurs="0" />
205
+ <xsd:element name="payment_authorization_amount" type="xsd:string" minOccurs="0" />
206
+ <xsd:element name="shipping_discount_amount" type="xsd:string" minOccurs="0" />
207
+ <xsd:element name="subtotal_incl_tax" type="xsd:string" minOccurs="0" />
208
+ <xsd:element name="total_due" type="xsd:string" minOccurs="0" />
209
+ <xsd:element name="customer_dob" type="xsd:string" minOccurs="0" />
210
+ <xsd:element name="customer_middlename" type="xsd:string" minOccurs="0" />
211
+ <xsd:element name="customer_prefix" type="xsd:string" minOccurs="0" />
212
+ <xsd:element name="customer_suffix" type="xsd:string" minOccurs="0" />
213
+ <xsd:element name="customer_taxvat" type="xsd:string" minOccurs="0" />
214
+ <xsd:element name="discount_description" type="xsd:string" minOccurs="0" />
215
+ <xsd:element name="ext_customer_id" type="xsd:string" minOccurs="0" />
216
+ <xsd:element name="ext_order_id" type="xsd:string" minOccurs="0" />
217
+ <xsd:element name="hold_before_state" type="xsd:string" minOccurs="0" />
218
+ <xsd:element name="hold_before_status" type="xsd:string" minOccurs="0" />
219
+ <xsd:element name="original_increment_id" type="xsd:string" minOccurs="0" />
220
+ <xsd:element name="relation_child_id" type="xsd:string" minOccurs="0" />
221
+ <xsd:element name="relation_child_real_id" type="xsd:string" minOccurs="0" />
222
+ <xsd:element name="relation_parent_id" type="xsd:string" minOccurs="0" />
223
+ <xsd:element name="relation_parent_real_id" type="xsd:string" minOccurs="0" />
224
+ <xsd:element name="x_forwarded_for" type="xsd:string" minOccurs="0" />
225
+ <xsd:element name="customer_note" type="xsd:string" minOccurs="0" />
226
+ <xsd:element name="total_item_count" type="xsd:string" minOccurs="0" />
227
+ <xsd:element name="customer_gender" type="xsd:string" minOccurs="0" />
228
+ <xsd:element name="hidden_tax_amount" type="xsd:string" minOccurs="0" />
229
+ <xsd:element name="base_hidden_tax_amount" type="xsd:string" minOccurs="0" />
230
+ <xsd:element name="shipping_hidden_tax_amount" type="xsd:string" minOccurs="0" />
231
+ <xsd:element name="base_shipping_hidden_tax_amount" type="xsd:string" minOccurs="0" />
232
+ <xsd:element name="hidden_tax_invoiced" type="xsd:string" minOccurs="0" />
233
+ <xsd:element name="base_hidden_tax_invoiced" type="xsd:string" minOccurs="0" />
234
+ <xsd:element name="hidden_tax_refunded" type="xsd:string" minOccurs="0" />
235
+ <xsd:element name="base_hidden_tax_refunded" type="xsd:string" minOccurs="0" />
236
+ <xsd:element name="shipping_incl_tax" type="xsd:string" minOccurs="0" />
237
+ <xsd:element name="base_shipping_incl_tax" type="xsd:string" minOccurs="0" />
238
+ <xsd:element name="base_customer_balance_amount" type="xsd:string" minOccurs="0" />
239
+ <xsd:element name="customer_balance_amount" type="xsd:string" minOccurs="0" />
240
+ <xsd:element name="base_customer_balance_invoiced" type="xsd:string" minOccurs="0" />
241
+ <xsd:element name="customer_balance_invoiced" type="xsd:string" minOccurs="0" />
242
+ <xsd:element name="base_customer_balance_refunded" type="xsd:string" minOccurs="0" />
243
+ <xsd:element name="customer_balance_refunded" type="xsd:string" minOccurs="0" />
244
+ <xsd:element name="base_customer_balance_total_refunded" type="xsd:string" minOccurs="0" />
245
+ <xsd:element name="customer_balance_total_refunded" type="xsd:string" minOccurs="0" />
246
+ <xsd:element name="gift_cards" type="xsd:string" minOccurs="0" />
247
+ <xsd:element name="base_gift_cards_amount" type="xsd:string" minOccurs="0" />
248
+ <xsd:element name="gift_cards_amount" type="xsd:string" minOccurs="0" />
249
+ <xsd:element name="base_gift_cards_invoiced" type="xsd:string" minOccurs="0" />
250
+ <xsd:element name="gift_cards_invoiced" type="xsd:string" minOccurs="0" />
251
+ <xsd:element name="base_gift_cards_refunded" type="xsd:string" minOccurs="0" />
252
+ <xsd:element name="gift_cards_refunded" type="xsd:string" minOccurs="0" />
253
+ <xsd:element name="reward_points_balance" type="xsd:string" minOccurs="0" />
254
+ <xsd:element name="base_reward_currency_amount" type="xsd:string" minOccurs="0" />
255
+ <xsd:element name="reward_currency_amount" type="xsd:string" minOccurs="0" />
256
+ <xsd:element name="base_reward_currency_amount_invoiced" type="xsd:string" minOccurs="0" />
257
+ <xsd:element name="reward_currency_amount_invoiced" type="xsd:string" minOccurs="0" />
258
+ <xsd:element name="base_reward_currency_amount_refunded" type="xsd:string" minOccurs="0" />
259
+ <xsd:element name="reward_currency_amount_refunded" type="xsd:string" minOccurs="0" />
260
+ <xsd:element name="reward_points_balance_refunded" type="xsd:string" minOccurs="0" />
261
+ <xsd:element name="reward_points_balance_to_refund" type="xsd:string" minOccurs="0" />
262
+ <xsd:element name="reward_salesrule_points" type="xsd:string" minOccurs="0" />
263
+ <xsd:element name="firstname" type="xsd:string" minOccurs="0" />
264
+ <xsd:element name="lastname" type="xsd:string" minOccurs="0" />
265
+ <xsd:element name="telephone" type="xsd:string" minOccurs="0" />
266
+ <xsd:element name="postcode" type="xsd:string" minOccurs="0" />
267
+ <xsd:element name="shipping_address" type="typens:salesShippingAddressEntity" minOccurs="0" />
268
+ <xsd:element name="billing_address" type="typens:salesBillingAddressEntity" minOccurs="0" />
269
+ <xsd:element name="items" type="typens:salesItemsListEntityArray" minOccurs="0" />
270
+ <xsd:element name="payment" type="typens:salesPaymentEntity" minOccurs="0" />
271
+ <xsd:element name="status_history" type="typens:salesStatusHistoryEntityArray" minOccurs="0" />
272
+ <xsd:element name="shipmentCollection" type="typens:salesShipmentListEntityArray" minOccurs="0" />
273
+ </xsd:sequence>
274
+ </xsd:complexType>
275
+ <xsd:complexType name="salesShipmentListEntityArray">
276
+ <xsd:sequence>
277
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:salesShipmentListEntity" />
278
+ </xsd:sequence>
279
+ </xsd:complexType>
280
+ <xsd:complexType name="salesShipmentListEntity">
281
+ <xsd:sequence>
282
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
283
+ <xsd:element name="parent_id" type="xsd:string" minOccurs="0" />
284
+ <xsd:element name="store_id" type="xsd:string" minOccurs="0" />
285
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
286
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
287
+ <xsd:element name="is_active" type="xsd:string" minOccurs="0" />
288
+ <xsd:element name="shipping_address_id" type="xsd:string" minOccurs="0" />
289
+ <xsd:element name="shipping_firstname" type="xsd:string" minOccurs="0" />
290
+ <xsd:element name="shipping_lastname" type="xsd:string" minOccurs="0" />
291
+ <xsd:element name="order_id" type="xsd:string" minOccurs="0" />
292
+ <xsd:element name="order_increment_id" type="xsd:string" minOccurs="0" />
293
+ <xsd:element name="order_created_at" type="xsd:string" minOccurs="0" />
294
+ <xsd:element name="total_qty" type="xsd:string" minOccurs="0" />
295
+ <xsd:element name="shipment_id" type="xsd:string" minOccurs="0" />
296
+ <xsd:element name="items" type="typens:salesOrderShipmentItemInfoEntityArray" minOccurs="0" />
297
+ <xsd:element name="tracks" type="typens:salesOrderShipmentTrackInfoEntityArray" minOccurs="0" />
298
+ </xsd:sequence>
299
+ </xsd:complexType>
300
+ <xsd:complexType name="salesOrderShipmentItemInfoEntityArray">
301
+ <xsd:sequence>
302
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:salesOrderShipmentItemInfoEntity" />
303
+ </xsd:sequence>
304
+ </xsd:complexType>
305
+ <xsd:complexType name="salesOrderShipmentItemInfoEntity">
306
+ <xsd:sequence>
307
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
308
+ <xsd:element name="parent_id" type="xsd:string" minOccurs="0" />
309
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
310
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
311
+ <xsd:element name="is_active" type="xsd:string" minOccurs="0" />
312
+ <xsd:element name="sku" type="xsd:string" minOccurs="0" />
313
+ <xsd:element name="name" type="xsd:string" minOccurs="0" />
314
+ <xsd:element name="order_item_id" type="xsd:string" minOccurs="0" />
315
+ <xsd:element name="product_id" type="xsd:string" minOccurs="0" />
316
+ <xsd:element name="weight" type="xsd:string" minOccurs="0" />
317
+ <xsd:element name="price" type="xsd:string" minOccurs="0" />
318
+ <xsd:element name="qty" type="xsd:string" minOccurs="0" />
319
+ <xsd:element name="item_id" type="xsd:string" minOccurs="0" />
320
+ </xsd:sequence>
321
+ </xsd:complexType>
322
+ <xsd:complexType name="salesOrderShipmentTrackInfoEntityArray">
323
+ <xsd:sequence>
324
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:salesOrderShipmentTrackInfoEntity" />
325
+ </xsd:sequence>
326
+ </xsd:complexType>
327
+ <xsd:complexType name="salesOrderShipmentTrackInfoEntity">
328
+ <xsd:sequence>
329
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
330
+ <xsd:element name="parent_id" type="xsd:string" minOccurs="0" />
331
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
332
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
333
+ <xsd:element name="is_active" type="xsd:string" minOccurs="0" />
334
+ <xsd:element name="carrier_code" type="xsd:string" minOccurs="0" />
335
+ <xsd:element name="title" type="xsd:string" minOccurs="0" />
336
+ <xsd:element name="number" type="xsd:string" minOccurs="0" />
337
+ <xsd:element name="order_id" type="xsd:string" minOccurs="0" />
338
+ <xsd:element name="track_id" type="xsd:string" minOccurs="0" />
339
+ </xsd:sequence>
340
+ </xsd:complexType>
341
+ <xsd:complexType name="salesShippingAddressEntity">
342
+ <xsd:sequence>
343
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
344
+ <xsd:element name="parent_id" type="xsd:string" minOccurs="0" />
345
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
346
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
347
+ <xsd:element name="is_active" type="xsd:string" minOccurs="0" />
348
+ <xsd:element name="address_type" type="xsd:string" minOccurs="0" />
349
+ <xsd:element name="firstname" type="xsd:string" minOccurs="0" />
350
+ <xsd:element name="lastname" type="xsd:string" minOccurs="0" />
351
+ <xsd:element name="company" type="xsd:string" minOccurs="0" />
352
+ <xsd:element name="street" type="xsd:string" minOccurs="0" />
353
+ <xsd:element name="city" type="xsd:string" minOccurs="0" />
354
+ <xsd:element name="region" type="xsd:string" minOccurs="0" />
355
+ <xsd:element name="postcode" type="xsd:string" minOccurs="0" />
356
+ <xsd:element name="country_id" type="xsd:string" minOccurs="0" />
357
+ <xsd:element name="telephone" type="xsd:string" minOccurs="0" />
358
+ <xsd:element name="fax" type="xsd:string" minOccurs="0" />
359
+ <xsd:element name="region_id" type="xsd:string" minOccurs="0" />
360
+ <xsd:element name="address_id" type="xsd:string" minOccurs="0" />
361
+ </xsd:sequence>
362
+ </xsd:complexType>
363
+ <xsd:complexType name="salesBillingAddressEntity">
364
+ <xsd:sequence>
365
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
366
+ <xsd:element name="parent_id" type="xsd:string" minOccurs="0" />
367
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
368
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
369
+ <xsd:element name="is_active" type="xsd:string" minOccurs="0" />
370
+ <xsd:element name="address_type" type="xsd:string" minOccurs="0" />
371
+ <xsd:element name="firstname" type="xsd:string" minOccurs="0" />
372
+ <xsd:element name="lastname" type="xsd:string" minOccurs="0" />
373
+ <xsd:element name="company" type="xsd:string" minOccurs="0" />
374
+ <xsd:element name="street" type="xsd:string" minOccurs="0" />
375
+ <xsd:element name="city" type="xsd:string" minOccurs="0" />
376
+ <xsd:element name="region" type="xsd:string" minOccurs="0" />
377
+ <xsd:element name="postcode" type="xsd:string" minOccurs="0" />
378
+ <xsd:element name="country_id" type="xsd:string" minOccurs="0" />
379
+ <xsd:element name="telephone" type="xsd:string" minOccurs="0" />
380
+ <xsd:element name="fax" type="xsd:string" minOccurs="0" />
381
+ <xsd:element name="region_id" type="xsd:string" minOccurs="0" />
382
+ <xsd:element name="address_id" type="xsd:string" minOccurs="0" />
383
+ </xsd:sequence>
384
+ </xsd:complexType>
385
+ <xsd:complexType name="salesItemsListEntityArray">
386
+ <xsd:sequence>
387
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:salesItemsListEntity" />
388
+ </xsd:sequence>
389
+ </xsd:complexType>
390
+ <xsd:complexType name="salesItemsListEntity">
391
+ <xsd:sequence>
392
+ <xsd:element name="item_id" type="xsd:string" minOccurs="0" />
393
+ <xsd:element name="order_id" type="xsd:string" minOccurs="0" />
394
+ <xsd:element name="quote_item_id" type="xsd:string" minOccurs="0" />
395
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
396
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
397
+ <xsd:element name="product_id" type="xsd:string" minOccurs="0" />
398
+ <xsd:element name="product_type" type="xsd:string" minOccurs="0" />
399
+ <xsd:element name="product_options" type="xsd:string" minOccurs="0" />
400
+ <xsd:element name="weight" type="xsd:string" minOccurs="0" />
401
+ <xsd:element name="is_virtual" type="xsd:string" minOccurs="0" />
402
+ <xsd:element name="sku" type="xsd:string" minOccurs="0" />
403
+ <xsd:element name="name" type="xsd:string" minOccurs="0" />
404
+ <xsd:element name="applied_rule_ids" type="xsd:string" minOccurs="0" />
405
+ <xsd:element name="free_shipping" type="xsd:string" minOccurs="0" />
406
+ <xsd:element name="is_qty_decimal" type="xsd:string" minOccurs="0" />
407
+ <xsd:element name="no_discount" type="xsd:string" minOccurs="0" />
408
+ <xsd:element name="qty_canceled" type="xsd:string" minOccurs="0" />
409
+ <xsd:element name="qty_invoiced" type="xsd:string" minOccurs="0" />
410
+ <xsd:element name="qty_ordered" type="xsd:string" minOccurs="0" />
411
+ <xsd:element name="qty_refunded" type="xsd:string" minOccurs="0" />
412
+ <xsd:element name="qty_shipped" type="xsd:string" minOccurs="0" />
413
+ <xsd:element name="cost" type="xsd:string" minOccurs="0" />
414
+ <xsd:element name="price" type="xsd:string" minOccurs="0" />
415
+ <xsd:element name="base_price" type="xsd:string" minOccurs="0" />
416
+ <xsd:element name="original_price" type="xsd:string" minOccurs="0" />
417
+ <xsd:element name="base_original_price" type="xsd:string" minOccurs="0" />
418
+ <xsd:element name="tax_percent" type="xsd:string" minOccurs="0" />
419
+ <xsd:element name="tax_amount" type="xsd:string" minOccurs="0" />
420
+ <xsd:element name="base_tax_amount" type="xsd:string" minOccurs="0" />
421
+ <xsd:element name="tax_invoiced" type="xsd:string" minOccurs="0" />
422
+ <xsd:element name="base_tax_invoiced" type="xsd:string" minOccurs="0" />
423
+ <xsd:element name="discount_percent" type="xsd:string" minOccurs="0" />
424
+ <xsd:element name="discount_amount" type="xsd:string" minOccurs="0" />
425
+ <xsd:element name="base_discount_amount" type="xsd:string" minOccurs="0" />
426
+ <xsd:element name="discount_invoiced" type="xsd:string" minOccurs="0" />
427
+ <xsd:element name="base_discount_invoiced" type="xsd:string" minOccurs="0" />
428
+ <xsd:element name="amount_refunded" type="xsd:string" minOccurs="0" />
429
+ <xsd:element name="base_amount_refunded" type="xsd:string" minOccurs="0" />
430
+ <xsd:element name="row_total" type="xsd:string" minOccurs="0" />
431
+ <xsd:element name="base_row_total" type="xsd:string" minOccurs="0" />
432
+ <xsd:element name="row_invoiced" type="xsd:string" minOccurs="0" />
433
+ <xsd:element name="base_row_invoiced" type="xsd:string" minOccurs="0" />
434
+ <xsd:element name="row_weight" type="xsd:string" minOccurs="0" />
435
+ <xsd:element name="gift_message_id" type="xsd:string" minOccurs="0" />
436
+ <xsd:element name="gift_message" type="xsd:string" minOccurs="0" />
437
+ <xsd:element name="gift_message_available" type="xsd:string" minOccurs="0" />
438
+ <xsd:element name="base_tax_before_discount" type="xsd:string" minOccurs="0" />
439
+ <xsd:element name="tax_before_discount" type="xsd:string" minOccurs="0" />
440
+ <xsd:element name="weee_tax_applied" type="xsd:string" minOccurs="0" />
441
+ <xsd:element name="weee_tax_applied_amount" type="xsd:string" minOccurs="0" />
442
+ <xsd:element name="weee_tax_applied_row_amount" type="xsd:string" minOccurs="0" />
443
+ <xsd:element name="base_weee_tax_applied_amount" type="xsd:string" minOccurs="0" />
444
+ <xsd:element name="base_weee_tax_applied_row_amount" type="xsd:string" minOccurs="0" />
445
+ <xsd:element name="weee_tax_disposition" type="xsd:string" minOccurs="0" />
446
+ <xsd:element name="weee_tax_row_disposition" type="xsd:string" minOccurs="0" />
447
+ <xsd:element name="base_weee_tax_disposition" type="xsd:string" minOccurs="0" />
448
+ <xsd:element name="base_weee_tax_row_disposition" type="xsd:string" minOccurs="0" />
449
+ <xsd:element name="current_qty" type="xsd:int" minOccurs="0" />
450
+ </xsd:sequence>
451
+ </xsd:complexType>
452
+ <xsd:complexType name="salesPaymentEntity">
453
+ <xsd:sequence>
454
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
455
+ <xsd:element name="parent_id" type="xsd:string" minOccurs="0" />
456
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
457
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
458
+ <xsd:element name="is_active" type="xsd:string" minOccurs="0" />
459
+ <xsd:element name="amount_ordered" type="xsd:string" minOccurs="0" />
460
+ <xsd:element name="shipping_amount" type="xsd:string" minOccurs="0" />
461
+ <xsd:element name="base_amount_ordered" type="xsd:string" minOccurs="0" />
462
+ <xsd:element name="base_shipping_amount" type="xsd:string" minOccurs="0" />
463
+ <xsd:element name="method" type="xsd:string" minOccurs="0" />
464
+ <xsd:element name="po_number" type="xsd:string" minOccurs="0" />
465
+ <xsd:element name="cc_type" type="xsd:string" minOccurs="0" />
466
+ <xsd:element name="cc_number_enc" type="xsd:string" minOccurs="0" />
467
+ <xsd:element name="cc_last4" type="xsd:string" minOccurs="0" />
468
+ <xsd:element name="cc_owner" type="xsd:string" minOccurs="0" />
469
+ <xsd:element name="cc_exp_month" type="xsd:string" minOccurs="0" />
470
+ <xsd:element name="cc_exp_year" type="xsd:string" minOccurs="0" />
471
+ <xsd:element name="cc_ss_start_month" type="xsd:string" minOccurs="0" />
472
+ <xsd:element name="cc_ss_start_year" type="xsd:string" minOccurs="0" />
473
+ <xsd:element name="payment_id" type="xsd:string" minOccurs="0" />
474
+ </xsd:sequence>
475
+ </xsd:complexType>
476
+ <xsd:complexType name="salesStatusHistoryEntityArray">
477
+ <xsd:sequence>
478
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:salesStatusHistoryEntity" />
479
+ </xsd:sequence>
480
+ </xsd:complexType>
481
+ <xsd:complexType name="salesStatusHistoryEntity">
482
+ <xsd:sequence>
483
+ <xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
484
+ <xsd:element name="parent_id" type="xsd:string" minOccurs="0" />
485
+ <xsd:element name="created_at" type="xsd:string" minOccurs="0" />
486
+ <xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
487
+ <xsd:element name="is_active" type="xsd:string" minOccurs="0" />
488
+ <xsd:element name="is_customer_notified" type="xsd:string" minOccurs="0" />
489
+ <xsd:element name="status" type="xsd:string" minOccurs="0" />
490
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" />
491
+ </xsd:sequence>
492
+ </xsd:complexType>
493
+ <xsd:complexType name="SkuArray">
494
+ <xsd:sequence>
495
+ <xsd:element name="sku" type="xsd:associativeEntity" minOccurs="0" />
496
+ </xsd:sequence>
497
+ </xsd:complexType>
498
+ <!---Declare our input and output parameters-->
499
+ <xsd:element name="CatalogExtensionEnabledRequestParam">
500
+ <xsd:complexType>
501
+ <xsd:sequence>
502
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
503
+ </xsd:sequence>
504
+ </xsd:complexType>
505
+ </xsd:element>
506
+ <xsd:element name="CatalogExtensionEnabledResponseParam">
507
+ <xsd:complexType>
508
+ <xsd:sequence>
509
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:int" />
510
+ </xsd:sequence>
511
+ </xsd:complexType>
512
+ </xsd:element>
513
+ <xsd:element name="CatalogGetProductCountRequestParam">
514
+ <xsd:complexType>
515
+ <xsd:sequence>
516
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
517
+ </xsd:sequence>
518
+ </xsd:complexType>
519
+ </xsd:element>
520
+ <xsd:element name="CatalogGetProductCountResponseParam">
521
+ <xsd:complexType>
522
+ <xsd:sequence>
523
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:int" />
524
+ </xsd:sequence>
525
+ </xsd:complexType>
526
+ </xsd:element>
527
+ <xsd:element name="CatalogGetProductListRequestParam">
528
+ <xsd:complexType>
529
+ <xsd:sequence>
530
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
531
+ <xsd:element minOccurs="1" maxOccurs="1" name="productId" type="xsd:string" />
532
+ <xsd:element minOccurs="1" maxOccurs="1" name="page" type="xsd:int" />
533
+ <xsd:element minOccurs="1" maxOccurs="1" name="limit" type="xsd:int" />
534
+ <xsd:element minOccurs="1" maxOccurs="1" name="filters" type="typens:filters" />
535
+ <xsd:element minOccurs="0" maxOccurs="1" name="store" type="xsd:string" />
536
+ </xsd:sequence>
537
+ </xsd:complexType>
538
+ </xsd:element>
539
+ <xsd:element name="CatalogGetProductListResponseParam">
540
+ <xsd:complexType>
541
+ <xsd:sequence>
542
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="typens:catalogProductListArray" />
543
+ </xsd:sequence>
544
+ </xsd:complexType>
545
+ </xsd:element>
546
+ <xsd:element name="CatalogUpdateProductRequestParam">
547
+ <xsd:complexType>
548
+ <xsd:sequence>
549
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
550
+ <xsd:element minOccurs="1" maxOccurs="1" name="sku" type="xsd:string" />
551
+ <xsd:element minOccurs="1" maxOccurs="1" name="price" type="xsd:double" />
552
+ <xsd:element minOccurs="1" maxOccurs="1" name="qty" type="typens:int" />
553
+ </xsd:sequence>
554
+ </xsd:complexType>
555
+ </xsd:element>
556
+ <xsd:element name="CatalogUpdateProductResponseParam">
557
+ <xsd:complexType>
558
+ <xsd:sequence>
559
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:int" />
560
+ </xsd:sequence>
561
+ </xsd:complexType>
562
+ </xsd:element>
563
+ <xsd:element name="CustomerGetCustomerCountRequestParam">
564
+ <xsd:complexType>
565
+ <xsd:sequence>
566
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
567
+ </xsd:sequence>
568
+ </xsd:complexType>
569
+ </xsd:element>
570
+ <xsd:element name="CustomerGetCustomerCountResponseParam">
571
+ <xsd:complexType>
572
+ <xsd:sequence>
573
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:int" />
574
+ </xsd:sequence>
575
+ </xsd:complexType>
576
+ </xsd:element>
577
+ <xsd:element name="CustomerGetCustomerListRequestParam">
578
+ <xsd:complexType>
579
+ <xsd:sequence>
580
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
581
+ <xsd:element minOccurs="1" maxOccurs="1" name="customerId" type="xsd:string" />
582
+ <xsd:element minOccurs="1" maxOccurs="1" name="limit" type="xsd:int" />
583
+ <xsd:element minOccurs="1" maxOccurs="1" name="filters" type="typens:filters" />
584
+ </xsd:sequence>
585
+ </xsd:complexType>
586
+ </xsd:element>
587
+ <xsd:element name="CustomerGetCustomerListResponseParam">
588
+ <xsd:complexType>
589
+ <xsd:sequence>
590
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="typens:customerListArray" />
591
+ </xsd:sequence>
592
+ </xsd:complexType>
593
+ </xsd:element>
594
+ <xsd:element name="SalesGetOrderCountRequestParam">
595
+ <xsd:complexType>
596
+ <xsd:sequence>
597
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
598
+ </xsd:sequence>
599
+ </xsd:complexType>
600
+ </xsd:element>
601
+ <xsd:element name="SalesGetOrderCountResponseParam">
602
+ <xsd:complexType>
603
+ <xsd:sequence>
604
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:int" />
605
+ </xsd:sequence>
606
+ </xsd:complexType>
607
+ </xsd:element>
608
+ <xsd:element name="SalesGetOrderListRequestParam">
609
+ <xsd:complexType>
610
+ <xsd:sequence>
611
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
612
+ <xsd:element minOccurs="1" maxOccurs="1" name="fromDate" type="xsd:string" />
613
+ <xsd:element minOccurs="1" maxOccurs="1" name="toDate" type="xsd:string" />
614
+ <xsd:element minOccurs="1" maxOccurs="1" name="limit" type="xsd:int" />
615
+ <xsd:element minOccurs="1" maxOccurs="1" name="resync" type="xsd:int" />
616
+ <xsd:element minOccurs="1" maxOccurs="1" name="filters" type="typens:filters" />
617
+ </xsd:sequence>
618
+ </xsd:complexType>
619
+ </xsd:element>
620
+ <xsd:element name="SalesGetOrderListResponseParam">
621
+ <xsd:complexType>
622
+ <xsd:sequence>
623
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="typens:salesGetOrderListEntityArray" />
624
+ </xsd:sequence>
625
+ </xsd:complexType>
626
+ </xsd:element>
627
+ <xsd:element name="SalesGetTaxConfigRequestParam">
628
+ <xsd:complexType>
629
+ <xsd:sequence>
630
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
631
+ </xsd:sequence>
632
+ </xsd:complexType>
633
+ </xsd:element>
634
+ <xsd:element name="SalesGetTaxConfigResponseParam">
635
+ <xsd:complexType>
636
+ <xsd:sequence>
637
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:string" />
638
+ </xsd:sequence>
639
+ </xsd:complexType>
640
+ </xsd:element>
641
+ <xsd:element name="SalesGetOrderStatusRequestParam">
642
+ <xsd:complexType>
643
+ <xsd:sequence>
644
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
645
+ <xsd:element minOccurs="1" maxOccurs="1" name="orderId" type="xsd:string" />
646
+ </xsd:sequence>
647
+ </xsd:complexType>
648
+ </xsd:element>
649
+ <xsd:element name="SalesGetOrderStatusResponseParam">
650
+ <xsd:complexType>
651
+ <xsd:sequence>
652
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:string" />
653
+ </xsd:sequence>
654
+ </xsd:complexType>
655
+ </xsd:element>
656
+ <xsd:element name="SalesUpdateOrderStatusRequestParam">
657
+ <xsd:complexType>
658
+ <xsd:sequence>
659
+ <xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
660
+ <xsd:element minOccurs="1" maxOccurs="1" name="orderId" type="xsd:string" />
661
+ <xsd:element minOccurs="1" maxOccurs="1" name="status" type="xsd:string" />
662
+ <xsd:element minOccurs="1" maxOccurs="1" name="sku" type="typens:SkuArray" />
663
+ <xsd:element minOccurs="1" maxOccurs="1" name="shipping_method_name" type="xsd:string" />
664
+ <xsd:element minOccurs="1" maxOccurs="1" name="tracking_number" type="xsd:string" />
665
+ </xsd:sequence>
666
+ </xsd:complexType>
667
+ </xsd:element>
668
+ <xsd:element name="SalesUpdateOrderStatusResponseParam">
669
+ <xsd:complexType>
670
+ <xsd:sequence>
671
+ <xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:int" />
672
+ </xsd:sequence>
673
+ </xsd:complexType>
674
+ </xsd:element>
675
+ <!---Boohoo-->
676
+ </xsd:schema>
677
+ </wsdl:types>
678
+ <wsdl:message name="CatalogExtensionEnabledRequest">
679
+ <wsdl:part name="parameters" element="typens:CatalogExtensionEnabledRequestParam" />
680
+ </wsdl:message>
681
+ <wsdl:message name="CatalogExtensionEnabledResponse">
682
+ <wsdl:part name="parameters" element="typens:CatalogExtensionEnabledResponseParam" />
683
+ </wsdl:message>
684
+ <wsdl:message name="CatalogGetProductCountRequest">
685
+ <wsdl:part name="parameters" element="typens:CatalogGetProductCountRequestParam" />
686
+ </wsdl:message>
687
+ <wsdl:message name="CatalogGetProductCountResponse">
688
+ <wsdl:part name="parameters" element="typens:CatalogGetProductCountResponseParam" />
689
+ </wsdl:message>
690
+ <wsdl:message name="CatalogGetProductListRequest">
691
+ <wsdl:part name="parameters" element="typens:CatalogGetProductListRequestParam" />
692
+ </wsdl:message>
693
+ <wsdl:message name="CatalogGetProductListResponse">
694
+ <wsdl:part name="parameters" element="typens:CatalogGetProductListResponseParam" />
695
+ </wsdl:message>
696
+ <wsdl:message name="CatalogUpdateProductRequest">
697
+ <wsdl:part name="parameters" element="typens:CatalogUpdateProductRequestParam" />
698
+ </wsdl:message>
699
+ <wsdl:message name="CatalogUpdateProductResponse">
700
+ <wsdl:part name="parameters" element="typens:CatalogUpdateProductResponseParam" />
701
+ </wsdl:message>
702
+ <wsdl:message name="CustomerGetCustomerCountRequest">
703
+ <wsdl:part name="parameters" element="typens:CustomerGetCustomerCountRequestParam" />
704
+ </wsdl:message>
705
+ <wsdl:message name="CustomerGetCustomerCountResponse">
706
+ <wsdl:part name="parameters" element="typens:CustomerGetCustomerCountResponseParam" />
707
+ </wsdl:message>
708
+ <wsdl:message name="CustomerGetCustomerListRequest">
709
+ <wsdl:part name="parameters" element="typens:CustomerGetCustomerListRequestParam" />
710
+ </wsdl:message>
711
+ <wsdl:message name="CustomerGetCustomerListResponse">
712
+ <wsdl:part name="parameters" element="typens:CustomerGetCustomerListResponseParam" />
713
+ </wsdl:message>
714
+ <wsdl:message name="SalesGetOrderCountRequest">
715
+ <wsdl:part name="parameters" element="typens:SalesGetOrderCountRequestParam" />
716
+ </wsdl:message>
717
+ <wsdl:message name="SalesGetOrderCountResponse">
718
+ <wsdl:part name="parameters" element="typens:SalesGetOrderCountResponseParam" />
719
+ </wsdl:message>
720
+ <wsdl:message name="SalesGetOrderListRequest">
721
+ <wsdl:part name="parameters" element="typens:SalesGetOrderListRequestParam" />
722
+ </wsdl:message>
723
+ <wsdl:message name="SalesGetOrderListResponse">
724
+ <wsdl:part name="parameters" element="typens:SalesGetOrderListResponseParam" />
725
+ </wsdl:message>
726
+ <wsdl:message name="SalesGetTaxConfigRequest">
727
+ <wsdl:part name="parameters" element="typens:SalesGetTaxConfigRequestParam" />
728
+ </wsdl:message>
729
+ <wsdl:message name="SalesGetTaxConfigResponse">
730
+ <wsdl:part name="parameters" element="typens:SalesGetTaxConfigResponseParam" />
731
+ </wsdl:message>
732
+ <wsdl:message name="SalesGetOrderStatusRequest">
733
+ <wsdl:part name="parameters" element="typens:SalesGetOrderStatusRequestParam" />
734
+ </wsdl:message>
735
+ <wsdl:message name="SalesGetOrderStatusResponse">
736
+ <wsdl:part name="parameters" element="typens:SalesGetOrderStatusResponseParam" />
737
+ </wsdl:message>
738
+ <wsdl:message name="SalesUpdateOrderStatusRequest">
739
+ <wsdl:part name="parameters" element="typens:SalesUpdateOrderStatusRequestParam" />
740
+ </wsdl:message>
741
+ <wsdl:message name="SalesUpdateOrderStatusResponse">
742
+ <wsdl:part name="parameters" element="typens:SalesUpdateOrderStatusResponseParam" />
743
+ </wsdl:message>
744
+ <wsdl:portType name="{{var wsdl.handler}}PortType">
745
+ <wsdl:operation name="CatalogExtensionEnabled">
746
+ <wsdl:documentation>Check Extension Enabled</wsdl:documentation>
747
+ <wsdl:input message="typens:CatalogExtensionEnabledRequest" />
748
+ <wsdl:output message="typens:CatalogExtensionEnabledResponse" />
749
+ </wsdl:operation>
750
+ <wsdl:operation name="CatalogGetProductCount">
751
+ <wsdl:documentation>Retrieve Product Count</wsdl:documentation>
752
+ <wsdl:input message="typens:CatalogGetProductCountRequest" />
753
+ <wsdl:output message="typens:CatalogGetProductCountResponse" />
754
+ </wsdl:operation>
755
+ <wsdl:operation name="CatalogGetProductList">
756
+ <wsdl:documentation>Retrieve Product List</wsdl:documentation>
757
+ <wsdl:input message="typens:CatalogGetProductListRequest" />
758
+ <wsdl:output message="typens:CatalogGetProductListResponse" />
759
+ </wsdl:operation>
760
+ <wsdl:operation name="CatalogUpdateProduct">
761
+ <wsdl:documentation>Update Product</wsdl:documentation>
762
+ <wsdl:input message="typens:CatalogUpdateProductRequest" />
763
+ <wsdl:output message="typens:CatalogUpdateProductResponse" />
764
+ </wsdl:operation>
765
+ <wsdl:operation name="CustomerGetCustomerCount">
766
+ <wsdl:documentation>Retrieve Customer Count</wsdl:documentation>
767
+ <wsdl:input message="typens:CustomerGetCustomerCountRequest" />
768
+ <wsdl:output message="typens:CustomerGetCustomerCountResponse" />
769
+ </wsdl:operation>
770
+ <wsdl:operation name="CustomerGetCustomerList">
771
+ <wsdl:documentation>Retrieve Customer List</wsdl:documentation>
772
+ <wsdl:input message="typens:CustomerGetCustomerListRequest" />
773
+ <wsdl:output message="typens:CustomerGetCustomerListResponse" />
774
+ </wsdl:operation>
775
+ <wsdl:operation name="SalesGetOrderCount">
776
+ <wsdl:documentation>Retrieve Order Count</wsdl:documentation>
777
+ <wsdl:input message="typens:SalesGetOrderCountRequest" />
778
+ <wsdl:output message="typens:SalesGetOrderCountResponse" />
779
+ </wsdl:operation>
780
+ <wsdl:operation name="SalesGetOrderList">
781
+ <wsdl:documentation>Retrieve Order List</wsdl:documentation>
782
+ <wsdl:input message="typens:SalesGetOrderListRequest" />
783
+ <wsdl:output message="typens:SalesGetOrderListResponse" />
784
+ </wsdl:operation>
785
+ <wsdl:operation name="SalesGetTaxConfig">
786
+ <wsdl:documentation>Retrieve Tax Configuration</wsdl:documentation>
787
+ <wsdl:input message="typens:SalesGetTaxConfigRequest" />
788
+ <wsdl:output message="typens:SalesGetTaxConfigResponse" />
789
+ </wsdl:operation>
790
+ <wsdl:operation name="SalesGetOrderStatus">
791
+ <wsdl:documentation>Retrieve Order Status</wsdl:documentation>
792
+ <wsdl:input message="typens:SalesGetOrderStatusRequest" />
793
+ <wsdl:output message="typens:SalesGetOrderStatusResponse" />
794
+ </wsdl:operation>
795
+ <wsdl:operation name="SalesUpdateOrderStatus">
796
+ <wsdl:documentation>Update Order Status</wsdl:documentation>
797
+ <wsdl:input message="typens:SalesUpdateOrderStatusRequest" />
798
+ <wsdl:output message="typens:SalesUpdateOrderStatusResponse" />
799
+ </wsdl:operation>
800
+ </wsdl:portType>
801
+ <wsdl:binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
802
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
803
+ <wsdl:operation name="CatalogExtensionEnabled">
804
+ <soap:operation soapAction="" />
805
+ <wsdl:input>
806
+ <soap:body use="literal" />
807
+ </wsdl:input>
808
+ <wsdl:output>
809
+ <soap:body use="literal" />
810
+ </wsdl:output>
811
+ </wsdl:operation>
812
+ <wsdl:operation name="CatalogGetProductCount">
813
+ <soap:operation soapAction="" />
814
+ <wsdl:input>
815
+ <soap:body use="literal" />
816
+ </wsdl:input>
817
+ <wsdl:output>
818
+ <soap:body use="literal" />
819
+ </wsdl:output>
820
+ </wsdl:operation>
821
+ <wsdl:operation name="CatalogGetProductList">
822
+ <soap:operation soapAction="" />
823
+ <wsdl:input>
824
+ <soap:body use="literal" />
825
+ </wsdl:input>
826
+ <wsdl:output>
827
+ <soap:body use="literal" />
828
+ </wsdl:output>
829
+ </wsdl:operation>
830
+ <wsdl:operation name="CatalogUpdateProduct">
831
+ <soap:operation soapAction="" />
832
+ <wsdl:input>
833
+ <soap:body use="literal" />
834
+ </wsdl:input>
835
+ <wsdl:output>
836
+ <soap:body use="literal" />
837
+ </wsdl:output>
838
+ </wsdl:operation>
839
+ <wsdl:operation name="CustomerGetCustomerCount">
840
+ <soap:operation soapAction="" />
841
+ <wsdl:input>
842
+ <soap:body use="literal" />
843
+ </wsdl:input>
844
+ <wsdl:output>
845
+ <soap:body use="literal" />
846
+ </wsdl:output>
847
+ </wsdl:operation>
848
+ <wsdl:operation name="CustomerGetCustomerList">
849
+ <soap:operation soapAction="" />
850
+ <wsdl:input>
851
+ <soap:body use="literal" />
852
+ </wsdl:input>
853
+ <wsdl:output>
854
+ <soap:body use="literal" />
855
+ </wsdl:output>
856
+ </wsdl:operation>
857
+ <wsdl:operation name="SalesGetOrderCount">
858
+ <soap:operation soapAction="" />
859
+ <wsdl:input>
860
+ <soap:body use="literal" />
861
+ </wsdl:input>
862
+ <wsdl:output>
863
+ <soap:body use="literal" />
864
+ </wsdl:output>
865
+ </wsdl:operation>
866
+ <wsdl:operation name="SalesGetOrderList">
867
+ <soap:operation soapAction="" />
868
+ <wsdl:input>
869
+ <soap:body use="literal" />
870
+ </wsdl:input>
871
+ <wsdl:output>
872
+ <soap:body use="literal" />
873
+ </wsdl:output>
874
+ </wsdl:operation>
875
+ <wsdl:operation name="SalesGetTaxConfig">
876
+ <soap:operation soapAction="" />
877
+ <wsdl:input>
878
+ <soap:body use="literal" />
879
+ </wsdl:input>
880
+ <wsdl:output>
881
+ <soap:body use="literal" />
882
+ </wsdl:output>
883
+ </wsdl:operation>
884
+ <wsdl:operation name="SalesGetOrderStatus">
885
+ <soap:operation soapAction="" />
886
+ <wsdl:input>
887
+ <soap:body use="literal" />
888
+ </wsdl:input>
889
+ <wsdl:output>
890
+ <soap:body use="literal" />
891
+ </wsdl:output>
892
+ </wsdl:operation>
893
+ <wsdl:operation name="SalesUpdateOrderStatus">
894
+ <soap:operation soapAction="" />
895
+ <wsdl:input>
896
+ <soap:body use="literal" />
897
+ </wsdl:input>
898
+ <wsdl:output>
899
+ <soap:body use="literal" />
900
+ </wsdl:output>
901
+ </wsdl:operation>
902
+ </wsdl:binding>
903
+ <wsdl:service name="{{var wsdl.name}}Service">
904
+ <wsdl:port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">
905
+ <soap:address location="{{var wsdl.url}}" />
906
+ </wsdl:port>
907
+ </wsdl:service>
908
+ </wsdl:definitions>
app/etc/modules/Yfs_Ecomm.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0"?>
2
  <config>
3
- <modules>
4
- <Yfs_Ecomm>
5
- <active>true</active>
6
- <codePool>local</codePool>
7
- </Yfs_Ecomm>
8
- </modules>
9
- </config>
1
  <?xml version="1.0"?>
2
  <config>
3
+ <modules>
4
+ <Yfs_Ecomm>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </Yfs_Ecomm>
8
+ </modules>
9
+ </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Yfs_Ecomm</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Orderhive-Integration Extension for Magento will provide smooth and reliable APIs (products, customers and sales orders) for sharing large amount of data between your store and Orderhive without affecting your store performance. It provides an interface to revoke permission from Orderhive in order to stop API calls.</description>
11
  <notes>Bug fixes in sync process,inventory update and order status update</notes>
12
  <authors><author><name>Jayneel</name><user>jayneel</user><email>jayneel@openxcell.com</email></author><author><name>Niyati</name><user>niyati7</user><email>niyati@openxcelltechnolabs.com</email></author></authors>
13
- <date>2014-05-31</date>
14
- <time>08:29:40</time>
15
- <contents><target name="magelocal"><dir name="Yfs"><dir name="Ecomm"><dir name="Helper"><file name="Data.php" hash="255648b1584edd335fb243a5c3488b5c"/></dir><dir name="Model"><dir name="Catalog"><file name="Api.php" hash="713404ef7d4f722dcf28f48f6eefdc5f"/></dir><dir name="Customer"><file name="Api.php" hash="1f1a0a75a96d218096a8a6dba13150ac"/></dir><dir name="Sales"><file name="Api.php" hash="e4a2bdb1ae978899d4d99aa94f4b9186"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="d8a1e1b41c8f96aaa6f45464a3a6e258"/><file name="api.xml" hash="6b5dfd2eb8a520c3687cee9464ec73ba"/><file name="config.xml" hash="424f465679881b4cdd5375bf315d4f34"/><file name="system.xml" hash="4d0f5d29e6f53f82da3de08cd543f643"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Yfs_Ecomm.xml" hash="92cf46671c629456dfefa5313749ffa8"/></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Yfs_Ecomm</name>
4
+ <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
10
  <description>Orderhive-Integration Extension for Magento will provide smooth and reliable APIs (products, customers and sales orders) for sharing large amount of data between your store and Orderhive without affecting your store performance. It provides an interface to revoke permission from Orderhive in order to stop API calls.</description>
11
  <notes>Bug fixes in sync process,inventory update and order status update</notes>
12
  <authors><author><name>Jayneel</name><user>jayneel</user><email>jayneel@openxcell.com</email></author><author><name>Niyati</name><user>niyati7</user><email>niyati@openxcelltechnolabs.com</email></author></authors>
13
+ <date>2014-11-11</date>
14
+ <time>12:10:07</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Yfs_Ecomm.xml" hash="08fcae739eadbee91bad139fe1f684a6"/></dir></target><target name="magelocal"><dir name="Yfs"><dir name="Ecomm"><dir name="Helper"><file name="Data.php" hash="ed76f9874e036fedc5729f5afdbec816"/></dir><dir name="Model"><dir name="Catalog"><dir name="Api"><file name="V2.php" hash="6ddeaab144a1b59ff035b7a56c57e27d"/></dir></dir><dir name="Customer"><dir name="Api"><file name="V2.php" hash="454cab3b2928ccc671338d638b9e7d07"/></dir></dir><dir name="Sales"><dir name="Api"><file name="V2.php" hash="4c04f6b3bc48e0a9299a1f9c348fb28e"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="bbc34dd5b03a63b1d029408a42307d53"/><file name="api.xml" hash="17686a001997f438f72442124bbb4ec9"/><file name="config.xml" hash="424f465679881b4cdd5375bf315d4f34"/><file name="system.xml" hash="748d8877c7bcffa6558bd70d157cfcef"/><file name="wsdl.xml" hash="e04abc607f8e58062c66eb613883a78f"/><file name="wsi.xml" hash="2f010dc0a5385dd561b6d5750d128e30"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name></name><channel>connect.magentocommerce.com/core</channel><min></min><max></max></package></required></dependencies>
18
  </package>