Version Notes
1.0.5
* Added pre-installation checks
* Added PHP server info verifications
1.0.4
* Fixed bug with improper function definitions
1.0.3
* Add pagination functionality to order endpoint
1.0.2
* Added missing stock_data to product info WSDL
1.0.1
* Add pagination functionality to product endpoints
1.0.0
* Initial working release
Download this release
Release Info
Developer | Robert Navarro |
Extension | StitchLabs_ChannelIntegration |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.5
- app/code/community/StitchLabs/ChannelIntegration/Helper/Data.php +28 -28
- app/code/community/StitchLabs/ChannelIntegration/Model/Info/Api/V2.php +53 -0
- app/code/community/StitchLabs/ChannelIntegration/Model/Order/Api.php +113 -113
- app/code/community/StitchLabs/ChannelIntegration/Model/Order/Api/V2.php +31 -31
- app/code/community/StitchLabs/ChannelIntegration/Model/Product.php +88 -88
- app/code/community/StitchLabs/ChannelIntegration/Model/Product/Api.php +221 -221
- app/code/community/StitchLabs/ChannelIntegration/Model/Product/Api/V2.php +31 -31
- app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Order.php +34 -34
- app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Order/Collection.php +72 -72
- app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Product.php +34 -34
- app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Product/Collection.php +72 -72
- app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Setup.php +12 -12
- app/code/community/StitchLabs/ChannelIntegration/etc/api.xml +205 -171
- app/code/community/StitchLabs/ChannelIntegration/etc/config.xml +65 -62
- app/code/community/StitchLabs/ChannelIntegration/etc/wsdl.xml +497 -466
- app/code/community/StitchLabs/ChannelIntegration/etc/wsi.xml +243 -243
- package.xml +13 -6
app/code/community/StitchLabs/ChannelIntegration/Helper/Data.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?php
|
2 |
/**
|
3 |
* StitchLabs_ChannelIntegration extension
|
4 |
*
|
@@ -13,30 +13,30 @@
|
|
13 |
* @package StitchLabs_ChannelIntegration
|
14 |
* @copyright Copyright (c) 2014
|
15 |
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
-
*/
|
17 |
-
/**
|
18 |
-
* ChannelIntegration default helper
|
19 |
-
*
|
20 |
-
* @category StitchLabs
|
21 |
-
* @package StitchLabs_ChannelIntegration
|
22 |
-
* @author Ultimate Module Creator
|
23 |
-
*/
|
24 |
-
class StitchLabs_ChannelIntegration_Helper_Data
|
25 |
-
extends Mage_Core_Helper_Abstract {
|
26 |
-
/**
|
27 |
-
* convert array to options
|
28 |
-
* @access public
|
29 |
-
* @param $options
|
30 |
-
* @return array
|
31 |
-
* @author Ultimate Module Creator
|
32 |
-
*/
|
33 |
-
public function convertOptions($options){
|
34 |
-
$converted = array();
|
35 |
-
foreach ($options as $option){
|
36 |
-
if (isset($option['value']) && !is_array($option['value']) && isset($option['label']) && !is_array($option['label'])){
|
37 |
-
$converted[$option['value']] = $option['label'];
|
38 |
-
}
|
39 |
-
}
|
40 |
-
return $converted;
|
41 |
-
}
|
42 |
-
}
|
1 |
+
<?php
|
2 |
/**
|
3 |
* StitchLabs_ChannelIntegration extension
|
4 |
*
|
13 |
* @package StitchLabs_ChannelIntegration
|
14 |
* @copyright Copyright (c) 2014
|
15 |
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
+
*/
|
17 |
+
/**
|
18 |
+
* ChannelIntegration default helper
|
19 |
+
*
|
20 |
+
* @category StitchLabs
|
21 |
+
* @package StitchLabs_ChannelIntegration
|
22 |
+
* @author Ultimate Module Creator
|
23 |
+
*/
|
24 |
+
class StitchLabs_ChannelIntegration_Helper_Data
|
25 |
+
extends Mage_Core_Helper_Abstract {
|
26 |
+
/**
|
27 |
+
* convert array to options
|
28 |
+
* @access public
|
29 |
+
* @param $options
|
30 |
+
* @return array
|
31 |
+
* @author Ultimate Module Creator
|
32 |
+
*/
|
33 |
+
public function convertOptions($options){
|
34 |
+
$converted = array();
|
35 |
+
foreach ($options as $option){
|
36 |
+
if (isset($option['value']) && !is_array($option['value']) && isset($option['label']) && !is_array($option['label'])){
|
37 |
+
$converted[$option['value']] = $option['label'];
|
38 |
+
}
|
39 |
+
}
|
40 |
+
return $converted;
|
41 |
+
}
|
42 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Info/Api/V2.php
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* StitchLabs_ChannelIntegration extension
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the MIT License
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/mit-license.php
|
12 |
+
*
|
13 |
+
* @category StitchLabs
|
14 |
+
* @package StitchLabs_ChannelIntegration
|
15 |
+
* @copyright Copyright (c) 2014
|
16 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
17 |
+
*/
|
18 |
+
class StitchLabs_ChannelIntegration_Model_Info_Api_V2
|
19 |
+
{
|
20 |
+
/**
|
21 |
+
* Info Server
|
22 |
+
* @access public
|
23 |
+
* @return string
|
24 |
+
*/
|
25 |
+
public function server()
|
26 |
+
{
|
27 |
+
$result = array(
|
28 |
+
'php_info_json' => json_encode($this->phpinfo_array())
|
29 |
+
);
|
30 |
+
$result = Mage::helper('api')->wsiArrayPacker($result);
|
31 |
+
|
32 |
+
return $result;
|
33 |
+
}
|
34 |
+
|
35 |
+
private function phpinfo_array()
|
36 |
+
{
|
37 |
+
ob_start();
|
38 |
+
phpinfo();
|
39 |
+
$info_arr = array();
|
40 |
+
$info_lines = explode("\n", strip_tags(ob_get_clean(), "<tr><td><h2>"));
|
41 |
+
$cat = "General";
|
42 |
+
foreach ($info_lines as $line) {
|
43 |
+
// new cat?
|
44 |
+
preg_match("~<h2>(.*)</h2>~", $line, $title) ? $cat = $title[1] : null;
|
45 |
+
if (preg_match("~<tr><td[^>]+>([^<]*)</td><td[^>]+>([^<]*)</td></tr>~", $line, $val)) {
|
46 |
+
$info_arr[$cat][$val[1]] = $val[2];
|
47 |
+
} elseif (preg_match("~<tr><td[^>]+>([^<]*)</td><td[^>]+>([^<]*)</td><td[^>]+>([^<]*)</td></tr>~", $line, $val)) {
|
48 |
+
$info_arr[$cat][$val[1]] = array("local" => $val[2], "master" => $val[3]);
|
49 |
+
}
|
50 |
+
}
|
51 |
+
return $info_arr;
|
52 |
+
}
|
53 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Order/Api.php
CHANGED
@@ -1,113 +1,113 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* StitchLabs_ChannelIntegration extension
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the MIT License
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/mit-license.php
|
12 |
-
*
|
13 |
-
* @category StitchLabs
|
14 |
-
* @package StitchLabs_ChannelIntegration
|
15 |
-
* @copyright Copyright (c) 2014
|
16 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
17 |
-
*/
|
18 |
-
class StitchLabs_ChannelIntegration_Model_Order_Api
|
19 |
-
extends Mage_Sales_Model_Order_Api
|
20 |
-
{
|
21 |
-
/**
|
22 |
-
* Retrieve list of orders. Filtration could be applied
|
23 |
-
*
|
24 |
-
* @param null|object|array $filters
|
25 |
-
* @return array
|
26 |
-
*/
|
27 |
-
public function items($filters = null)
|
28 |
-
{
|
29 |
-
$orders = array();
|
30 |
-
|
31 |
-
//TODO: add full name logic
|
32 |
-
$billingAliasName = 'billing_o_a';
|
33 |
-
$shippingAliasName = 'shipping_o_a';
|
34 |
-
|
35 |
-
/** @var $orderCollection Mage_Sales_Model_Mysql4_Order_Collection */
|
36 |
-
$orderCollection = Mage::getModel("sales/order")->getCollection();
|
37 |
-
$billingFirstnameField = "$billingAliasName.firstname";
|
38 |
-
$billingLastnameField = "$billingAliasName.lastname";
|
39 |
-
$shippingFirstnameField = "$shippingAliasName.firstname";
|
40 |
-
$shippingLastnameField = "$shippingAliasName.lastname";
|
41 |
-
$orderCollection->addAttributeToSelect('*')
|
42 |
-
->addAddressFields()
|
43 |
-
->addExpressionFieldToSelect('billing_firstname', "{{billing_firstname}}",
|
44 |
-
array('billing_firstname' => $billingFirstnameField))
|
45 |
-
->addExpressionFieldToSelect('billing_lastname', "{{billing_lastname}}",
|
46 |
-
array('billing_lastname' => $billingLastnameField))
|
47 |
-
->addExpressionFieldToSelect('shipping_firstname', "{{shipping_firstname}}",
|
48 |
-
array('shipping_firstname' => $shippingFirstnameField))
|
49 |
-
->addExpressionFieldToSelect('shipping_lastname', "{{shipping_lastname}}",
|
50 |
-
array('shipping_lastname' => $shippingLastnameField))
|
51 |
-
->addExpressionFieldToSelect('billing_name', "CONCAT({{billing_firstname}}, ' ', {{billing_lastname}})",
|
52 |
-
array('billing_firstname' => $billingFirstnameField, 'billing_lastname' => $billingLastnameField))
|
53 |
-
->addExpressionFieldToSelect('shipping_name', 'CONCAT({{shipping_firstname}}, " ", {{shipping_lastname}})',
|
54 |
-
array('shipping_firstname' => $shippingFirstnameField, 'shipping_lastname' => $shippingLastnameField)
|
55 |
-
);
|
56 |
-
|
57 |
-
/** @var $apiHelper Mage_Api_Helper_Data */
|
58 |
-
$apiHelper = Mage::helper('api');
|
59 |
-
$filters = $apiHelper->parseFilters($filters, $this->_attributesMap['order']);
|
60 |
-
try {
|
61 |
-
$page = 1;
|
62 |
-
$page_size = 50;
|
63 |
-
|
64 |
-
foreach ($filters as $field => $value) {
|
65 |
-
if ($field == 'page') {
|
66 |
-
$page = $value;
|
67 |
-
} elseif ($field == 'size') {
|
68 |
-
$page_size = $value;
|
69 |
-
} else {
|
70 |
-
$orderCollection->addFieldToFilter($field, $value);
|
71 |
-
}
|
72 |
-
}
|
73 |
-
|
74 |
-
$orderCollection->setPage($page, $page_size);
|
75 |
-
} catch (Mage_Core_Exception $e) {
|
76 |
-
$this->_fault('filters_invalid', $e->getMessage());
|
77 |
-
}
|
78 |
-
foreach ($orderCollection as $order) {
|
79 |
-
if ($order->getGiftMessageId() > 0) {
|
80 |
-
$order->setGiftMessage(
|
81 |
-
Mage::getSingleton('giftmessage/message')->load($order->getGiftMessageId())->getMessage()
|
82 |
-
);
|
83 |
-
}
|
84 |
-
|
85 |
-
$result = $this->_getAttributes($order, 'order');
|
86 |
-
|
87 |
-
$result['shipping_address'] = $this->_getAttributes($order->getShippingAddress(), 'order_address');
|
88 |
-
$result['billing_address'] = $this->_getAttributes($order->getBillingAddress(), 'order_address');
|
89 |
-
$result['items'] = array();
|
90 |
-
|
91 |
-
foreach ($order->getAllItems() as $item) {
|
92 |
-
if ($item->getGiftMessageId() > 0) {
|
93 |
-
$item->setGiftMessage(
|
94 |
-
Mage::getSingleton('giftmessage/message')->load($item->getGiftMessageId())->getMessage()
|
95 |
-
);
|
96 |
-
}
|
97 |
-
|
98 |
-
$result['items'][] = $this->_getAttributes($item, 'order_item');
|
99 |
-
}
|
100 |
-
|
101 |
-
$result['payment'] = $this->_getAttributes($order->getPayment(), 'order_payment');
|
102 |
-
|
103 |
-
$result['status_history'] = array();
|
104 |
-
|
105 |
-
foreach ($order->getAllStatusHistory() as $history) {
|
106 |
-
$result['status_history'][] = $this->_getAttributes($history, 'order_status_history');
|
107 |
-
}
|
108 |
-
|
109 |
-
$orders[] = $result;
|
110 |
-
}
|
111 |
-
return $orders;
|
112 |
-
}
|
113 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* StitchLabs_ChannelIntegration extension
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the MIT License
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/mit-license.php
|
12 |
+
*
|
13 |
+
* @category StitchLabs
|
14 |
+
* @package StitchLabs_ChannelIntegration
|
15 |
+
* @copyright Copyright (c) 2014
|
16 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
17 |
+
*/
|
18 |
+
class StitchLabs_ChannelIntegration_Model_Order_Api
|
19 |
+
extends Mage_Sales_Model_Order_Api
|
20 |
+
{
|
21 |
+
/**
|
22 |
+
* Retrieve list of orders. Filtration could be applied
|
23 |
+
*
|
24 |
+
* @param null|object|array $filters
|
25 |
+
* @return array
|
26 |
+
*/
|
27 |
+
public function items($filters = null)
|
28 |
+
{
|
29 |
+
$orders = array();
|
30 |
+
|
31 |
+
//TODO: add full name logic
|
32 |
+
$billingAliasName = 'billing_o_a';
|
33 |
+
$shippingAliasName = 'shipping_o_a';
|
34 |
+
|
35 |
+
/** @var $orderCollection Mage_Sales_Model_Mysql4_Order_Collection */
|
36 |
+
$orderCollection = Mage::getModel("sales/order")->getCollection();
|
37 |
+
$billingFirstnameField = "$billingAliasName.firstname";
|
38 |
+
$billingLastnameField = "$billingAliasName.lastname";
|
39 |
+
$shippingFirstnameField = "$shippingAliasName.firstname";
|
40 |
+
$shippingLastnameField = "$shippingAliasName.lastname";
|
41 |
+
$orderCollection->addAttributeToSelect('*')
|
42 |
+
->addAddressFields()
|
43 |
+
->addExpressionFieldToSelect('billing_firstname', "{{billing_firstname}}",
|
44 |
+
array('billing_firstname' => $billingFirstnameField))
|
45 |
+
->addExpressionFieldToSelect('billing_lastname', "{{billing_lastname}}",
|
46 |
+
array('billing_lastname' => $billingLastnameField))
|
47 |
+
->addExpressionFieldToSelect('shipping_firstname', "{{shipping_firstname}}",
|
48 |
+
array('shipping_firstname' => $shippingFirstnameField))
|
49 |
+
->addExpressionFieldToSelect('shipping_lastname', "{{shipping_lastname}}",
|
50 |
+
array('shipping_lastname' => $shippingLastnameField))
|
51 |
+
->addExpressionFieldToSelect('billing_name', "CONCAT({{billing_firstname}}, ' ', {{billing_lastname}})",
|
52 |
+
array('billing_firstname' => $billingFirstnameField, 'billing_lastname' => $billingLastnameField))
|
53 |
+
->addExpressionFieldToSelect('shipping_name', 'CONCAT({{shipping_firstname}}, " ", {{shipping_lastname}})',
|
54 |
+
array('shipping_firstname' => $shippingFirstnameField, 'shipping_lastname' => $shippingLastnameField)
|
55 |
+
);
|
56 |
+
|
57 |
+
/** @var $apiHelper Mage_Api_Helper_Data */
|
58 |
+
$apiHelper = Mage::helper('api');
|
59 |
+
$filters = $apiHelper->parseFilters($filters, $this->_attributesMap['order']);
|
60 |
+
try {
|
61 |
+
$page = 1;
|
62 |
+
$page_size = 50;
|
63 |
+
|
64 |
+
foreach ($filters as $field => $value) {
|
65 |
+
if ($field == 'page') {
|
66 |
+
$page = $value;
|
67 |
+
} elseif ($field == 'size') {
|
68 |
+
$page_size = $value;
|
69 |
+
} else {
|
70 |
+
$orderCollection->addFieldToFilter($field, $value);
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
$orderCollection->setPage($page, $page_size);
|
75 |
+
} catch (Mage_Core_Exception $e) {
|
76 |
+
$this->_fault('filters_invalid', $e->getMessage());
|
77 |
+
}
|
78 |
+
foreach ($orderCollection as $order) {
|
79 |
+
if ($order->getGiftMessageId() > 0) {
|
80 |
+
$order->setGiftMessage(
|
81 |
+
Mage::getSingleton('giftmessage/message')->load($order->getGiftMessageId())->getMessage()
|
82 |
+
);
|
83 |
+
}
|
84 |
+
|
85 |
+
$result = $this->_getAttributes($order, 'order');
|
86 |
+
|
87 |
+
$result['shipping_address'] = $this->_getAttributes($order->getShippingAddress(), 'order_address');
|
88 |
+
$result['billing_address'] = $this->_getAttributes($order->getBillingAddress(), 'order_address');
|
89 |
+
$result['items'] = array();
|
90 |
+
|
91 |
+
foreach ($order->getAllItems() as $item) {
|
92 |
+
if ($item->getGiftMessageId() > 0) {
|
93 |
+
$item->setGiftMessage(
|
94 |
+
Mage::getSingleton('giftmessage/message')->load($item->getGiftMessageId())->getMessage()
|
95 |
+
);
|
96 |
+
}
|
97 |
+
|
98 |
+
$result['items'][] = $this->_getAttributes($item, 'order_item');
|
99 |
+
}
|
100 |
+
|
101 |
+
$result['payment'] = $this->_getAttributes($order->getPayment(), 'order_payment');
|
102 |
+
|
103 |
+
$result['status_history'] = array();
|
104 |
+
|
105 |
+
foreach ($order->getAllStatusHistory() as $history) {
|
106 |
+
$result['status_history'][] = $this->_getAttributes($history, 'order_status_history');
|
107 |
+
}
|
108 |
+
|
109 |
+
$orders[] = $result;
|
110 |
+
}
|
111 |
+
return $orders;
|
112 |
+
}
|
113 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Order/Api/V2.php
CHANGED
@@ -1,31 +1,31 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* StitchLabs_ChannelIntegration extension
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the MIT License
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/mit-license.php
|
11 |
-
*
|
12 |
-
* @category StitchLabs
|
13 |
-
* @package StitchLabs_ChannelIntegration
|
14 |
-
* @copyright Copyright (c) 2014
|
15 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
-
*/
|
17 |
-
class StitchLabs_ChannelIntegration_Model_Order_Api_V2
|
18 |
-
extends StitchLabs_ChannelIntegration_Model_Order_Api {
|
19 |
-
/**
|
20 |
-
* Test_Label info
|
21 |
-
* @access public
|
22 |
-
* @param int $orderId
|
23 |
-
* @return object
|
24 |
-
* @author Ultimate Module Creator
|
25 |
-
*/
|
26 |
-
public function info($orderId){
|
27 |
-
$result = parent::info($orderId);
|
28 |
-
$result = Mage::helper('api')->wsiArrayPacker($result);
|
29 |
-
return $result;
|
30 |
-
}
|
31 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StitchLabs_ChannelIntegration extension
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the MIT License
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/mit-license.php
|
11 |
+
*
|
12 |
+
* @category StitchLabs
|
13 |
+
* @package StitchLabs_ChannelIntegration
|
14 |
+
* @copyright Copyright (c) 2014
|
15 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
+
*/
|
17 |
+
class StitchLabs_ChannelIntegration_Model_Order_Api_V2
|
18 |
+
extends StitchLabs_ChannelIntegration_Model_Order_Api {
|
19 |
+
/**
|
20 |
+
* Test_Label info
|
21 |
+
* @access public
|
22 |
+
* @param int $orderId
|
23 |
+
* @return object
|
24 |
+
* @author Ultimate Module Creator
|
25 |
+
*/
|
26 |
+
public function info($orderId){
|
27 |
+
$result = parent::info($orderId);
|
28 |
+
$result = Mage::helper('api')->wsiArrayPacker($result);
|
29 |
+
return $result;
|
30 |
+
}
|
31 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Product.php
CHANGED
@@ -1,88 +1,88 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* StitchLabs_ChannelIntegration extension
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the MIT License
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/mit-license.php
|
11 |
-
*
|
12 |
-
* @category StitchLabs
|
13 |
-
* @package StitchLabs_ChannelIntegration
|
14 |
-
* @copyright Copyright (c) 2014
|
15 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
-
*/
|
17 |
-
/**
|
18 |
-
* Test_Label model
|
19 |
-
*
|
20 |
-
* @category StitchLabs
|
21 |
-
* @package StitchLabs_ChannelIntegration
|
22 |
-
* @author Ultimate Module Creator
|
23 |
-
*/
|
24 |
-
class StitchLabs_ChannelIntegration_Model_Product
|
25 |
-
extends Mage_Core_Model_Abstract {
|
26 |
-
/**
|
27 |
-
* Entity code.
|
28 |
-
* Can be used as part of method name for entity processing
|
29 |
-
*/
|
30 |
-
const ENTITY = 'stitchlabs_channelintegration_product';
|
31 |
-
const CACHE_TAG = 'stitchlabs_channelintegration_product';
|
32 |
-
/**
|
33 |
-
* Prefix of model events names
|
34 |
-
* @var string
|
35 |
-
*/
|
36 |
-
protected $_eventPrefix = 'stitchlabs_channelintegration_product';
|
37 |
-
|
38 |
-
/**
|
39 |
-
* Parameter name in event
|
40 |
-
* @var string
|
41 |
-
*/
|
42 |
-
protected $_eventObject = 'product';
|
43 |
-
/**
|
44 |
-
* constructor
|
45 |
-
* @access public
|
46 |
-
* @return void
|
47 |
-
* @author Ultimate Module Creator
|
48 |
-
*/
|
49 |
-
public function _construct(){
|
50 |
-
parent::_construct();
|
51 |
-
$this->_init('stitchlabs_channelintegration/product');
|
52 |
-
}
|
53 |
-
/**
|
54 |
-
* before save test_label
|
55 |
-
* @access protected
|
56 |
-
* @return StitchLabs_ChannelIntegration_Model_Product
|
57 |
-
* @author Ultimate Module Creator
|
58 |
-
*/
|
59 |
-
protected function _beforeSave(){
|
60 |
-
parent::_beforeSave();
|
61 |
-
$now = Mage::getSingleton('core/date')->gmtDate();
|
62 |
-
if ($this->isObjectNew()){
|
63 |
-
$this->setCreatedAt($now);
|
64 |
-
}
|
65 |
-
$this->setUpdatedAt($now);
|
66 |
-
return $this;
|
67 |
-
}
|
68 |
-
/**
|
69 |
-
* save product relation
|
70 |
-
* @access public
|
71 |
-
* @return StitchLabs_ChannelIntegration_Model_Product
|
72 |
-
* @author Ultimate Module Creator
|
73 |
-
*/
|
74 |
-
protected function _afterSave() {
|
75 |
-
return parent::_afterSave();
|
76 |
-
}
|
77 |
-
/**
|
78 |
-
* get default values
|
79 |
-
* @access public
|
80 |
-
* @return array
|
81 |
-
* @author Ultimate Module Creator
|
82 |
-
*/
|
83 |
-
public function getDefaultValues() {
|
84 |
-
$values = array();
|
85 |
-
$values['status'] = 1;
|
86 |
-
return $values;
|
87 |
-
}
|
88 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StitchLabs_ChannelIntegration extension
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the MIT License
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/mit-license.php
|
11 |
+
*
|
12 |
+
* @category StitchLabs
|
13 |
+
* @package StitchLabs_ChannelIntegration
|
14 |
+
* @copyright Copyright (c) 2014
|
15 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
+
*/
|
17 |
+
/**
|
18 |
+
* Test_Label model
|
19 |
+
*
|
20 |
+
* @category StitchLabs
|
21 |
+
* @package StitchLabs_ChannelIntegration
|
22 |
+
* @author Ultimate Module Creator
|
23 |
+
*/
|
24 |
+
class StitchLabs_ChannelIntegration_Model_Product
|
25 |
+
extends Mage_Core_Model_Abstract {
|
26 |
+
/**
|
27 |
+
* Entity code.
|
28 |
+
* Can be used as part of method name for entity processing
|
29 |
+
*/
|
30 |
+
const ENTITY = 'stitchlabs_channelintegration_product';
|
31 |
+
const CACHE_TAG = 'stitchlabs_channelintegration_product';
|
32 |
+
/**
|
33 |
+
* Prefix of model events names
|
34 |
+
* @var string
|
35 |
+
*/
|
36 |
+
protected $_eventPrefix = 'stitchlabs_channelintegration_product';
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Parameter name in event
|
40 |
+
* @var string
|
41 |
+
*/
|
42 |
+
protected $_eventObject = 'product';
|
43 |
+
/**
|
44 |
+
* constructor
|
45 |
+
* @access public
|
46 |
+
* @return void
|
47 |
+
* @author Ultimate Module Creator
|
48 |
+
*/
|
49 |
+
public function _construct(){
|
50 |
+
parent::_construct();
|
51 |
+
$this->_init('stitchlabs_channelintegration/product');
|
52 |
+
}
|
53 |
+
/**
|
54 |
+
* before save test_label
|
55 |
+
* @access protected
|
56 |
+
* @return StitchLabs_ChannelIntegration_Model_Product
|
57 |
+
* @author Ultimate Module Creator
|
58 |
+
*/
|
59 |
+
protected function _beforeSave(){
|
60 |
+
parent::_beforeSave();
|
61 |
+
$now = Mage::getSingleton('core/date')->gmtDate();
|
62 |
+
if ($this->isObjectNew()){
|
63 |
+
$this->setCreatedAt($now);
|
64 |
+
}
|
65 |
+
$this->setUpdatedAt($now);
|
66 |
+
return $this;
|
67 |
+
}
|
68 |
+
/**
|
69 |
+
* save product relation
|
70 |
+
* @access public
|
71 |
+
* @return StitchLabs_ChannelIntegration_Model_Product
|
72 |
+
* @author Ultimate Module Creator
|
73 |
+
*/
|
74 |
+
protected function _afterSave() {
|
75 |
+
return parent::_afterSave();
|
76 |
+
}
|
77 |
+
/**
|
78 |
+
* get default values
|
79 |
+
* @access public
|
80 |
+
* @return array
|
81 |
+
* @author Ultimate Module Creator
|
82 |
+
*/
|
83 |
+
public function getDefaultValues() {
|
84 |
+
$values = array();
|
85 |
+
$values['status'] = 1;
|
86 |
+
return $values;
|
87 |
+
}
|
88 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Product/Api.php
CHANGED
@@ -1,221 +1,221 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* StitchLabs_ChannelIntegration extension
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the MIT License
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/mit-license.php
|
12 |
-
*
|
13 |
-
* @category StitchLabs
|
14 |
-
* @package StitchLabs_ChannelIntegration
|
15 |
-
* @copyright Copyright (c) 2014
|
16 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
17 |
-
*/
|
18 |
-
class StitchLabs_ChannelIntegration_Model_Product_Api
|
19 |
-
extends Mage_Catalog_Model_Product_Api
|
20 |
-
{
|
21 |
-
|
22 |
-
/**
|
23 |
-
* Retrieve list of products with basic info (id, sku, type, set, name)
|
24 |
-
*
|
25 |
-
* @param null|object|array $filters
|
26 |
-
* @param string|int $store
|
27 |
-
* @return array
|
28 |
-
*/
|
29 |
-
public function items($filters = null, $store = null)
|
30 |
-
{
|
31 |
-
echo '';
|
32 |
-
$collection = Mage::getModel('catalog/product')->getCollection()
|
33 |
-
->addStoreFilter($this->_getStoreId($store))
|
34 |
-
->addAttributeToSelect('*');
|
35 |
-
|
36 |
-
/** @var $apiHelper Mage_Api_Helper_Data */
|
37 |
-
$apiHelper = Mage::helper('api');
|
38 |
-
$filters = $apiHelper->parseFilters($filters, $this->_filtersMap);
|
39 |
-
try {
|
40 |
-
$page = 1;
|
41 |
-
$page_size = 50;
|
42 |
-
|
43 |
-
foreach ($filters as $field => $value) {
|
44 |
-
if ($field == 'page') {
|
45 |
-
$page = $value;
|
46 |
-
} elseif ($field == 'size') {
|
47 |
-
$page_size = $value;
|
48 |
-
} else {
|
49 |
-
$collection->addFieldToFilter($field, $value);
|
50 |
-
}
|
51 |
-
}
|
52 |
-
|
53 |
-
$collection->setPage($page, $page_size);
|
54 |
-
} catch (Mage_Core_Exception $e) {
|
55 |
-
$this->_fault('filters_invalid', $e->getMessage());
|
56 |
-
}
|
57 |
-
$result = array();
|
58 |
-
|
59 |
-
Mage::getSingleton('cataloginventory/stock_item')->addCatalogInventoryToProductCollection($collection);
|
60 |
-
|
61 |
-
foreach ($collection as $product) {
|
62 |
-
$temp_result = array(
|
63 |
-
'product_id' => $product->getId(),
|
64 |
-
'sku' => $product->getSku(),
|
65 |
-
'name' => $product->getName(),
|
66 |
-
'set' => $product->getAttributeSetId(),
|
67 |
-
'type' => $product->getTypeId(),
|
68 |
-
'category_ids' => $product->getCategoryIds(),
|
69 |
-
'image_url' => $product->getImageUrl(),
|
70 |
-
'configurable_parent_product_ids' => array(),
|
71 |
-
'grouped_parent_product_ids' => array(),
|
72 |
-
'configurable_child_product_ids' => array(),
|
73 |
-
'grouped_child_product_ids' => array(),
|
74 |
-
);
|
75 |
-
|
76 |
-
if ($product->isConfigurable()) {
|
77 |
-
$child_product_ids = $product->getTypeInstance()->getUsedProductIds();
|
78 |
-
$temp_result['configurable_child_product_ids'] = $child_product_ids;
|
79 |
-
} elseif ($product->isGrouped()) {
|
80 |
-
$child_product_ids = $product->getTypeInstance()->getAssociatedProductIds();
|
81 |
-
$temp_result['grouped_child_product_ids'] = $child_product_ids;
|
82 |
-
} else {
|
83 |
-
$grouped_parent_ids = Mage::getModel('catalog/product_type_grouped')->getParentIdsByChild($product->getId());
|
84 |
-
$temp_result['grouped_parent_product_ids'] = $grouped_parent_ids;
|
85 |
-
|
86 |
-
$parent_ids = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
|
87 |
-
$temp_result['configurable_parent_product_ids'] = $parent_ids;
|
88 |
-
}
|
89 |
-
|
90 |
-
$result[] = $this->infoResult($temp_result, $product);;
|
91 |
-
}
|
92 |
-
return $result;
|
93 |
-
}
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Retrieve product info
|
97 |
-
*
|
98 |
-
* @param int|string $productId
|
99 |
-
* @param string|int $store
|
100 |
-
* @param array $attributes
|
101 |
-
* @return array
|
102 |
-
*/
|
103 |
-
public function info($productId, $store = null, $attributes = null, $identifierType = null)
|
104 |
-
{
|
105 |
-
$product = $this->_getProduct($productId, $store, $identifierType);
|
106 |
-
|
107 |
-
$result = array(
|
108 |
-
'product_id' => $product->getId(),
|
109 |
-
'sku' => $product->getSku(),
|
110 |
-
'name' => $product->getName(),
|
111 |
-
'set' => $product->getAttributeSetId(),
|
112 |
-
'type' => $product->getTypeId(),
|
113 |
-
'category_ids' => $product->getCategoryIds(),
|
114 |
-
'image_url' => $product->getImageUrl(),
|
115 |
-
'configurable_parent_product_ids' => array(),
|
116 |
-
'grouped_parent_product_ids' => array(),
|
117 |
-
'configurable_child_product_ids' => array(),
|
118 |
-
'grouped_child_product_ids' => array(),
|
119 |
-
);
|
120 |
-
|
121 |
-
if ($product->isConfigurable()) {
|
122 |
-
$child_product_ids = $product->getTypeInstance()->getUsedProductIds();
|
123 |
-
$result['configurable_child_product_ids'] = $child_product_ids;
|
124 |
-
} elseif ($product->isGrouped()) {
|
125 |
-
$child_product_ids = $product->getTypeInstance()->getAssociatedProductIds();
|
126 |
-
$result['grouped_child_product_ids'] = $child_product_ids;
|
127 |
-
} else {
|
128 |
-
$grouped_parent_ids = Mage::getModel('catalog/product_type_grouped')->getParentIdsByChild($product->getId());
|
129 |
-
$result['grouped_parent_product_ids'] = $grouped_parent_ids;
|
130 |
-
|
131 |
-
$parent_ids = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
|
132 |
-
$result['configurable_parent_product_ids'] = $parent_ids;
|
133 |
-
}
|
134 |
-
|
135 |
-
return $this->infoResult($result, $product);
|
136 |
-
}
|
137 |
-
|
138 |
-
public function infoResult($result, $product, $attributes = array(), $store = null, $all_attributes = true)
|
139 |
-
{
|
140 |
-
$productId = $product->getId();
|
141 |
-
if (in_array('url_complete', $attributes) || $all_attributes) {
|
142 |
-
$result['url_complete'] = $product->setStoreId($store)->getProductUrl();
|
143 |
-
}
|
144 |
-
|
145 |
-
if (in_array('description', $attributes) || $all_attributes) {
|
146 |
-
$result['description'] = $product->setStoreId($store)->getDescription();
|
147 |
-
}
|
148 |
-
|
149 |
-
if (in_array('price', $attributes) || $all_attributes) {
|
150 |
-
$result['price'] = $product->setStoreId($store)->getPrice();
|
151 |
-
}
|
152 |
-
|
153 |
-
if (in_array('weight', $attributes) || $all_attributes) {
|
154 |
-
$result['weight'] = $product->setStoreId($store)->getWeight();
|
155 |
-
}
|
156 |
-
|
157 |
-
if (in_array('status', $attributes) || $all_attributes) {
|
158 |
-
$result['status'] = $product->setStoreId($store)->getStatus();
|
159 |
-
}
|
160 |
-
|
161 |
-
if (in_array('stock_data', $attributes) || $all_attributes) {
|
162 |
-
$result['stock_data'] = Mage::getSingleton('Mage_CatalogInventory_Model_Stock_Item_Api')->items($productId);
|
163 |
-
}
|
164 |
-
|
165 |
-
if (in_array('images', $attributes) || $all_attributes) {
|
166 |
-
$result['images'] = Mage::getSingleton('Mage_Catalog_Model_Product_Attribute_Media_Api')->items(
|
167 |
-
$productId,
|
168 |
-
$store
|
169 |
-
);
|
170 |
-
}
|
171 |
-
|
172 |
-
if (!$product->isSuper() && (in_array('parent_sku', $attributes) || $all_attributes)) {
|
173 |
-
$parentIds = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
|
174 |
-
if (!$parentIds) {
|
175 |
-
$parentIds = Mage::getModel('catalog/product_type_grouped')->getParentIdsByChild($product->getId());
|
176 |
-
}
|
177 |
-
if (isset($parentIds[0])) {
|
178 |
-
$parent = Mage::getModel('catalog/product')->load($parentIds[0]);
|
179 |
-
$result['parent_sku'] = $parent->getSku();
|
180 |
-
}
|
181 |
-
} elseif ($product->isConfigurable()) {
|
182 |
-
$attributesData = $product->getTypeInstance()->getConfigurableAttributesAsArray();
|
183 |
-
// configurable_options
|
184 |
-
if (in_array('configurable_attributes_data', $attributes) || $all_attributes) {
|
185 |
-
$options = array();
|
186 |
-
$k = 0;
|
187 |
-
foreach ($attributesData as $attribute) {
|
188 |
-
$options[$k]['code'] = $attribute['attribute_code'];
|
189 |
-
foreach ($attribute['values'] as $value) {
|
190 |
-
$value['attribute_code'] = $attribute['attribute_code'];
|
191 |
-
$options[$k]['options'][] = $value;
|
192 |
-
}
|
193 |
-
$k++;
|
194 |
-
}
|
195 |
-
$result['configurable_attributes_data'] = $options;
|
196 |
-
// children
|
197 |
-
// @todo use $childProducts = $product->getTypeInstance()->getUsedProducts();
|
198 |
-
$childProducts = Mage::getModel('catalog/product_type_configurable')
|
199 |
-
->getUsedProducts(null, $product);
|
200 |
-
$skus = array();
|
201 |
-
$i = 0;
|
202 |
-
foreach ($childProducts as $childProduct) {
|
203 |
-
$skus[$i]['product_id'] = $childProduct->getId();
|
204 |
-
$skus[$i]['sku'] = $childProduct->getSku();
|
205 |
-
$j = 0;
|
206 |
-
foreach ($attributesData as $attribute) {
|
207 |
-
$skus[$i]['options'][$j]['label'] = $attribute['label'];
|
208 |
-
$skus[$i]['options'][$j]['attribute_code'] = $attribute['attribute_code'];
|
209 |
-
$skus[$i]['options'][$j]['value_index'] = $childProduct[$attribute['attribute_code']];
|
210 |
-
$skus[$i]['options'][$j]['value_text'] = $childProduct->getAttributeText($attribute['attribute_code']);
|
211 |
-
$j++;
|
212 |
-
}
|
213 |
-
$i++;
|
214 |
-
}
|
215 |
-
$result['configurable_products_data'] = $skus;
|
216 |
-
}
|
217 |
-
}
|
218 |
-
|
219 |
-
return $result;
|
220 |
-
}
|
221 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* StitchLabs_ChannelIntegration extension
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the MIT License
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/mit-license.php
|
12 |
+
*
|
13 |
+
* @category StitchLabs
|
14 |
+
* @package StitchLabs_ChannelIntegration
|
15 |
+
* @copyright Copyright (c) 2014
|
16 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
17 |
+
*/
|
18 |
+
class StitchLabs_ChannelIntegration_Model_Product_Api
|
19 |
+
extends Mage_Catalog_Model_Product_Api
|
20 |
+
{
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Retrieve list of products with basic info (id, sku, type, set, name)
|
24 |
+
*
|
25 |
+
* @param null|object|array $filters
|
26 |
+
* @param string|int $store
|
27 |
+
* @return array
|
28 |
+
*/
|
29 |
+
public function items($filters = null, $store = null)
|
30 |
+
{
|
31 |
+
echo '';
|
32 |
+
$collection = Mage::getModel('catalog/product')->getCollection()
|
33 |
+
->addStoreFilter($this->_getStoreId($store))
|
34 |
+
->addAttributeToSelect('*');
|
35 |
+
|
36 |
+
/** @var $apiHelper Mage_Api_Helper_Data */
|
37 |
+
$apiHelper = Mage::helper('api');
|
38 |
+
$filters = $apiHelper->parseFilters($filters, $this->_filtersMap);
|
39 |
+
try {
|
40 |
+
$page = 1;
|
41 |
+
$page_size = 50;
|
42 |
+
|
43 |
+
foreach ($filters as $field => $value) {
|
44 |
+
if ($field == 'page') {
|
45 |
+
$page = $value;
|
46 |
+
} elseif ($field == 'size') {
|
47 |
+
$page_size = $value;
|
48 |
+
} else {
|
49 |
+
$collection->addFieldToFilter($field, $value);
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
$collection->setPage($page, $page_size);
|
54 |
+
} catch (Mage_Core_Exception $e) {
|
55 |
+
$this->_fault('filters_invalid', $e->getMessage());
|
56 |
+
}
|
57 |
+
$result = array();
|
58 |
+
|
59 |
+
Mage::getSingleton('cataloginventory/stock_item')->addCatalogInventoryToProductCollection($collection);
|
60 |
+
|
61 |
+
foreach ($collection as $product) {
|
62 |
+
$temp_result = array(
|
63 |
+
'product_id' => $product->getId(),
|
64 |
+
'sku' => $product->getSku(),
|
65 |
+
'name' => $product->getName(),
|
66 |
+
'set' => $product->getAttributeSetId(),
|
67 |
+
'type' => $product->getTypeId(),
|
68 |
+
'category_ids' => $product->getCategoryIds(),
|
69 |
+
'image_url' => $product->getImageUrl(),
|
70 |
+
'configurable_parent_product_ids' => array(),
|
71 |
+
'grouped_parent_product_ids' => array(),
|
72 |
+
'configurable_child_product_ids' => array(),
|
73 |
+
'grouped_child_product_ids' => array(),
|
74 |
+
);
|
75 |
+
|
76 |
+
if ($product->isConfigurable()) {
|
77 |
+
$child_product_ids = $product->getTypeInstance()->getUsedProductIds();
|
78 |
+
$temp_result['configurable_child_product_ids'] = $child_product_ids;
|
79 |
+
} elseif ($product->isGrouped()) {
|
80 |
+
$child_product_ids = $product->getTypeInstance()->getAssociatedProductIds();
|
81 |
+
$temp_result['grouped_child_product_ids'] = $child_product_ids;
|
82 |
+
} else {
|
83 |
+
$grouped_parent_ids = Mage::getModel('catalog/product_type_grouped')->getParentIdsByChild($product->getId());
|
84 |
+
$temp_result['grouped_parent_product_ids'] = $grouped_parent_ids;
|
85 |
+
|
86 |
+
$parent_ids = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
|
87 |
+
$temp_result['configurable_parent_product_ids'] = $parent_ids;
|
88 |
+
}
|
89 |
+
|
90 |
+
$result[] = $this->infoResult($temp_result, $product);;
|
91 |
+
}
|
92 |
+
return $result;
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Retrieve product info
|
97 |
+
*
|
98 |
+
* @param int|string $productId
|
99 |
+
* @param string|int $store
|
100 |
+
* @param array $attributes
|
101 |
+
* @return array
|
102 |
+
*/
|
103 |
+
public function info($productId, $store = null, $attributes = null, $identifierType = null)
|
104 |
+
{
|
105 |
+
$product = $this->_getProduct($productId, $store, $identifierType);
|
106 |
+
|
107 |
+
$result = array(
|
108 |
+
'product_id' => $product->getId(),
|
109 |
+
'sku' => $product->getSku(),
|
110 |
+
'name' => $product->getName(),
|
111 |
+
'set' => $product->getAttributeSetId(),
|
112 |
+
'type' => $product->getTypeId(),
|
113 |
+
'category_ids' => $product->getCategoryIds(),
|
114 |
+
'image_url' => $product->getImageUrl(),
|
115 |
+
'configurable_parent_product_ids' => array(),
|
116 |
+
'grouped_parent_product_ids' => array(),
|
117 |
+
'configurable_child_product_ids' => array(),
|
118 |
+
'grouped_child_product_ids' => array(),
|
119 |
+
);
|
120 |
+
|
121 |
+
if ($product->isConfigurable()) {
|
122 |
+
$child_product_ids = $product->getTypeInstance()->getUsedProductIds();
|
123 |
+
$result['configurable_child_product_ids'] = $child_product_ids;
|
124 |
+
} elseif ($product->isGrouped()) {
|
125 |
+
$child_product_ids = $product->getTypeInstance()->getAssociatedProductIds();
|
126 |
+
$result['grouped_child_product_ids'] = $child_product_ids;
|
127 |
+
} else {
|
128 |
+
$grouped_parent_ids = Mage::getModel('catalog/product_type_grouped')->getParentIdsByChild($product->getId());
|
129 |
+
$result['grouped_parent_product_ids'] = $grouped_parent_ids;
|
130 |
+
|
131 |
+
$parent_ids = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
|
132 |
+
$result['configurable_parent_product_ids'] = $parent_ids;
|
133 |
+
}
|
134 |
+
|
135 |
+
return $this->infoResult($result, $product);
|
136 |
+
}
|
137 |
+
|
138 |
+
public function infoResult($result, $product, $attributes = array(), $store = null, $all_attributes = true)
|
139 |
+
{
|
140 |
+
$productId = $product->getId();
|
141 |
+
if (in_array('url_complete', $attributes) || $all_attributes) {
|
142 |
+
$result['url_complete'] = $product->setStoreId($store)->getProductUrl();
|
143 |
+
}
|
144 |
+
|
145 |
+
if (in_array('description', $attributes) || $all_attributes) {
|
146 |
+
$result['description'] = $product->setStoreId($store)->getDescription();
|
147 |
+
}
|
148 |
+
|
149 |
+
if (in_array('price', $attributes) || $all_attributes) {
|
150 |
+
$result['price'] = $product->setStoreId($store)->getPrice();
|
151 |
+
}
|
152 |
+
|
153 |
+
if (in_array('weight', $attributes) || $all_attributes) {
|
154 |
+
$result['weight'] = $product->setStoreId($store)->getWeight();
|
155 |
+
}
|
156 |
+
|
157 |
+
if (in_array('status', $attributes) || $all_attributes) {
|
158 |
+
$result['status'] = $product->setStoreId($store)->getStatus();
|
159 |
+
}
|
160 |
+
|
161 |
+
if (in_array('stock_data', $attributes) || $all_attributes) {
|
162 |
+
$result['stock_data'] = Mage::getSingleton('Mage_CatalogInventory_Model_Stock_Item_Api')->items($productId);
|
163 |
+
}
|
164 |
+
|
165 |
+
if (in_array('images', $attributes) || $all_attributes) {
|
166 |
+
$result['images'] = Mage::getSingleton('Mage_Catalog_Model_Product_Attribute_Media_Api')->items(
|
167 |
+
$productId,
|
168 |
+
$store
|
169 |
+
);
|
170 |
+
}
|
171 |
+
|
172 |
+
if (!$product->isSuper() && (in_array('parent_sku', $attributes) || $all_attributes)) {
|
173 |
+
$parentIds = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
|
174 |
+
if (!$parentIds) {
|
175 |
+
$parentIds = Mage::getModel('catalog/product_type_grouped')->getParentIdsByChild($product->getId());
|
176 |
+
}
|
177 |
+
if (isset($parentIds[0])) {
|
178 |
+
$parent = Mage::getModel('catalog/product')->load($parentIds[0]);
|
179 |
+
$result['parent_sku'] = $parent->getSku();
|
180 |
+
}
|
181 |
+
} elseif ($product->isConfigurable()) {
|
182 |
+
$attributesData = $product->getTypeInstance()->getConfigurableAttributesAsArray();
|
183 |
+
// configurable_options
|
184 |
+
if (in_array('configurable_attributes_data', $attributes) || $all_attributes) {
|
185 |
+
$options = array();
|
186 |
+
$k = 0;
|
187 |
+
foreach ($attributesData as $attribute) {
|
188 |
+
$options[$k]['code'] = $attribute['attribute_code'];
|
189 |
+
foreach ($attribute['values'] as $value) {
|
190 |
+
$value['attribute_code'] = $attribute['attribute_code'];
|
191 |
+
$options[$k]['options'][] = $value;
|
192 |
+
}
|
193 |
+
$k++;
|
194 |
+
}
|
195 |
+
$result['configurable_attributes_data'] = $options;
|
196 |
+
// children
|
197 |
+
// @todo use $childProducts = $product->getTypeInstance()->getUsedProducts();
|
198 |
+
$childProducts = Mage::getModel('catalog/product_type_configurable')
|
199 |
+
->getUsedProducts(null, $product);
|
200 |
+
$skus = array();
|
201 |
+
$i = 0;
|
202 |
+
foreach ($childProducts as $childProduct) {
|
203 |
+
$skus[$i]['product_id'] = $childProduct->getId();
|
204 |
+
$skus[$i]['sku'] = $childProduct->getSku();
|
205 |
+
$j = 0;
|
206 |
+
foreach ($attributesData as $attribute) {
|
207 |
+
$skus[$i]['options'][$j]['label'] = $attribute['label'];
|
208 |
+
$skus[$i]['options'][$j]['attribute_code'] = $attribute['attribute_code'];
|
209 |
+
$skus[$i]['options'][$j]['value_index'] = $childProduct[$attribute['attribute_code']];
|
210 |
+
$skus[$i]['options'][$j]['value_text'] = $childProduct->getAttributeText($attribute['attribute_code']);
|
211 |
+
$j++;
|
212 |
+
}
|
213 |
+
$i++;
|
214 |
+
}
|
215 |
+
$result['configurable_products_data'] = $skus;
|
216 |
+
}
|
217 |
+
}
|
218 |
+
|
219 |
+
return $result;
|
220 |
+
}
|
221 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Product/Api/V2.php
CHANGED
@@ -1,31 +1,31 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* StitchLabs_ChannelIntegration extension
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the MIT License
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/mit-license.php
|
11 |
-
*
|
12 |
-
* @category StitchLabs
|
13 |
-
* @package StitchLabs_ChannelIntegration
|
14 |
-
* @copyright Copyright (c) 2014
|
15 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
-
*/
|
17 |
-
class StitchLabs_ChannelIntegration_Model_Product_Api_V2
|
18 |
-
extends StitchLabs_ChannelIntegration_Model_Product_Api {
|
19 |
-
/**
|
20 |
-
* Test_Label info
|
21 |
-
* @access public
|
22 |
-
* @param int $productId
|
23 |
-
* @return object
|
24 |
-
* @author Ultimate Module Creator
|
25 |
-
*/
|
26 |
-
public function info($productId){
|
27 |
-
$result = parent::info($productId);
|
28 |
-
$result = Mage::helper('api')->wsiArrayPacker($result);
|
29 |
-
return $result;
|
30 |
-
}
|
31 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StitchLabs_ChannelIntegration extension
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the MIT License
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/mit-license.php
|
11 |
+
*
|
12 |
+
* @category StitchLabs
|
13 |
+
* @package StitchLabs_ChannelIntegration
|
14 |
+
* @copyright Copyright (c) 2014
|
15 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
+
*/
|
17 |
+
class StitchLabs_ChannelIntegration_Model_Product_Api_V2
|
18 |
+
extends StitchLabs_ChannelIntegration_Model_Product_Api {
|
19 |
+
/**
|
20 |
+
* Test_Label info
|
21 |
+
* @access public
|
22 |
+
* @param int $productId
|
23 |
+
* @return object
|
24 |
+
* @author Ultimate Module Creator
|
25 |
+
*/
|
26 |
+
public function info($productId, $store = null, $attributes = null, $identifierType = null){
|
27 |
+
$result = parent::info($productId);
|
28 |
+
$result = Mage::helper('api')->wsiArrayPacker($result);
|
29 |
+
return $result;
|
30 |
+
}
|
31 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Order.php
CHANGED
@@ -1,34 +1,34 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* StitchLabs_ChannelIntegration extension
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the MIT License
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/mit-license.php
|
11 |
-
*
|
12 |
-
* @category StitchLabs
|
13 |
-
* @package StitchLabs_ChannelIntegration
|
14 |
-
* @copyright Copyright (c) 2014
|
15 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
-
*/
|
17 |
-
/**
|
18 |
-
* Test_Label resource model
|
19 |
-
*
|
20 |
-
* @category StitchLabs
|
21 |
-
* @package StitchLabs_ChannelIntegration
|
22 |
-
* @author Ultimate Module Creator
|
23 |
-
*/
|
24 |
-
class StitchLabs_ChannelIntegration_Model_Resource_Order
|
25 |
-
extends Mage_Core_Model_Resource_Db_Abstract {
|
26 |
-
/**
|
27 |
-
* constructor
|
28 |
-
* @access public
|
29 |
-
* @author Ultimate Module Creator
|
30 |
-
*/
|
31 |
-
public function _construct(){
|
32 |
-
$this->_init('stitchlabs_channelintegration/order', 'entity_id');
|
33 |
-
}
|
34 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StitchLabs_ChannelIntegration extension
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the MIT License
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/mit-license.php
|
11 |
+
*
|
12 |
+
* @category StitchLabs
|
13 |
+
* @package StitchLabs_ChannelIntegration
|
14 |
+
* @copyright Copyright (c) 2014
|
15 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
+
*/
|
17 |
+
/**
|
18 |
+
* Test_Label resource model
|
19 |
+
*
|
20 |
+
* @category StitchLabs
|
21 |
+
* @package StitchLabs_ChannelIntegration
|
22 |
+
* @author Ultimate Module Creator
|
23 |
+
*/
|
24 |
+
class StitchLabs_ChannelIntegration_Model_Resource_Order
|
25 |
+
extends Mage_Core_Model_Resource_Db_Abstract {
|
26 |
+
/**
|
27 |
+
* constructor
|
28 |
+
* @access public
|
29 |
+
* @author Ultimate Module Creator
|
30 |
+
*/
|
31 |
+
public function _construct(){
|
32 |
+
$this->_init('stitchlabs_channelintegration/order', 'entity_id');
|
33 |
+
}
|
34 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Order/Collection.php
CHANGED
@@ -1,72 +1,72 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* StitchLabs_ChannelIntegration extension
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the MIT License
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/mit-license.php
|
11 |
-
*
|
12 |
-
* @category StitchLabs
|
13 |
-
* @package StitchLabs_ChannelIntegration
|
14 |
-
* @copyright Copyright (c) 2014
|
15 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
-
*/
|
17 |
-
/**
|
18 |
-
* Test_Label collection resource model
|
19 |
-
*
|
20 |
-
* @category StitchLabs
|
21 |
-
* @package StitchLabs_ChannelIntegration
|
22 |
-
* @author Ultimate Module Creator
|
23 |
-
*/
|
24 |
-
class StitchLabs_ChannelIntegration_Model_Resource_Order_Collection
|
25 |
-
extends Mage_Core_Model_Resource_Db_Collection_Abstract {
|
26 |
-
protected $_joinedFields = array();
|
27 |
-
/**
|
28 |
-
* constructor
|
29 |
-
* @access public
|
30 |
-
* @return void
|
31 |
-
* @author Ultimate Module Creator
|
32 |
-
*/
|
33 |
-
protected function _construct(){
|
34 |
-
parent::_construct();
|
35 |
-
$this->_init('stitchlabs_channelintegration/order');
|
36 |
-
}
|
37 |
-
/**
|
38 |
-
* get orders as array
|
39 |
-
* @access protected
|
40 |
-
* @param string $valueField
|
41 |
-
* @param string $labelField
|
42 |
-
* @param array $additional
|
43 |
-
* @return array
|
44 |
-
* @author Ultimate Module Creator
|
45 |
-
*/
|
46 |
-
protected function _toOptionArray($valueField='entity_id', $labelField='tattribute', $additional=array()){
|
47 |
-
return parent::_toOptionArray($valueField, $labelField, $additional);
|
48 |
-
}
|
49 |
-
/**
|
50 |
-
* get options hash
|
51 |
-
* @access protected
|
52 |
-
* @param string $valueField
|
53 |
-
* @param string $labelField
|
54 |
-
* @return array
|
55 |
-
* @author Ultimate Module Creator
|
56 |
-
*/
|
57 |
-
protected function _toOptionHash($valueField='entity_id', $labelField='tattribute'){
|
58 |
-
return parent::_toOptionHash($valueField, $labelField);
|
59 |
-
}
|
60 |
-
/**
|
61 |
-
* Get SQL for get record count.
|
62 |
-
* Extra GROUP BY strip added.
|
63 |
-
* @access public
|
64 |
-
* @return Varien_Db_Select
|
65 |
-
* @author Ultimate Module Creator
|
66 |
-
*/
|
67 |
-
public function getSelectCountSql(){
|
68 |
-
$countSelect = parent::getSelectCountSql();
|
69 |
-
$countSelect->reset(Zend_Db_Select::GROUP);
|
70 |
-
return $countSelect;
|
71 |
-
}
|
72 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StitchLabs_ChannelIntegration extension
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the MIT License
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/mit-license.php
|
11 |
+
*
|
12 |
+
* @category StitchLabs
|
13 |
+
* @package StitchLabs_ChannelIntegration
|
14 |
+
* @copyright Copyright (c) 2014
|
15 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
+
*/
|
17 |
+
/**
|
18 |
+
* Test_Label collection resource model
|
19 |
+
*
|
20 |
+
* @category StitchLabs
|
21 |
+
* @package StitchLabs_ChannelIntegration
|
22 |
+
* @author Ultimate Module Creator
|
23 |
+
*/
|
24 |
+
class StitchLabs_ChannelIntegration_Model_Resource_Order_Collection
|
25 |
+
extends Mage_Core_Model_Resource_Db_Collection_Abstract {
|
26 |
+
protected $_joinedFields = array();
|
27 |
+
/**
|
28 |
+
* constructor
|
29 |
+
* @access public
|
30 |
+
* @return void
|
31 |
+
* @author Ultimate Module Creator
|
32 |
+
*/
|
33 |
+
protected function _construct(){
|
34 |
+
parent::_construct();
|
35 |
+
$this->_init('stitchlabs_channelintegration/order');
|
36 |
+
}
|
37 |
+
/**
|
38 |
+
* get orders as array
|
39 |
+
* @access protected
|
40 |
+
* @param string $valueField
|
41 |
+
* @param string $labelField
|
42 |
+
* @param array $additional
|
43 |
+
* @return array
|
44 |
+
* @author Ultimate Module Creator
|
45 |
+
*/
|
46 |
+
protected function _toOptionArray($valueField='entity_id', $labelField='tattribute', $additional=array()){
|
47 |
+
return parent::_toOptionArray($valueField, $labelField, $additional);
|
48 |
+
}
|
49 |
+
/**
|
50 |
+
* get options hash
|
51 |
+
* @access protected
|
52 |
+
* @param string $valueField
|
53 |
+
* @param string $labelField
|
54 |
+
* @return array
|
55 |
+
* @author Ultimate Module Creator
|
56 |
+
*/
|
57 |
+
protected function _toOptionHash($valueField='entity_id', $labelField='tattribute'){
|
58 |
+
return parent::_toOptionHash($valueField, $labelField);
|
59 |
+
}
|
60 |
+
/**
|
61 |
+
* Get SQL for get record count.
|
62 |
+
* Extra GROUP BY strip added.
|
63 |
+
* @access public
|
64 |
+
* @return Varien_Db_Select
|
65 |
+
* @author Ultimate Module Creator
|
66 |
+
*/
|
67 |
+
public function getSelectCountSql(){
|
68 |
+
$countSelect = parent::getSelectCountSql();
|
69 |
+
$countSelect->reset(Zend_Db_Select::GROUP);
|
70 |
+
return $countSelect;
|
71 |
+
}
|
72 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Product.php
CHANGED
@@ -1,34 +1,34 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* StitchLabs_ChannelIntegration extension
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the MIT License
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/mit-license.php
|
11 |
-
*
|
12 |
-
* @category StitchLabs
|
13 |
-
* @package StitchLabs_ChannelIntegration
|
14 |
-
* @copyright Copyright (c) 2014
|
15 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
-
*/
|
17 |
-
/**
|
18 |
-
* Test_Label resource model
|
19 |
-
*
|
20 |
-
* @category StitchLabs
|
21 |
-
* @package StitchLabs_ChannelIntegration
|
22 |
-
* @author Ultimate Module Creator
|
23 |
-
*/
|
24 |
-
class StitchLabs_ChannelIntegration_Model_Resource_Product
|
25 |
-
extends Mage_Core_Model_Resource_Db_Abstract {
|
26 |
-
/**
|
27 |
-
* constructor
|
28 |
-
* @access public
|
29 |
-
* @author Ultimate Module Creator
|
30 |
-
*/
|
31 |
-
public function _construct(){
|
32 |
-
$this->_init('stitchlabs_channelintegration/product', 'entity_id');
|
33 |
-
}
|
34 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StitchLabs_ChannelIntegration extension
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the MIT License
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/mit-license.php
|
11 |
+
*
|
12 |
+
* @category StitchLabs
|
13 |
+
* @package StitchLabs_ChannelIntegration
|
14 |
+
* @copyright Copyright (c) 2014
|
15 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
+
*/
|
17 |
+
/**
|
18 |
+
* Test_Label resource model
|
19 |
+
*
|
20 |
+
* @category StitchLabs
|
21 |
+
* @package StitchLabs_ChannelIntegration
|
22 |
+
* @author Ultimate Module Creator
|
23 |
+
*/
|
24 |
+
class StitchLabs_ChannelIntegration_Model_Resource_Product
|
25 |
+
extends Mage_Core_Model_Resource_Db_Abstract {
|
26 |
+
/**
|
27 |
+
* constructor
|
28 |
+
* @access public
|
29 |
+
* @author Ultimate Module Creator
|
30 |
+
*/
|
31 |
+
public function _construct(){
|
32 |
+
$this->_init('stitchlabs_channelintegration/product', 'entity_id');
|
33 |
+
}
|
34 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Product/Collection.php
CHANGED
@@ -1,72 +1,72 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* StitchLabs_ChannelIntegration extension
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the MIT License
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/mit-license.php
|
11 |
-
*
|
12 |
-
* @category StitchLabs
|
13 |
-
* @package StitchLabs_ChannelIntegration
|
14 |
-
* @copyright Copyright (c) 2014
|
15 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
-
*/
|
17 |
-
/**
|
18 |
-
* Test_Label collection resource model
|
19 |
-
*
|
20 |
-
* @category StitchLabs
|
21 |
-
* @package StitchLabs_ChannelIntegration
|
22 |
-
* @author Ultimate Module Creator
|
23 |
-
*/
|
24 |
-
class StitchLabs_ChannelIntegration_Model_Resource_Product_Collection
|
25 |
-
extends Mage_Core_Model_Resource_Db_Collection_Abstract {
|
26 |
-
protected $_joinedFields = array();
|
27 |
-
/**
|
28 |
-
* constructor
|
29 |
-
* @access public
|
30 |
-
* @return void
|
31 |
-
* @author Ultimate Module Creator
|
32 |
-
*/
|
33 |
-
protected function _construct(){
|
34 |
-
parent::_construct();
|
35 |
-
$this->_init('stitchlabs_channelintegration/product');
|
36 |
-
}
|
37 |
-
/**
|
38 |
-
* get products as array
|
39 |
-
* @access protected
|
40 |
-
* @param string $valueField
|
41 |
-
* @param string $labelField
|
42 |
-
* @param array $additional
|
43 |
-
* @return array
|
44 |
-
* @author Ultimate Module Creator
|
45 |
-
*/
|
46 |
-
protected function _toOptionArray($valueField='entity_id', $labelField='tattribute', $additional=array()){
|
47 |
-
return parent::_toOptionArray($valueField, $labelField, $additional);
|
48 |
-
}
|
49 |
-
/**
|
50 |
-
* get options hash
|
51 |
-
* @access protected
|
52 |
-
* @param string $valueField
|
53 |
-
* @param string $labelField
|
54 |
-
* @return array
|
55 |
-
* @author Ultimate Module Creator
|
56 |
-
*/
|
57 |
-
protected function _toOptionHash($valueField='entity_id', $labelField='tattribute'){
|
58 |
-
return parent::_toOptionHash($valueField, $labelField);
|
59 |
-
}
|
60 |
-
/**
|
61 |
-
* Get SQL for get record count.
|
62 |
-
* Extra GROUP BY strip added.
|
63 |
-
* @access public
|
64 |
-
* @return Varien_Db_Select
|
65 |
-
* @author Ultimate Module Creator
|
66 |
-
*/
|
67 |
-
public function getSelectCountSql(){
|
68 |
-
$countSelect = parent::getSelectCountSql();
|
69 |
-
$countSelect->reset(Zend_Db_Select::GROUP);
|
70 |
-
return $countSelect;
|
71 |
-
}
|
72 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StitchLabs_ChannelIntegration extension
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the MIT License
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/mit-license.php
|
11 |
+
*
|
12 |
+
* @category StitchLabs
|
13 |
+
* @package StitchLabs_ChannelIntegration
|
14 |
+
* @copyright Copyright (c) 2014
|
15 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
+
*/
|
17 |
+
/**
|
18 |
+
* Test_Label collection resource model
|
19 |
+
*
|
20 |
+
* @category StitchLabs
|
21 |
+
* @package StitchLabs_ChannelIntegration
|
22 |
+
* @author Ultimate Module Creator
|
23 |
+
*/
|
24 |
+
class StitchLabs_ChannelIntegration_Model_Resource_Product_Collection
|
25 |
+
extends Mage_Core_Model_Resource_Db_Collection_Abstract {
|
26 |
+
protected $_joinedFields = array();
|
27 |
+
/**
|
28 |
+
* constructor
|
29 |
+
* @access public
|
30 |
+
* @return void
|
31 |
+
* @author Ultimate Module Creator
|
32 |
+
*/
|
33 |
+
protected function _construct(){
|
34 |
+
parent::_construct();
|
35 |
+
$this->_init('stitchlabs_channelintegration/product');
|
36 |
+
}
|
37 |
+
/**
|
38 |
+
* get products as array
|
39 |
+
* @access protected
|
40 |
+
* @param string $valueField
|
41 |
+
* @param string $labelField
|
42 |
+
* @param array $additional
|
43 |
+
* @return array
|
44 |
+
* @author Ultimate Module Creator
|
45 |
+
*/
|
46 |
+
protected function _toOptionArray($valueField='entity_id', $labelField='tattribute', $additional=array()){
|
47 |
+
return parent::_toOptionArray($valueField, $labelField, $additional);
|
48 |
+
}
|
49 |
+
/**
|
50 |
+
* get options hash
|
51 |
+
* @access protected
|
52 |
+
* @param string $valueField
|
53 |
+
* @param string $labelField
|
54 |
+
* @return array
|
55 |
+
* @author Ultimate Module Creator
|
56 |
+
*/
|
57 |
+
protected function _toOptionHash($valueField='entity_id', $labelField='tattribute'){
|
58 |
+
return parent::_toOptionHash($valueField, $labelField);
|
59 |
+
}
|
60 |
+
/**
|
61 |
+
* Get SQL for get record count.
|
62 |
+
* Extra GROUP BY strip added.
|
63 |
+
* @access public
|
64 |
+
* @return Varien_Db_Select
|
65 |
+
* @author Ultimate Module Creator
|
66 |
+
*/
|
67 |
+
public function getSelectCountSql(){
|
68 |
+
$countSelect = parent::getSelectCountSql();
|
69 |
+
$countSelect->reset(Zend_Db_Select::GROUP);
|
70 |
+
return $countSelect;
|
71 |
+
}
|
72 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Setup.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?php
|
2 |
/**
|
3 |
* StitchLabs_ChannelIntegration extension
|
4 |
*
|
@@ -13,14 +13,14 @@
|
|
13 |
* @package StitchLabs_ChannelIntegration
|
14 |
* @copyright Copyright (c) 2014
|
15 |
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
-
*/
|
17 |
-
/**
|
18 |
-
* ChannelIntegration setup
|
19 |
-
*
|
20 |
-
* @category StitchLabs
|
21 |
-
* @package StitchLabs_ChannelIntegration
|
22 |
-
* @author Ultimate Module Creator
|
23 |
-
*/
|
24 |
-
class StitchLabs_ChannelIntegration_Model_Resource_Setup
|
25 |
-
extends Mage_Core_Model_Resource_Setup {
|
26 |
-
}
|
1 |
+
<?php
|
2 |
/**
|
3 |
* StitchLabs_ChannelIntegration extension
|
4 |
*
|
13 |
* @package StitchLabs_ChannelIntegration
|
14 |
* @copyright Copyright (c) 2014
|
15 |
* @license http://opensource.org/licenses/mit-license.php MIT License
|
16 |
+
*/
|
17 |
+
/**
|
18 |
+
* ChannelIntegration setup
|
19 |
+
*
|
20 |
+
* @category StitchLabs
|
21 |
+
* @package StitchLabs_ChannelIntegration
|
22 |
+
* @author Ultimate Module Creator
|
23 |
+
*/
|
24 |
+
class StitchLabs_ChannelIntegration_Model_Resource_Setup
|
25 |
+
extends Mage_Core_Model_Resource_Setup {
|
26 |
+
}
|
app/code/community/StitchLabs/ChannelIntegration/etc/api.xml
CHANGED
@@ -1,171 +1,205 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* StitchLabs_ChannelIntegration extension
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the MIT License
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/mit-license.php
|
12 |
-
*
|
13 |
-
* @category StitchLabs
|
14 |
-
* @package StitchLabs_ChannelIntegration
|
15 |
-
* @copyright Copyright (c) 2014
|
16 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
17 |
-
*/
|
18 |
-
-->
|
19 |
-
<config>
|
20 |
-
<api>
|
21 |
-
<resources>
|
22 |
-
<channelintegration_product translate="title" module="stitchlabs_channelintegration">
|
23 |
-
<title>
|
24 |
-
<model>stitchlabs_channelintegration/product_api</model>
|
25 |
-
<acl>channelintegration/product</acl>
|
26 |
-
<methods>
|
27 |
-
<list translate="title" module="stitchlabs_channelintegration">
|
28 |
-
<title>Retrieve list of
|
29 |
-
<method>items</method>
|
30 |
-
<acl>channelintegration/product/list</acl>
|
31 |
-
</list>
|
32 |
-
<info translate="title" module="stitchlabs_channelintegration">
|
33 |
-
<title>Retrieve
|
34 |
-
<acl>channelintegration/product/info</acl>
|
35 |
-
</info>
|
36 |
-
<add translate="title" module="stitchlabs_channelintegration">
|
37 |
-
<title>Add
|
38 |
-
<acl>channelintegration/product/add</acl>
|
39 |
-
</add>
|
40 |
-
<update translate="title" module="stitchlabs_channelintegration">
|
41 |
-
<title>Update
|
42 |
-
<acl>channelintegration/product/update</acl>
|
43 |
-
</update>
|
44 |
-
<remove translate="title" module="stitchlabs_channelintegration">
|
45 |
-
<title>Remove
|
46 |
-
<acl>channelintegration/product/remove</acl>
|
47 |
-
</remove>
|
48 |
-
</methods>
|
49 |
-
<faults module="stitchlabs_channelintegration">
|
50 |
-
<product_not_exists>
|
51 |
-
<code>101</code>
|
52 |
-
<message>Requested
|
53 |
-
</product_not_exists>
|
54 |
-
<invalid_data>
|
55 |
-
<code>102</code>
|
56 |
-
<message>Provided data is invalid.</message>
|
57 |
-
</invalid_data>
|
58 |
-
<save_error>
|
59 |
-
<code>103</code>
|
60 |
-
<message>Error while saving
|
61 |
-
</save_error>
|
62 |
-
<remove_error>
|
63 |
-
<code>104</code>
|
64 |
-
<message>Error while removing
|
65 |
-
</remove_error>
|
66 |
-
</faults>
|
67 |
-
</channelintegration_product>
|
68 |
-
|
69 |
-
|
70 |
-
<
|
71 |
-
<
|
72 |
-
<
|
73 |
-
|
74 |
-
|
75 |
-
<
|
76 |
-
<
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
<
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
<
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
<
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
<
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
<
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
<
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
<
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
<
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
<
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
<
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
</
|
157 |
-
<
|
158 |
-
<title>
|
159 |
-
</
|
160 |
-
<
|
161 |
-
<title>
|
162 |
-
</
|
163 |
-
<
|
164 |
-
<title>
|
165 |
-
</
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* StitchLabs_ChannelIntegration extension
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the MIT License
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/mit-license.php
|
12 |
+
*
|
13 |
+
* @category StitchLabs
|
14 |
+
* @package StitchLabs_ChannelIntegration
|
15 |
+
* @copyright Copyright (c) 2014
|
16 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
17 |
+
*/
|
18 |
+
-->
|
19 |
+
<config>
|
20 |
+
<api>
|
21 |
+
<resources>
|
22 |
+
<channelintegration_product translate="title" module="stitchlabs_channelintegration">
|
23 |
+
<title>Product API</title>
|
24 |
+
<model>stitchlabs_channelintegration/product_api</model>
|
25 |
+
<acl>channelintegration/product</acl>
|
26 |
+
<methods>
|
27 |
+
<list translate="title" module="stitchlabs_channelintegration">
|
28 |
+
<title>Retrieve list of Products</title>
|
29 |
+
<method>items</method>
|
30 |
+
<acl>channelintegration/product/list</acl>
|
31 |
+
</list>
|
32 |
+
<info translate="title" module="stitchlabs_channelintegration">
|
33 |
+
<title>Retrieve Product info</title>
|
34 |
+
<acl>channelintegration/product/info</acl>
|
35 |
+
</info>
|
36 |
+
<add translate="title" module="stitchlabs_channelintegration">
|
37 |
+
<title>Add Product</title>
|
38 |
+
<acl>channelintegration/product/add</acl>
|
39 |
+
</add>
|
40 |
+
<update translate="title" module="stitchlabs_channelintegration">
|
41 |
+
<title>Update Product</title>
|
42 |
+
<acl>channelintegration/product/update</acl>
|
43 |
+
</update>
|
44 |
+
<remove translate="title" module="stitchlabs_channelintegration">
|
45 |
+
<title>Remove Product</title>
|
46 |
+
<acl>channelintegration/product/remove</acl>
|
47 |
+
</remove>
|
48 |
+
</methods>
|
49 |
+
<faults module="stitchlabs_channelintegration">
|
50 |
+
<product_not_exists>
|
51 |
+
<code>101</code>
|
52 |
+
<message>Requested Product does not exist.</message>
|
53 |
+
</product_not_exists>
|
54 |
+
<invalid_data>
|
55 |
+
<code>102</code>
|
56 |
+
<message>Provided data is invalid.</message>
|
57 |
+
</invalid_data>
|
58 |
+
<save_error>
|
59 |
+
<code>103</code>
|
60 |
+
<message>Error while saving Product. Details in error message.</message>
|
61 |
+
</save_error>
|
62 |
+
<remove_error>
|
63 |
+
<code>104</code>
|
64 |
+
<message>Error while removing Product. Details in error message.</message>
|
65 |
+
</remove_error>
|
66 |
+
</faults>
|
67 |
+
</channelintegration_product>
|
68 |
+
|
69 |
+
<channelintegration_order translate="title" module="stitchlabs_channelintegration">
|
70 |
+
<title>Order API</title>
|
71 |
+
<model>stitchlabs_channelintegration/order_api</model>
|
72 |
+
<acl>channelintegration/order</acl>
|
73 |
+
<methods>
|
74 |
+
<list translate="title" module="stitchlabs_channelintegration">
|
75 |
+
<title>Retrieve list of Orders</title>
|
76 |
+
<method>items</method>
|
77 |
+
<acl>channelintegration/order/list</acl>
|
78 |
+
</list>
|
79 |
+
<info translate="title" module="stitchlabs_channelintegration">
|
80 |
+
<title>Retrieve Order info</title>
|
81 |
+
<acl>channelintegration/order/info</acl>
|
82 |
+
</info>
|
83 |
+
<add translate="title" module="stitchlabs_channelintegration">
|
84 |
+
<title>Add Order</title>
|
85 |
+
<acl>channelintegration/order/add</acl>
|
86 |
+
</add>
|
87 |
+
<update translate="title" module="stitchlabs_channelintegration">
|
88 |
+
<title>Update Order</title>
|
89 |
+
<acl>channelintegration/order/update</acl>
|
90 |
+
</update>
|
91 |
+
<remove translate="title" module="stitchlabs_channelintegration">
|
92 |
+
<title>Remove Order</title>
|
93 |
+
<acl>channelintegration/order/remove</acl>
|
94 |
+
</remove>
|
95 |
+
</methods>
|
96 |
+
<faults module="stitchlabs_channelintegration">
|
97 |
+
<order_not_exists>
|
98 |
+
<code>101</code>
|
99 |
+
<message>Requested Order does not exist.</message>
|
100 |
+
</order_not_exists>
|
101 |
+
<invalid_data>
|
102 |
+
<code>102</code>
|
103 |
+
<message>Provided data is invalid.</message>
|
104 |
+
</invalid_data>
|
105 |
+
<save_error>
|
106 |
+
<code>103</code>
|
107 |
+
<message>Error while saving Order. Details in error message.</message>
|
108 |
+
</save_error>
|
109 |
+
<remove_error>
|
110 |
+
<code>104</code>
|
111 |
+
<message>Error while removing Order. Details in error message.</message>
|
112 |
+
</remove_error>
|
113 |
+
</faults>
|
114 |
+
</channelintegration_order>
|
115 |
+
|
116 |
+
<channelintegration_info translate="title" module="stitchlabs_channelintegration">
|
117 |
+
<title>Info API</title>
|
118 |
+
<model>stitchlabs_channelintegration/info_api</model>
|
119 |
+
<acl>channelintegration/info</acl>
|
120 |
+
<methods>
|
121 |
+
<server translate="title" module="stitchlabs_channelintegration">
|
122 |
+
<title>Retrieve server info</title>
|
123 |
+
<acl>channelintegration/info/server</acl>
|
124 |
+
</server>
|
125 |
+
</methods>
|
126 |
+
<faults module="stitchlabs_channelintegration">
|
127 |
+
<order_not_exists>
|
128 |
+
<code>101</code>
|
129 |
+
<message>Requested Order does not exist.</message>
|
130 |
+
</order_not_exists>
|
131 |
+
<invalid_data>
|
132 |
+
<code>102</code>
|
133 |
+
<message>Provided data is invalid.</message>
|
134 |
+
</invalid_data>
|
135 |
+
</faults>
|
136 |
+
</channelintegration_info>
|
137 |
+
</resources>
|
138 |
+
<resources_alias>
|
139 |
+
<stitch_product>channelintegration_product</stitch_product>
|
140 |
+
<stitch_order>channelintegration_order</stitch_order>
|
141 |
+
<stitch_info>channelintegration_info</stitch_info>
|
142 |
+
</resources_alias>
|
143 |
+
<v2>
|
144 |
+
<resources_function_prefix>
|
145 |
+
<stitch_product>channelintegrationProduct</stitch_product>
|
146 |
+
<stitch_order>channelintegrationOrder</stitch_order>
|
147 |
+
<stitch_info>channelintegrationInfo</stitch_info>
|
148 |
+
</resources_function_prefix>
|
149 |
+
</v2>
|
150 |
+
<acl>
|
151 |
+
<resources>
|
152 |
+
<stitchlabs_channelintegration translate="title" module="stitchlabs_channelintegration">
|
153 |
+
<title>ChannelIntegration</title>
|
154 |
+
<product translate="title" module="stitchlabs_channelintegration">
|
155 |
+
<title>Product</title>
|
156 |
+
<sort_order>0</sort_order>
|
157 |
+
<list translate="title" module="stitchlabs_channelintegration">
|
158 |
+
<title>List</title>
|
159 |
+
</list>
|
160 |
+
<info translate="title" module="stitchlabs_channelintegration">
|
161 |
+
<title>Info</title>
|
162 |
+
</info>
|
163 |
+
<add translate="title" module="stitchlabs_channelintegration">
|
164 |
+
<title>Add</title>
|
165 |
+
</add>
|
166 |
+
<update translate="title" module="stitchlabs_channelintegration">
|
167 |
+
<title>Update</title>
|
168 |
+
</update>
|
169 |
+
<remove translate="title" module="stitchlabs_channelintegration">
|
170 |
+
<title>Remove</title>
|
171 |
+
</remove>
|
172 |
+
</product>
|
173 |
+
|
174 |
+
<order translate="title" module="stitchlabs_channelintegration">
|
175 |
+
<title>Order</title>
|
176 |
+
<sort_order>0</sort_order>
|
177 |
+
<list translate="title" module="stitchlabs_channelintegration">
|
178 |
+
<title>List</title>
|
179 |
+
</list>
|
180 |
+
<info translate="title" module="stitchlabs_channelintegration">
|
181 |
+
<title>Info</title>
|
182 |
+
</info>
|
183 |
+
<add translate="title" module="stitchlabs_channelintegration">
|
184 |
+
<title>Add</title>
|
185 |
+
</add>
|
186 |
+
<update translate="title" module="stitchlabs_channelintegration">
|
187 |
+
<title>Update</title>
|
188 |
+
</update>
|
189 |
+
<remove translate="title" module="stitchlabs_channelintegration">
|
190 |
+
<title>Remove</title>
|
191 |
+
</remove>
|
192 |
+
</order>
|
193 |
+
|
194 |
+
<info translate="title" module="stitchlabs_channelintegration">
|
195 |
+
<title>Info</title>
|
196 |
+
<sort_order>0</sort_order>
|
197 |
+
<server translate="title" module="stitchlabs_channelintegration">
|
198 |
+
<title>Server</title>
|
199 |
+
</server>
|
200 |
+
</info>
|
201 |
+
</stitchlabs_channelintegration>
|
202 |
+
</resources>
|
203 |
+
</acl>
|
204 |
+
</api>
|
205 |
+
</config>
|
app/code/community/StitchLabs/ChannelIntegration/etc/config.xml
CHANGED
@@ -1,62 +1,65 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* StitchLabs_ChannelIntegration extension
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the MIT License
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/mit-license.php
|
12 |
-
*
|
13 |
-
* @category StitchLabs
|
14 |
-
* @package StitchLabs_ChannelIntegration
|
15 |
-
* @copyright Copyright (c) 2014
|
16 |
-
* @license http://opensource.org/licenses/mit-license.php MIT License
|
17 |
-
*/
|
18 |
-
-->
|
19 |
-
<config>
|
20 |
-
<modules>
|
21 |
-
<StitchLabs_ChannelIntegration>
|
22 |
-
<version>0.0.1</version>
|
23 |
-
</StitchLabs_ChannelIntegration>
|
24 |
-
</modules>
|
25 |
-
<global>
|
26 |
-
<resources>
|
27 |
-
<stitchlabs_channelintegration_setup>
|
28 |
-
<setup>
|
29 |
-
<module>StitchLabs_ChannelIntegration</module>
|
30 |
-
<class>StitchLabs_ChannelIntegration_Model_Resource_Setup</class>
|
31 |
-
</setup>
|
32 |
-
</stitchlabs_channelintegration_setup>
|
33 |
-
</resources>
|
34 |
-
<blocks>
|
35 |
-
<stitchlabs_channelintegration>
|
36 |
-
<class>StitchLabs_ChannelIntegration_Block</class>
|
37 |
-
</stitchlabs_channelintegration>
|
38 |
-
</blocks>
|
39 |
-
<helpers>
|
40 |
-
<stitchlabs_channelintegration>
|
41 |
-
<class>StitchLabs_ChannelIntegration_Helper</class>
|
42 |
-
</stitchlabs_channelintegration>
|
43 |
-
</helpers>
|
44 |
-
<models>
|
45 |
-
<stitchlabs_channelintegration>
|
46 |
-
<class>StitchLabs_ChannelIntegration_Model</class>
|
47 |
-
<resourceModel>stitchlabs_channelintegration_resource</resourceModel>
|
48 |
-
</stitchlabs_channelintegration>
|
49 |
-
<stitchlabs_channelintegration_resource>
|
50 |
-
<class>StitchLabs_ChannelIntegration_Model_Resource</class>
|
51 |
-
<entities>
|
52 |
-
<product>
|
53 |
-
<table>stitchlabs_channelintegration_product</table>
|
54 |
-
</product>
|
55 |
-
<order>
|
56 |
-
<table>stitchlabs_channelintegration_order</table>
|
57 |
-
</order>
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
</
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* StitchLabs_ChannelIntegration extension
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the MIT License
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/mit-license.php
|
12 |
+
*
|
13 |
+
* @category StitchLabs
|
14 |
+
* @package StitchLabs_ChannelIntegration
|
15 |
+
* @copyright Copyright (c) 2014
|
16 |
+
* @license http://opensource.org/licenses/mit-license.php MIT License
|
17 |
+
*/
|
18 |
+
-->
|
19 |
+
<config>
|
20 |
+
<modules>
|
21 |
+
<StitchLabs_ChannelIntegration>
|
22 |
+
<version>0.0.1</version>
|
23 |
+
</StitchLabs_ChannelIntegration>
|
24 |
+
</modules>
|
25 |
+
<global>
|
26 |
+
<resources>
|
27 |
+
<stitchlabs_channelintegration_setup>
|
28 |
+
<setup>
|
29 |
+
<module>StitchLabs_ChannelIntegration</module>
|
30 |
+
<class>StitchLabs_ChannelIntegration_Model_Resource_Setup</class>
|
31 |
+
</setup>
|
32 |
+
</stitchlabs_channelintegration_setup>
|
33 |
+
</resources>
|
34 |
+
<blocks>
|
35 |
+
<stitchlabs_channelintegration>
|
36 |
+
<class>StitchLabs_ChannelIntegration_Block</class>
|
37 |
+
</stitchlabs_channelintegration>
|
38 |
+
</blocks>
|
39 |
+
<helpers>
|
40 |
+
<stitchlabs_channelintegration>
|
41 |
+
<class>StitchLabs_ChannelIntegration_Helper</class>
|
42 |
+
</stitchlabs_channelintegration>
|
43 |
+
</helpers>
|
44 |
+
<models>
|
45 |
+
<stitchlabs_channelintegration>
|
46 |
+
<class>StitchLabs_ChannelIntegration_Model</class>
|
47 |
+
<resourceModel>stitchlabs_channelintegration_resource</resourceModel>
|
48 |
+
</stitchlabs_channelintegration>
|
49 |
+
<stitchlabs_channelintegration_resource>
|
50 |
+
<class>StitchLabs_ChannelIntegration_Model_Resource</class>
|
51 |
+
<entities>
|
52 |
+
<product>
|
53 |
+
<table>stitchlabs_channelintegration_product</table>
|
54 |
+
</product>
|
55 |
+
<order>
|
56 |
+
<table>stitchlabs_channelintegration_order</table>
|
57 |
+
</order>
|
58 |
+
<info>
|
59 |
+
<table>stitchlabs_channelintegration_info</table>
|
60 |
+
</info>
|
61 |
+
</entities>
|
62 |
+
</stitchlabs_channelintegration_resource>
|
63 |
+
</models>
|
64 |
+
</global>
|
65 |
+
</config>
|
app/code/community/StitchLabs/ChannelIntegration/etc/wsdl.xml
CHANGED
@@ -1,466 +1,497 @@
|
|
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="channelintegrationProductListEntity">
|
12 |
-
<all>
|
13 |
-
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
14 |
-
<element name="sku" type="xsd:string" minOccurs="0"/>
|
15 |
-
<element name="set" type="xsd:string" minOccurs="0"/>
|
16 |
-
<element name="type" type="xsd:string" minOccurs="0"/>
|
17 |
-
<element name="categories" type="typens:ArrayOfString" minOccurs="0"/>
|
18 |
-
<element name="websites" type="typens:ArrayOfString" minOccurs="0"/>
|
19 |
-
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
20 |
-
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
21 |
-
<element name="type_id" type="xsd:string" minOccurs="0"/>
|
22 |
-
<element name="name" type="xsd:string" minOccurs="0"/>
|
23 |
-
<element name="description" type="xsd:string" minOccurs="0"/>
|
24 |
-
<element name="short_description" type="xsd:string" minOccurs="0"/>
|
25 |
-
<element name="weight" type="xsd:string" minOccurs="0"/>
|
26 |
-
<element name="status" type="xsd:string" minOccurs="0"/>
|
27 |
-
<element name="url_key" type="xsd:string" minOccurs="0"/>
|
28 |
-
<element name="url_path" type="xsd:string" minOccurs="0"/>
|
29 |
-
<element name="visibility" type="xsd:string" minOccurs="0"/>
|
30 |
-
<element name="category_ids" type="typens:ArrayOfString" minOccurs="0"/>
|
31 |
-
<element name="website_ids" type="typens:ArrayOfString" minOccurs="0"/>
|
32 |
-
<element name="has_options" type="xsd:string" minOccurs="0"/>
|
33 |
-
<element name="gift_message_available" type="xsd:string" minOccurs="0"/>
|
34 |
-
<element name="price" type="xsd:string" minOccurs="0"/>
|
35 |
-
<element name="special_price" type="xsd:string" minOccurs="0"/>
|
36 |
-
<element name="special_from_date" type="xsd:string" minOccurs="0"/>
|
37 |
-
<element name="special_to_date" type="xsd:string" minOccurs="0"/>
|
38 |
-
<element name="tax_class_id" type="xsd:string" minOccurs="0"/>
|
39 |
-
<element name="tier_price" type="typens:catalogProductTierPriceEntityArray" minOccurs="0"/>
|
40 |
-
<element name="meta_title" type="xsd:string" minOccurs="0"/>
|
41 |
-
<element name="meta_keyword" type="xsd:string" minOccurs="0"/>
|
42 |
-
<element name="meta_description" type="xsd:string" minOccurs="0"/>
|
43 |
-
<element name="custom_design" type="xsd:string" minOccurs="0"/>
|
44 |
-
<element name="custom_layout_update" type="xsd:string" minOccurs="0"/>
|
45 |
-
<element name="options_container" type="xsd:string" minOccurs="0"/>
|
46 |
-
<element name="image_url" type="xsd:string" minOccurs="0"/>
|
47 |
-
<element name="qty" type="xsd:string" minOccurs="0"/>
|
48 |
-
<element name="additional_attributes" type="typens:associativeArray" minOccurs="0"/>
|
49 |
-
<element name="configurable_parent_product_ids" type="typens:ArrayOfString"/>
|
50 |
-
<element name="grouped_parent_product_ids" type="typens:ArrayOfString"/>
|
51 |
-
<element name="configurable_child_product_ids" type="typens:ArrayOfString"/>
|
52 |
-
<element name="grouped_child_product_ids" type="typens:ArrayOfString"/>
|
53 |
-
<element name="parent_sku" type="xsd:string" minOccurs="0"/>
|
54 |
-
<element name="url_complete" type="xsd:string" minOccurs="0"/>
|
55 |
-
<element name="configurable_products_data" type="typens:childrenEntityArray" minOccurs="0"/>
|
56 |
-
<element name="configurable_attributes_data" type="typens:configurableOptionsEntityArray"
|
57 |
-
minOccurs="0"/>
|
58 |
-
<element name="stock_data" type="typens:catalogInventoryStockItemEntityArray" minOccurs="0"/>
|
59 |
-
<element name="images" type="typens:catalogProductImageEntityArray" minOccurs="0"/>
|
60 |
-
</all>
|
61 |
-
</complexType>
|
62 |
-
<complexType name="channelintegrationOrderListEntity">
|
63 |
-
<all>
|
64 |
-
<element name="increment_id" type="xsd:string" minOccurs="0"/>
|
65 |
-
<element name="store_id" type="xsd:string" minOccurs="0"/>
|
66 |
-
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
67 |
-
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
68 |
-
<element name="customer_id" type="xsd:string" minOccurs="0"/>
|
69 |
-
<element name="tax_amount" type="xsd:string" minOccurs="0"/>
|
70 |
-
<element name="shipping_amount" type="xsd:string" minOccurs="0"/>
|
71 |
-
<element name="discount_amount" type="xsd:string" minOccurs="0"/>
|
72 |
-
<element name="subtotal" type="xsd:string" minOccurs="0"/>
|
73 |
-
<element name="grand_total" type="xsd:string" minOccurs="0"/>
|
74 |
-
<element name="total_paid" type="xsd:string" minOccurs="0"/>
|
75 |
-
<element name="total_refunded" type="xsd:string" minOccurs="0"/>
|
76 |
-
<element name="total_qty_ordered" type="xsd:string" minOccurs="0"/>
|
77 |
-
<element name="total_canceled" type="xsd:string" minOccurs="0"/>
|
78 |
-
<element name="total_invoiced" type="xsd:string" minOccurs="0"/>
|
79 |
-
<element name="total_online_refunded" type="xsd:string" minOccurs="0"/>
|
80 |
-
<element name="total_offline_refunded" type="xsd:string" minOccurs="0"/>
|
81 |
-
<element name="base_tax_amount" type="xsd:string" minOccurs="0"/>
|
82 |
-
<element name="base_shipping_amount" type="xsd:string" minOccurs="0"/>
|
83 |
-
<element name="base_discount_amount" type="xsd:string" minOccurs="0"/>
|
84 |
-
<element name="base_subtotal" type="xsd:string" minOccurs="0"/>
|
85 |
-
<element name="base_grand_total" type="xsd:string" minOccurs="0"/>
|
86 |
-
<element name="base_total_paid" type="xsd:string" minOccurs="0"/>
|
87 |
-
<element name="base_total_refunded" type="xsd:string" minOccurs="0"/>
|
88 |
-
<element name="base_total_qty_ordered" type="xsd:string" minOccurs="0"/>
|
89 |
-
<element name="base_total_canceled" type="xsd:string" minOccurs="0"/>
|
90 |
-
<element name="base_total_invoiced" type="xsd:string" minOccurs="0"/>
|
91 |
-
<element name="base_total_online_refunded" type="xsd:string" minOccurs="0"/>
|
92 |
-
<element name="base_total_offline_refunded" type="xsd:string" minOccurs="0"/>
|
93 |
-
<element name="billing_address_id" type="xsd:string" minOccurs="0"/>
|
94 |
-
<element name="billing_firstname" type="xsd:string" minOccurs="0"/>
|
95 |
-
<element name="billing_lastname" type="xsd:string" minOccurs="0"/>
|
96 |
-
<element name="shipping_address_id" type="xsd:string" minOccurs="0"/>
|
97 |
-
<element name="shipping_firstname" type="xsd:string" minOccurs="0"/>
|
98 |
-
<element name="shipping_lastname" type="xsd:string" minOccurs="0"/>
|
99 |
-
<element name="billing_name" type="xsd:string" minOccurs="0"/>
|
100 |
-
<element name="shipping_name" type="xsd:string" minOccurs="0"/>
|
101 |
-
<element name="store_to_base_rate" type="xsd:string" minOccurs="0"/>
|
102 |
-
<element name="store_to_order_rate" type="xsd:string" minOccurs="0"/>
|
103 |
-
<element name="base_to_global_rate" type="xsd:string" minOccurs="0"/>
|
104 |
-
<element name="base_to_order_rate" type="xsd:string" minOccurs="0"/>
|
105 |
-
<element name="weight" type="xsd:string" minOccurs="0"/>
|
106 |
-
<element name="store_name" type="xsd:string" minOccurs="0"/>
|
107 |
-
<element name="remote_ip" type="xsd:string" minOccurs="0"/>
|
108 |
-
<element name="status" type="xsd:string" minOccurs="0"/>
|
109 |
-
<element name="state" type="xsd:string" minOccurs="0"/>
|
110 |
-
<element name="applied_rule_ids" type="xsd:string" minOccurs="0"/>
|
111 |
-
<element name="global_currency_code" type="xsd:string" minOccurs="0"/>
|
112 |
-
<element name="base_currency_code" type="xsd:string" minOccurs="0"/>
|
113 |
-
<element name="store_currency_code" type="xsd:string" minOccurs="0"/>
|
114 |
-
<element name="order_currency_code" type="xsd:string" minOccurs="0"/>
|
115 |
-
<element name="shipping_method" type="xsd:string" minOccurs="0"/>
|
116 |
-
<element name="shipping_description" type="xsd:string" minOccurs="0"/>
|
117 |
-
<element name="customer_email" type="xsd:string" minOccurs="0"/>
|
118 |
-
<element name="customer_firstname" type="xsd:string" minOccurs="0"/>
|
119 |
-
<element name="customer_lastname" type="xsd:string" minOccurs="0"/>
|
120 |
-
<element name="quote_id" type="xsd:string" minOccurs="0"/>
|
121 |
-
<element name="is_virtual" type="xsd:string" minOccurs="0"/>
|
122 |
-
<element name="customer_group_id" type="xsd:string" minOccurs="0"/>
|
123 |
-
<element name="customer_note_notify" type="xsd:string" minOccurs="0"/>
|
124 |
-
<element name="customer_is_guest" type="xsd:string" minOccurs="0"/>
|
125 |
-
<element name="email_sent" type="xsd:string" minOccurs="0"/>
|
126 |
-
<element name="order_id" type="xsd:string" minOccurs="0"/>
|
127 |
-
<element name="gift_message_id" type="xsd:string" minOccurs="0"/>
|
128 |
-
<element name="coupon_code" type="xsd:string" minOccurs="0"/>
|
129 |
-
<element name="protect_code" type="xsd:string" minOccurs="0"/>
|
130 |
-
<element name="base_discount_canceled" type="xsd:string" minOccurs="0"/>
|
131 |
-
<element name="base_discount_invoiced" type="xsd:string" minOccurs="0"/>
|
132 |
-
<element name="base_discount_refunded" type="xsd:string" minOccurs="0"/>
|
133 |
-
<element name="base_shipping_canceled" type="xsd:string" minOccurs="0"/>
|
134 |
-
<element name="base_shipping_invoiced" type="xsd:string" minOccurs="0"/>
|
135 |
-
<element name="base_shipping_refunded" type="xsd:string" minOccurs="0"/>
|
136 |
-
<element name="base_shipping_tax_amount" type="xsd:string" minOccurs="0"/>
|
137 |
-
<element name="base_shipping_tax_refunded" type="xsd:string" minOccurs="0"/>
|
138 |
-
<element name="base_subtotal_canceled" type="xsd:string" minOccurs="0"/>
|
139 |
-
<element name="base_subtotal_invoiced" type="xsd:string" minOccurs="0"/>
|
140 |
-
<element name="base_subtotal_refunded" type="xsd:string" minOccurs="0"/>
|
141 |
-
<element name="base_tax_canceled" type="xsd:string" minOccurs="0"/>
|
142 |
-
<element name="base_tax_invoiced" type="xsd:string" minOccurs="0"/>
|
143 |
-
<element name="base_tax_refunded" type="xsd:string" minOccurs="0"/>
|
144 |
-
<element name="base_total_invoiced_cost" type="xsd:string" minOccurs="0"/>
|
145 |
-
<element name="discount_canceled" type="xsd:string" minOccurs="0"/>
|
146 |
-
<element name="discount_invoiced" type="xsd:string" minOccurs="0"/>
|
147 |
-
<element name="discount_refunded" type="xsd:string" minOccurs="0"/>
|
148 |
-
<element name="shipping_canceled" type="xsd:string" minOccurs="0"/>
|
149 |
-
<element name="shipping_invoiced" type="xsd:string" minOccurs="0"/>
|
150 |
-
<element name="shipping_refunded" type="xsd:string" minOccurs="0"/>
|
151 |
-
<element name="shipping_tax_amount" type="xsd:string" minOccurs="0"/>
|
152 |
-
<element name="shipping_tax_refunded" type="xsd:string" minOccurs="0"/>
|
153 |
-
<element name="subtotal_canceled" type="xsd:string" minOccurs="0"/>
|
154 |
-
<element name="subtotal_invoiced" type="xsd:string" minOccurs="0"/>
|
155 |
-
<element name="subtotal_refunded" type="xsd:string" minOccurs="0"/>
|
156 |
-
<element name="tax_canceled" type="xsd:string" minOccurs="0"/>
|
157 |
-
<element name="tax_invoiced" type="xsd:string" minOccurs="0"/>
|
158 |
-
<element name="tax_refunded" type="xsd:string" minOccurs="0"/>
|
159 |
-
<element name="can_ship_partially" type="xsd:string" minOccurs="0"/>
|
160 |
-
<element name="can_ship_partially_item" type="xsd:string" minOccurs="0"/>
|
161 |
-
<element name="edit_increment" type="xsd:string" minOccurs="0"/>
|
162 |
-
<element name="forced_do_shipment_with_invoice" type="xsd:string" minOccurs="0"/>
|
163 |
-
<element name="payment_authorization_expiration" type="xsd:string" minOccurs="0"/>
|
164 |
-
<element name="paypal_ipn_customer_notified" type="xsd:string" minOccurs="0"/>
|
165 |
-
<element name="quote_address_id" type="xsd:string" minOccurs="0"/>
|
166 |
-
<element name="adjustment_negative" type="xsd:string" minOccurs="0"/>
|
167 |
-
<element name="adjustment_positive" type="xsd:string" minOccurs="0"/>
|
168 |
-
<element name="base_adjustment_negative" type="xsd:string" minOccurs="0"/>
|
169 |
-
<element name="base_adjustment_positive" type="xsd:string" minOccurs="0"/>
|
170 |
-
<element name="base_shipping_discount_amount" type="xsd:string" minOccurs="0"/>
|
171 |
-
<element name="base_subtotal_incl_tax" type="xsd:string" minOccurs="0"/>
|
172 |
-
<element name="base_total_due" type="xsd:string" minOccurs="0"/>
|
173 |
-
<element name="payment_authorization_amount" type="xsd:string" minOccurs="0"/>
|
174 |
-
<element name="shipping_discount_amount" type="xsd:string" minOccurs="0"/>
|
175 |
-
<element name="subtotal_incl_tax" type="xsd:string" minOccurs="0"/>
|
176 |
-
<element name="total_due" type="xsd:string" minOccurs="0"/>
|
177 |
-
<element name="customer_dob" type="xsd:string" minOccurs="0"/>
|
178 |
-
<element name="customer_middlename" type="xsd:string" minOccurs="0"/>
|
179 |
-
<element name="customer_prefix" type="xsd:string" minOccurs="0"/>
|
180 |
-
<element name="customer_suffix" type="xsd:string" minOccurs="0"/>
|
181 |
-
<element name="customer_taxvat" type="xsd:string" minOccurs="0"/>
|
182 |
-
<element name="discount_description" type="xsd:string" minOccurs="0"/>
|
183 |
-
<element name="ext_customer_id" type="xsd:string" minOccurs="0"/>
|
184 |
-
<element name="ext_order_id" type="xsd:string" minOccurs="0"/>
|
185 |
-
<element name="hold_before_state" type="xsd:string" minOccurs="0"/>
|
186 |
-
<element name="hold_before_status" type="xsd:string" minOccurs="0"/>
|
187 |
-
<element name="original_increment_id" type="xsd:string" minOccurs="0"/>
|
188 |
-
<element name="relation_child_id" type="xsd:string" minOccurs="0"/>
|
189 |
-
<element name="relation_child_real_id" type="xsd:string" minOccurs="0"/>
|
190 |
-
<element name="relation_parent_id" type="xsd:string" minOccurs="0"/>
|
191 |
-
<element name="relation_parent_real_id" type="xsd:string" minOccurs="0"/>
|
192 |
-
<element name="x_forwarded_for" type="xsd:string" minOccurs="0"/>
|
193 |
-
<element name="customer_note" type="xsd:string" minOccurs="0"/>
|
194 |
-
<element name="total_item_count" type="xsd:string" minOccurs="0"/>
|
195 |
-
<element name="customer_gender" type="xsd:string" minOccurs="0"/>
|
196 |
-
<element name="hidden_tax_amount" type="xsd:string" minOccurs="0"/>
|
197 |
-
<element name="base_hidden_tax_amount" type="xsd:string" minOccurs="0"/>
|
198 |
-
<element name="shipping_hidden_tax_amount" type="xsd:string" minOccurs="0"/>
|
199 |
-
<element name="base_shipping_hidden_tax_amount" type="xsd:string" minOccurs="0"/>
|
200 |
-
<element name="hidden_tax_invoiced" type="xsd:string" minOccurs="0"/>
|
201 |
-
<element name="base_hidden_tax_invoiced" type="xsd:string" minOccurs="0"/>
|
202 |
-
<element name="hidden_tax_refunded" type="xsd:string" minOccurs="0"/>
|
203 |
-
<element name="base_hidden_tax_refunded" type="xsd:string" minOccurs="0"/>
|
204 |
-
<element name="shipping_incl_tax" type="xsd:string" minOccurs="0"/>
|
205 |
-
<element name="base_shipping_incl_tax" type="xsd:string" minOccurs="0"/>
|
206 |
-
<element name="base_customer_balance_amount" type="xsd:string" minOccurs="0"/>
|
207 |
-
<element name="customer_balance_amount" type="xsd:string" minOccurs="0"/>
|
208 |
-
<element name="base_customer_balance_invoiced" type="xsd:string" minOccurs="0"/>
|
209 |
-
<element name="customer_balance_invoiced" type="xsd:string" minOccurs="0"/>
|
210 |
-
<element name="base_customer_balance_refunded" type="xsd:string" minOccurs="0"/>
|
211 |
-
<element name="customer_balance_refunded" type="xsd:string" minOccurs="0"/>
|
212 |
-
<element name="base_customer_balance_total_refunded" type="xsd:string" minOccurs="0"/>
|
213 |
-
<element name="customer_balance_total_refunded" type="xsd:string" minOccurs="0"/>
|
214 |
-
<element name="gift_cards" type="xsd:string" minOccurs="0"/>
|
215 |
-
<element name="base_gift_cards_amount" type="xsd:string" minOccurs="0"/>
|
216 |
-
<element name="gift_cards_amount" type="xsd:string" minOccurs="0"/>
|
217 |
-
<element name="base_gift_cards_invoiced" type="xsd:string" minOccurs="0"/>
|
218 |
-
<element name="gift_cards_invoiced" type="xsd:string" minOccurs="0"/>
|
219 |
-
<element name="base_gift_cards_refunded" type="xsd:string" minOccurs="0"/>
|
220 |
-
<element name="gift_cards_refunded" type="xsd:string" minOccurs="0"/>
|
221 |
-
<element name="reward_points_balance" type="xsd:string" minOccurs="0"/>
|
222 |
-
<element name="base_reward_currency_amount" type="xsd:string" minOccurs="0"/>
|
223 |
-
<element name="reward_currency_amount" type="xsd:string" minOccurs="0"/>
|
224 |
-
<element name="base_reward_currency_amount_invoiced" type="xsd:string" minOccurs="0"/>
|
225 |
-
<element name="reward_currency_amount_invoiced" type="xsd:string" minOccurs="0"/>
|
226 |
-
<element name="base_reward_currency_amount_refunded" type="xsd:string" minOccurs="0"/>
|
227 |
-
<element name="reward_currency_amount_refunded" type="xsd:string" minOccurs="0"/>
|
228 |
-
<element name="reward_points_balance_refunded" type="xsd:string" minOccurs="0"/>
|
229 |
-
<element name="reward_points_balance_to_refund" type="xsd:string" minOccurs="0"/>
|
230 |
-
<element name="reward_salesrule_points" type="xsd:string" minOccurs="0"/>
|
231 |
-
<element name="firstname" type="xsd:string" minOccurs="0"/>
|
232 |
-
<element name="lastname" type="xsd:string" minOccurs="0"/>
|
233 |
-
<element name="telephone" type="xsd:string" minOccurs="0"/>
|
234 |
-
<element name="postcode" type="xsd:string" minOccurs="0"/>
|
235 |
-
<element name="shipping_address" type="typens:salesOrderAddressEntity" minOccurs="0"/>
|
236 |
-
<element name="billing_address" type="typens:salesOrderAddressEntity" minOccurs="0"/>
|
237 |
-
<element name="items" type="typens:salesOrderItemEntityArray" minOccurs="0"/>
|
238 |
-
<element name="payment" type="typens:salesOrderPaymentEntity" minOccurs="0"/>
|
239 |
-
<element name="status_history" type="typens:salesOrderStatusHistoryEntityArray" minOccurs="0"/>
|
240 |
-
</all>
|
241 |
-
</complexType>
|
242 |
-
<complexType name="childrenEntityArray">
|
243 |
-
<complexContent>
|
244 |
-
<restriction base="soapenc:Array">
|
245 |
-
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:childrenEntity[]"/>
|
246 |
-
</restriction>
|
247 |
-
</complexContent>
|
248 |
-
</complexType>
|
249 |
-
<complexType name="childrenEntity">
|
250 |
-
<all>
|
251 |
-
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
252 |
-
<element name="sku" type="xsd:string" minOccurs="0"/>
|
253 |
-
<element name="options" type="typens:optionsEntityArray" minOccurs="0"/>
|
254 |
-
</all>
|
255 |
-
</complexType>
|
256 |
-
<complexType name="configurableOptionsEntityArray">
|
257 |
-
<complexContent>
|
258 |
-
<restriction base="soapenc:Array">
|
259 |
-
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:configurableOptionsEntity[]"/>
|
260 |
-
</restriction>
|
261 |
-
</complexContent>
|
262 |
-
</complexType>
|
263 |
-
<complexType name="configurableOptionsEntity">
|
264 |
-
<all>
|
265 |
-
<element name="code" type="xsd:string" minOccurs="0"/>
|
266 |
-
<element name="options" type="typens:optionsEntityArray" minOccurs="0"/>
|
267 |
-
</all>
|
268 |
-
</complexType>
|
269 |
-
<complexType name="optionsEntityArray">
|
270 |
-
<complexContent>
|
271 |
-
<restriction base="soapenc:Array">
|
272 |
-
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:optionsEntity[]"/>
|
273 |
-
</restriction>
|
274 |
-
</complexContent>
|
275 |
-
</complexType>
|
276 |
-
<complexType name="optionsEntity">
|
277 |
-
<all>
|
278 |
-
<element name="product_super_attribute_id" type="xsd:string" minOccurs="0"/>
|
279 |
-
<element name="value_index" type="xsd:string" minOccurs="0"/>
|
280 |
-
<element name="value_text" type="xsd:string" minOccurs="0"/>
|
281 |
-
<element name="label" type="xsd:string" minOccurs="0"/>
|
282 |
-
<element name="default_label" type="xsd:string" minOccurs="0"/>
|
283 |
-
<element name="store_label" type="xsd:string" minOccurs="0"/>
|
284 |
-
<element name="is_percent" type="xsd:int" minOccurs="0"/>
|
285 |
-
<element name="pricing_value" type="xsd:double" minOccurs="0"/>
|
286 |
-
<element name="use_default_value" type="xsd:boolean" minOccurs="0"/>
|
287 |
-
<element name="attribute_code" type="xsd:string" minOccurs="0"/>
|
288 |
-
</all>
|
289 |
-
</complexType>
|
290 |
-
<complexType name="channelintegrationProductListEntityArray">
|
291 |
-
<complexContent>
|
292 |
-
<restriction base="soapenc:Array">
|
293 |
-
<attribute ref="soapenc:arrayType"
|
294 |
-
wsdl:arrayType="typens:channelintegrationProductListEntity[]"/>
|
295 |
-
</restriction>
|
296 |
-
</complexContent>
|
297 |
-
</complexType>
|
298 |
-
<complexType name="channelintegrationOrderListEntityArray">
|
299 |
-
<complexContent>
|
300 |
-
<restriction base="soapenc:Array">
|
301 |
-
<attribute ref="soapenc:arrayType"
|
302 |
-
wsdl:arrayType="typens:channelintegrationOrderListEntity[]"/>
|
303 |
-
</restriction>
|
304 |
-
</complexContent>
|
305 |
-
</complexType>
|
306 |
-
<complexType name="channelintegrationProductInfoEntity">
|
307 |
-
<all>
|
308 |
-
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
309 |
-
<element name="sku" type="xsd:string" minOccurs="0"/>
|
310 |
-
<element name="set" type="xsd:string" minOccurs="0"/>
|
311 |
-
<element name="type" type="xsd:string" minOccurs="0"/>
|
312 |
-
<element name="categories" type="typens:ArrayOfString" minOccurs="0"/>
|
313 |
-
<element name="websites" type="typens:ArrayOfString" minOccurs="0"/>
|
314 |
-
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
315 |
-
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
316 |
-
<element name="type_id" type="xsd:string" minOccurs="0"/>
|
317 |
-
<element name="name" type="xsd:string" minOccurs="0"/>
|
318 |
-
<element name="description" type="xsd:string" minOccurs="0"/>
|
319 |
-
<element name="short_description" type="xsd:string" minOccurs="0"/>
|
320 |
-
<element name="weight" type="xsd:string" minOccurs="0"/>
|
321 |
-
<element name="status" type="xsd:string" minOccurs="0"/>
|
322 |
-
<element name="url_key" type="xsd:string" minOccurs="0"/>
|
323 |
-
<element name="url_path" type="xsd:string" minOccurs="0"/>
|
324 |
-
<element name="visibility" type="xsd:string" minOccurs="0"/>
|
325 |
-
<element name="category_ids" type="typens:ArrayOfString" minOccurs="0"/>
|
326 |
-
<element name="website_ids" type="typens:ArrayOfString" minOccurs="0"/>
|
327 |
-
<element name="has_options" type="xsd:string" minOccurs="0"/>
|
328 |
-
<element name="gift_message_available" type="xsd:string" minOccurs="0"/>
|
329 |
-
<element name="price" type="xsd:string" minOccurs="0"/>
|
330 |
-
<element name="special_price" type="xsd:string" minOccurs="0"/>
|
331 |
-
<element name="special_from_date" type="xsd:string" minOccurs="0"/>
|
332 |
-
<element name="special_to_date" type="xsd:string" minOccurs="0"/>
|
333 |
-
<element name="tax_class_id" type="xsd:string" minOccurs="0"/>
|
334 |
-
<element name="tier_price" type="typens:catalogProductTierPriceEntityArray" minOccurs="0"/>
|
335 |
-
<element name="meta_title" type="xsd:string" minOccurs="0"/>
|
336 |
-
<element name="meta_keyword" type="xsd:string" minOccurs="0"/>
|
337 |
-
<element name="meta_description" type="xsd:string" minOccurs="0"/>
|
338 |
-
<element name="custom_design" type="xsd:string" minOccurs="0"/>
|
339 |
-
<element name="custom_layout_update" type="xsd:string" minOccurs="0"/>
|
340 |
-
<element name="options_container" type="xsd:string" minOccurs="0"/>
|
341 |
-
<element name="image_url" type="xsd:string" minOccurs="0"/>
|
342 |
-
<element name="qty" type="xsd:string" minOccurs="0"/>
|
343 |
-
<element name="additional_attributes" type="typens:associativeArray" minOccurs="0"/>
|
344 |
-
<element name="configurable_parent_product_ids" type="typens:ArrayOfString"/>
|
345 |
-
<element name="grouped_parent_product_ids" type="typens:ArrayOfString"/>
|
346 |
-
<element name="configurable_child_product_ids" type="typens:ArrayOfString"/>
|
347 |
-
<element name="grouped_child_product_ids" type="typens:ArrayOfString"/>
|
348 |
-
<element name="parent_sku" type="xsd:string" minOccurs="0"/>
|
349 |
-
<element name="url_complete" type="xsd:string" minOccurs="0"/>
|
350 |
-
<element name="configurable_products_data" type="typens:childrenEntityArray" minOccurs="0"/>
|
351 |
-
<element name="configurable_attributes_data" type="typens:configurableOptionsEntityArray"
|
352 |
-
minOccurs="0"/>
|
353 |
-
<element name="stock_data" type="typens:catalogInventoryStockItemEntityArray" minOccurs="0"/>
|
354 |
-
<element name="images" type="typens:catalogProductImageEntityArray" minOccurs="0"/>
|
355 |
-
</all>
|
356 |
-
</complexType>
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
</
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
<part name="
|
378 |
-
</message>
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
<
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
<
|
405 |
-
<
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
<
|
410 |
-
<
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
<
|
415 |
-
|
416 |
-
<
|
417 |
-
<
|
418 |
-
|
419 |
-
|
420 |
-
</
|
421 |
-
<
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
<
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
<
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
<
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="channelintegrationProductListEntity">
|
12 |
+
<all>
|
13 |
+
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
14 |
+
<element name="sku" type="xsd:string" minOccurs="0"/>
|
15 |
+
<element name="set" type="xsd:string" minOccurs="0"/>
|
16 |
+
<element name="type" type="xsd:string" minOccurs="0"/>
|
17 |
+
<element name="categories" type="typens:ArrayOfString" minOccurs="0"/>
|
18 |
+
<element name="websites" type="typens:ArrayOfString" minOccurs="0"/>
|
19 |
+
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
20 |
+
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
21 |
+
<element name="type_id" type="xsd:string" minOccurs="0"/>
|
22 |
+
<element name="name" type="xsd:string" minOccurs="0"/>
|
23 |
+
<element name="description" type="xsd:string" minOccurs="0"/>
|
24 |
+
<element name="short_description" type="xsd:string" minOccurs="0"/>
|
25 |
+
<element name="weight" type="xsd:string" minOccurs="0"/>
|
26 |
+
<element name="status" type="xsd:string" minOccurs="0"/>
|
27 |
+
<element name="url_key" type="xsd:string" minOccurs="0"/>
|
28 |
+
<element name="url_path" type="xsd:string" minOccurs="0"/>
|
29 |
+
<element name="visibility" type="xsd:string" minOccurs="0"/>
|
30 |
+
<element name="category_ids" type="typens:ArrayOfString" minOccurs="0"/>
|
31 |
+
<element name="website_ids" type="typens:ArrayOfString" minOccurs="0"/>
|
32 |
+
<element name="has_options" type="xsd:string" minOccurs="0"/>
|
33 |
+
<element name="gift_message_available" type="xsd:string" minOccurs="0"/>
|
34 |
+
<element name="price" type="xsd:string" minOccurs="0"/>
|
35 |
+
<element name="special_price" type="xsd:string" minOccurs="0"/>
|
36 |
+
<element name="special_from_date" type="xsd:string" minOccurs="0"/>
|
37 |
+
<element name="special_to_date" type="xsd:string" minOccurs="0"/>
|
38 |
+
<element name="tax_class_id" type="xsd:string" minOccurs="0"/>
|
39 |
+
<element name="tier_price" type="typens:catalogProductTierPriceEntityArray" minOccurs="0"/>
|
40 |
+
<element name="meta_title" type="xsd:string" minOccurs="0"/>
|
41 |
+
<element name="meta_keyword" type="xsd:string" minOccurs="0"/>
|
42 |
+
<element name="meta_description" type="xsd:string" minOccurs="0"/>
|
43 |
+
<element name="custom_design" type="xsd:string" minOccurs="0"/>
|
44 |
+
<element name="custom_layout_update" type="xsd:string" minOccurs="0"/>
|
45 |
+
<element name="options_container" type="xsd:string" minOccurs="0"/>
|
46 |
+
<element name="image_url" type="xsd:string" minOccurs="0"/>
|
47 |
+
<element name="qty" type="xsd:string" minOccurs="0"/>
|
48 |
+
<element name="additional_attributes" type="typens:associativeArray" minOccurs="0"/>
|
49 |
+
<element name="configurable_parent_product_ids" type="typens:ArrayOfString"/>
|
50 |
+
<element name="grouped_parent_product_ids" type="typens:ArrayOfString"/>
|
51 |
+
<element name="configurable_child_product_ids" type="typens:ArrayOfString"/>
|
52 |
+
<element name="grouped_child_product_ids" type="typens:ArrayOfString"/>
|
53 |
+
<element name="parent_sku" type="xsd:string" minOccurs="0"/>
|
54 |
+
<element name="url_complete" type="xsd:string" minOccurs="0"/>
|
55 |
+
<element name="configurable_products_data" type="typens:childrenEntityArray" minOccurs="0"/>
|
56 |
+
<element name="configurable_attributes_data" type="typens:configurableOptionsEntityArray"
|
57 |
+
minOccurs="0"/>
|
58 |
+
<element name="stock_data" type="typens:catalogInventoryStockItemEntityArray" minOccurs="0"/>
|
59 |
+
<element name="images" type="typens:catalogProductImageEntityArray" minOccurs="0"/>
|
60 |
+
</all>
|
61 |
+
</complexType>
|
62 |
+
<complexType name="channelintegrationOrderListEntity">
|
63 |
+
<all>
|
64 |
+
<element name="increment_id" type="xsd:string" minOccurs="0"/>
|
65 |
+
<element name="store_id" type="xsd:string" minOccurs="0"/>
|
66 |
+
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
67 |
+
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
68 |
+
<element name="customer_id" type="xsd:string" minOccurs="0"/>
|
69 |
+
<element name="tax_amount" type="xsd:string" minOccurs="0"/>
|
70 |
+
<element name="shipping_amount" type="xsd:string" minOccurs="0"/>
|
71 |
+
<element name="discount_amount" type="xsd:string" minOccurs="0"/>
|
72 |
+
<element name="subtotal" type="xsd:string" minOccurs="0"/>
|
73 |
+
<element name="grand_total" type="xsd:string" minOccurs="0"/>
|
74 |
+
<element name="total_paid" type="xsd:string" minOccurs="0"/>
|
75 |
+
<element name="total_refunded" type="xsd:string" minOccurs="0"/>
|
76 |
+
<element name="total_qty_ordered" type="xsd:string" minOccurs="0"/>
|
77 |
+
<element name="total_canceled" type="xsd:string" minOccurs="0"/>
|
78 |
+
<element name="total_invoiced" type="xsd:string" minOccurs="0"/>
|
79 |
+
<element name="total_online_refunded" type="xsd:string" minOccurs="0"/>
|
80 |
+
<element name="total_offline_refunded" type="xsd:string" minOccurs="0"/>
|
81 |
+
<element name="base_tax_amount" type="xsd:string" minOccurs="0"/>
|
82 |
+
<element name="base_shipping_amount" type="xsd:string" minOccurs="0"/>
|
83 |
+
<element name="base_discount_amount" type="xsd:string" minOccurs="0"/>
|
84 |
+
<element name="base_subtotal" type="xsd:string" minOccurs="0"/>
|
85 |
+
<element name="base_grand_total" type="xsd:string" minOccurs="0"/>
|
86 |
+
<element name="base_total_paid" type="xsd:string" minOccurs="0"/>
|
87 |
+
<element name="base_total_refunded" type="xsd:string" minOccurs="0"/>
|
88 |
+
<element name="base_total_qty_ordered" type="xsd:string" minOccurs="0"/>
|
89 |
+
<element name="base_total_canceled" type="xsd:string" minOccurs="0"/>
|
90 |
+
<element name="base_total_invoiced" type="xsd:string" minOccurs="0"/>
|
91 |
+
<element name="base_total_online_refunded" type="xsd:string" minOccurs="0"/>
|
92 |
+
<element name="base_total_offline_refunded" type="xsd:string" minOccurs="0"/>
|
93 |
+
<element name="billing_address_id" type="xsd:string" minOccurs="0"/>
|
94 |
+
<element name="billing_firstname" type="xsd:string" minOccurs="0"/>
|
95 |
+
<element name="billing_lastname" type="xsd:string" minOccurs="0"/>
|
96 |
+
<element name="shipping_address_id" type="xsd:string" minOccurs="0"/>
|
97 |
+
<element name="shipping_firstname" type="xsd:string" minOccurs="0"/>
|
98 |
+
<element name="shipping_lastname" type="xsd:string" minOccurs="0"/>
|
99 |
+
<element name="billing_name" type="xsd:string" minOccurs="0"/>
|
100 |
+
<element name="shipping_name" type="xsd:string" minOccurs="0"/>
|
101 |
+
<element name="store_to_base_rate" type="xsd:string" minOccurs="0"/>
|
102 |
+
<element name="store_to_order_rate" type="xsd:string" minOccurs="0"/>
|
103 |
+
<element name="base_to_global_rate" type="xsd:string" minOccurs="0"/>
|
104 |
+
<element name="base_to_order_rate" type="xsd:string" minOccurs="0"/>
|
105 |
+
<element name="weight" type="xsd:string" minOccurs="0"/>
|
106 |
+
<element name="store_name" type="xsd:string" minOccurs="0"/>
|
107 |
+
<element name="remote_ip" type="xsd:string" minOccurs="0"/>
|
108 |
+
<element name="status" type="xsd:string" minOccurs="0"/>
|
109 |
+
<element name="state" type="xsd:string" minOccurs="0"/>
|
110 |
+
<element name="applied_rule_ids" type="xsd:string" minOccurs="0"/>
|
111 |
+
<element name="global_currency_code" type="xsd:string" minOccurs="0"/>
|
112 |
+
<element name="base_currency_code" type="xsd:string" minOccurs="0"/>
|
113 |
+
<element name="store_currency_code" type="xsd:string" minOccurs="0"/>
|
114 |
+
<element name="order_currency_code" type="xsd:string" minOccurs="0"/>
|
115 |
+
<element name="shipping_method" type="xsd:string" minOccurs="0"/>
|
116 |
+
<element name="shipping_description" type="xsd:string" minOccurs="0"/>
|
117 |
+
<element name="customer_email" type="xsd:string" minOccurs="0"/>
|
118 |
+
<element name="customer_firstname" type="xsd:string" minOccurs="0"/>
|
119 |
+
<element name="customer_lastname" type="xsd:string" minOccurs="0"/>
|
120 |
+
<element name="quote_id" type="xsd:string" minOccurs="0"/>
|
121 |
+
<element name="is_virtual" type="xsd:string" minOccurs="0"/>
|
122 |
+
<element name="customer_group_id" type="xsd:string" minOccurs="0"/>
|
123 |
+
<element name="customer_note_notify" type="xsd:string" minOccurs="0"/>
|
124 |
+
<element name="customer_is_guest" type="xsd:string" minOccurs="0"/>
|
125 |
+
<element name="email_sent" type="xsd:string" minOccurs="0"/>
|
126 |
+
<element name="order_id" type="xsd:string" minOccurs="0"/>
|
127 |
+
<element name="gift_message_id" type="xsd:string" minOccurs="0"/>
|
128 |
+
<element name="coupon_code" type="xsd:string" minOccurs="0"/>
|
129 |
+
<element name="protect_code" type="xsd:string" minOccurs="0"/>
|
130 |
+
<element name="base_discount_canceled" type="xsd:string" minOccurs="0"/>
|
131 |
+
<element name="base_discount_invoiced" type="xsd:string" minOccurs="0"/>
|
132 |
+
<element name="base_discount_refunded" type="xsd:string" minOccurs="0"/>
|
133 |
+
<element name="base_shipping_canceled" type="xsd:string" minOccurs="0"/>
|
134 |
+
<element name="base_shipping_invoiced" type="xsd:string" minOccurs="0"/>
|
135 |
+
<element name="base_shipping_refunded" type="xsd:string" minOccurs="0"/>
|
136 |
+
<element name="base_shipping_tax_amount" type="xsd:string" minOccurs="0"/>
|
137 |
+
<element name="base_shipping_tax_refunded" type="xsd:string" minOccurs="0"/>
|
138 |
+
<element name="base_subtotal_canceled" type="xsd:string" minOccurs="0"/>
|
139 |
+
<element name="base_subtotal_invoiced" type="xsd:string" minOccurs="0"/>
|
140 |
+
<element name="base_subtotal_refunded" type="xsd:string" minOccurs="0"/>
|
141 |
+
<element name="base_tax_canceled" type="xsd:string" minOccurs="0"/>
|
142 |
+
<element name="base_tax_invoiced" type="xsd:string" minOccurs="0"/>
|
143 |
+
<element name="base_tax_refunded" type="xsd:string" minOccurs="0"/>
|
144 |
+
<element name="base_total_invoiced_cost" type="xsd:string" minOccurs="0"/>
|
145 |
+
<element name="discount_canceled" type="xsd:string" minOccurs="0"/>
|
146 |
+
<element name="discount_invoiced" type="xsd:string" minOccurs="0"/>
|
147 |
+
<element name="discount_refunded" type="xsd:string" minOccurs="0"/>
|
148 |
+
<element name="shipping_canceled" type="xsd:string" minOccurs="0"/>
|
149 |
+
<element name="shipping_invoiced" type="xsd:string" minOccurs="0"/>
|
150 |
+
<element name="shipping_refunded" type="xsd:string" minOccurs="0"/>
|
151 |
+
<element name="shipping_tax_amount" type="xsd:string" minOccurs="0"/>
|
152 |
+
<element name="shipping_tax_refunded" type="xsd:string" minOccurs="0"/>
|
153 |
+
<element name="subtotal_canceled" type="xsd:string" minOccurs="0"/>
|
154 |
+
<element name="subtotal_invoiced" type="xsd:string" minOccurs="0"/>
|
155 |
+
<element name="subtotal_refunded" type="xsd:string" minOccurs="0"/>
|
156 |
+
<element name="tax_canceled" type="xsd:string" minOccurs="0"/>
|
157 |
+
<element name="tax_invoiced" type="xsd:string" minOccurs="0"/>
|
158 |
+
<element name="tax_refunded" type="xsd:string" minOccurs="0"/>
|
159 |
+
<element name="can_ship_partially" type="xsd:string" minOccurs="0"/>
|
160 |
+
<element name="can_ship_partially_item" type="xsd:string" minOccurs="0"/>
|
161 |
+
<element name="edit_increment" type="xsd:string" minOccurs="0"/>
|
162 |
+
<element name="forced_do_shipment_with_invoice" type="xsd:string" minOccurs="0"/>
|
163 |
+
<element name="payment_authorization_expiration" type="xsd:string" minOccurs="0"/>
|
164 |
+
<element name="paypal_ipn_customer_notified" type="xsd:string" minOccurs="0"/>
|
165 |
+
<element name="quote_address_id" type="xsd:string" minOccurs="0"/>
|
166 |
+
<element name="adjustment_negative" type="xsd:string" minOccurs="0"/>
|
167 |
+
<element name="adjustment_positive" type="xsd:string" minOccurs="0"/>
|
168 |
+
<element name="base_adjustment_negative" type="xsd:string" minOccurs="0"/>
|
169 |
+
<element name="base_adjustment_positive" type="xsd:string" minOccurs="0"/>
|
170 |
+
<element name="base_shipping_discount_amount" type="xsd:string" minOccurs="0"/>
|
171 |
+
<element name="base_subtotal_incl_tax" type="xsd:string" minOccurs="0"/>
|
172 |
+
<element name="base_total_due" type="xsd:string" minOccurs="0"/>
|
173 |
+
<element name="payment_authorization_amount" type="xsd:string" minOccurs="0"/>
|
174 |
+
<element name="shipping_discount_amount" type="xsd:string" minOccurs="0"/>
|
175 |
+
<element name="subtotal_incl_tax" type="xsd:string" minOccurs="0"/>
|
176 |
+
<element name="total_due" type="xsd:string" minOccurs="0"/>
|
177 |
+
<element name="customer_dob" type="xsd:string" minOccurs="0"/>
|
178 |
+
<element name="customer_middlename" type="xsd:string" minOccurs="0"/>
|
179 |
+
<element name="customer_prefix" type="xsd:string" minOccurs="0"/>
|
180 |
+
<element name="customer_suffix" type="xsd:string" minOccurs="0"/>
|
181 |
+
<element name="customer_taxvat" type="xsd:string" minOccurs="0"/>
|
182 |
+
<element name="discount_description" type="xsd:string" minOccurs="0"/>
|
183 |
+
<element name="ext_customer_id" type="xsd:string" minOccurs="0"/>
|
184 |
+
<element name="ext_order_id" type="xsd:string" minOccurs="0"/>
|
185 |
+
<element name="hold_before_state" type="xsd:string" minOccurs="0"/>
|
186 |
+
<element name="hold_before_status" type="xsd:string" minOccurs="0"/>
|
187 |
+
<element name="original_increment_id" type="xsd:string" minOccurs="0"/>
|
188 |
+
<element name="relation_child_id" type="xsd:string" minOccurs="0"/>
|
189 |
+
<element name="relation_child_real_id" type="xsd:string" minOccurs="0"/>
|
190 |
+
<element name="relation_parent_id" type="xsd:string" minOccurs="0"/>
|
191 |
+
<element name="relation_parent_real_id" type="xsd:string" minOccurs="0"/>
|
192 |
+
<element name="x_forwarded_for" type="xsd:string" minOccurs="0"/>
|
193 |
+
<element name="customer_note" type="xsd:string" minOccurs="0"/>
|
194 |
+
<element name="total_item_count" type="xsd:string" minOccurs="0"/>
|
195 |
+
<element name="customer_gender" type="xsd:string" minOccurs="0"/>
|
196 |
+
<element name="hidden_tax_amount" type="xsd:string" minOccurs="0"/>
|
197 |
+
<element name="base_hidden_tax_amount" type="xsd:string" minOccurs="0"/>
|
198 |
+
<element name="shipping_hidden_tax_amount" type="xsd:string" minOccurs="0"/>
|
199 |
+
<element name="base_shipping_hidden_tax_amount" type="xsd:string" minOccurs="0"/>
|
200 |
+
<element name="hidden_tax_invoiced" type="xsd:string" minOccurs="0"/>
|
201 |
+
<element name="base_hidden_tax_invoiced" type="xsd:string" minOccurs="0"/>
|
202 |
+
<element name="hidden_tax_refunded" type="xsd:string" minOccurs="0"/>
|
203 |
+
<element name="base_hidden_tax_refunded" type="xsd:string" minOccurs="0"/>
|
204 |
+
<element name="shipping_incl_tax" type="xsd:string" minOccurs="0"/>
|
205 |
+
<element name="base_shipping_incl_tax" type="xsd:string" minOccurs="0"/>
|
206 |
+
<element name="base_customer_balance_amount" type="xsd:string" minOccurs="0"/>
|
207 |
+
<element name="customer_balance_amount" type="xsd:string" minOccurs="0"/>
|
208 |
+
<element name="base_customer_balance_invoiced" type="xsd:string" minOccurs="0"/>
|
209 |
+
<element name="customer_balance_invoiced" type="xsd:string" minOccurs="0"/>
|
210 |
+
<element name="base_customer_balance_refunded" type="xsd:string" minOccurs="0"/>
|
211 |
+
<element name="customer_balance_refunded" type="xsd:string" minOccurs="0"/>
|
212 |
+
<element name="base_customer_balance_total_refunded" type="xsd:string" minOccurs="0"/>
|
213 |
+
<element name="customer_balance_total_refunded" type="xsd:string" minOccurs="0"/>
|
214 |
+
<element name="gift_cards" type="xsd:string" minOccurs="0"/>
|
215 |
+
<element name="base_gift_cards_amount" type="xsd:string" minOccurs="0"/>
|
216 |
+
<element name="gift_cards_amount" type="xsd:string" minOccurs="0"/>
|
217 |
+
<element name="base_gift_cards_invoiced" type="xsd:string" minOccurs="0"/>
|
218 |
+
<element name="gift_cards_invoiced" type="xsd:string" minOccurs="0"/>
|
219 |
+
<element name="base_gift_cards_refunded" type="xsd:string" minOccurs="0"/>
|
220 |
+
<element name="gift_cards_refunded" type="xsd:string" minOccurs="0"/>
|
221 |
+
<element name="reward_points_balance" type="xsd:string" minOccurs="0"/>
|
222 |
+
<element name="base_reward_currency_amount" type="xsd:string" minOccurs="0"/>
|
223 |
+
<element name="reward_currency_amount" type="xsd:string" minOccurs="0"/>
|
224 |
+
<element name="base_reward_currency_amount_invoiced" type="xsd:string" minOccurs="0"/>
|
225 |
+
<element name="reward_currency_amount_invoiced" type="xsd:string" minOccurs="0"/>
|
226 |
+
<element name="base_reward_currency_amount_refunded" type="xsd:string" minOccurs="0"/>
|
227 |
+
<element name="reward_currency_amount_refunded" type="xsd:string" minOccurs="0"/>
|
228 |
+
<element name="reward_points_balance_refunded" type="xsd:string" minOccurs="0"/>
|
229 |
+
<element name="reward_points_balance_to_refund" type="xsd:string" minOccurs="0"/>
|
230 |
+
<element name="reward_salesrule_points" type="xsd:string" minOccurs="0"/>
|
231 |
+
<element name="firstname" type="xsd:string" minOccurs="0"/>
|
232 |
+
<element name="lastname" type="xsd:string" minOccurs="0"/>
|
233 |
+
<element name="telephone" type="xsd:string" minOccurs="0"/>
|
234 |
+
<element name="postcode" type="xsd:string" minOccurs="0"/>
|
235 |
+
<element name="shipping_address" type="typens:salesOrderAddressEntity" minOccurs="0"/>
|
236 |
+
<element name="billing_address" type="typens:salesOrderAddressEntity" minOccurs="0"/>
|
237 |
+
<element name="items" type="typens:salesOrderItemEntityArray" minOccurs="0"/>
|
238 |
+
<element name="payment" type="typens:salesOrderPaymentEntity" minOccurs="0"/>
|
239 |
+
<element name="status_history" type="typens:salesOrderStatusHistoryEntityArray" minOccurs="0"/>
|
240 |
+
</all>
|
241 |
+
</complexType>
|
242 |
+
<complexType name="childrenEntityArray">
|
243 |
+
<complexContent>
|
244 |
+
<restriction base="soapenc:Array">
|
245 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:childrenEntity[]"/>
|
246 |
+
</restriction>
|
247 |
+
</complexContent>
|
248 |
+
</complexType>
|
249 |
+
<complexType name="childrenEntity">
|
250 |
+
<all>
|
251 |
+
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
252 |
+
<element name="sku" type="xsd:string" minOccurs="0"/>
|
253 |
+
<element name="options" type="typens:optionsEntityArray" minOccurs="0"/>
|
254 |
+
</all>
|
255 |
+
</complexType>
|
256 |
+
<complexType name="configurableOptionsEntityArray">
|
257 |
+
<complexContent>
|
258 |
+
<restriction base="soapenc:Array">
|
259 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:configurableOptionsEntity[]"/>
|
260 |
+
</restriction>
|
261 |
+
</complexContent>
|
262 |
+
</complexType>
|
263 |
+
<complexType name="configurableOptionsEntity">
|
264 |
+
<all>
|
265 |
+
<element name="code" type="xsd:string" minOccurs="0"/>
|
266 |
+
<element name="options" type="typens:optionsEntityArray" minOccurs="0"/>
|
267 |
+
</all>
|
268 |
+
</complexType>
|
269 |
+
<complexType name="optionsEntityArray">
|
270 |
+
<complexContent>
|
271 |
+
<restriction base="soapenc:Array">
|
272 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:optionsEntity[]"/>
|
273 |
+
</restriction>
|
274 |
+
</complexContent>
|
275 |
+
</complexType>
|
276 |
+
<complexType name="optionsEntity">
|
277 |
+
<all>
|
278 |
+
<element name="product_super_attribute_id" type="xsd:string" minOccurs="0"/>
|
279 |
+
<element name="value_index" type="xsd:string" minOccurs="0"/>
|
280 |
+
<element name="value_text" type="xsd:string" minOccurs="0"/>
|
281 |
+
<element name="label" type="xsd:string" minOccurs="0"/>
|
282 |
+
<element name="default_label" type="xsd:string" minOccurs="0"/>
|
283 |
+
<element name="store_label" type="xsd:string" minOccurs="0"/>
|
284 |
+
<element name="is_percent" type="xsd:int" minOccurs="0"/>
|
285 |
+
<element name="pricing_value" type="xsd:double" minOccurs="0"/>
|
286 |
+
<element name="use_default_value" type="xsd:boolean" minOccurs="0"/>
|
287 |
+
<element name="attribute_code" type="xsd:string" minOccurs="0"/>
|
288 |
+
</all>
|
289 |
+
</complexType>
|
290 |
+
<complexType name="channelintegrationProductListEntityArray">
|
291 |
+
<complexContent>
|
292 |
+
<restriction base="soapenc:Array">
|
293 |
+
<attribute ref="soapenc:arrayType"
|
294 |
+
wsdl:arrayType="typens:channelintegrationProductListEntity[]"/>
|
295 |
+
</restriction>
|
296 |
+
</complexContent>
|
297 |
+
</complexType>
|
298 |
+
<complexType name="channelintegrationOrderListEntityArray">
|
299 |
+
<complexContent>
|
300 |
+
<restriction base="soapenc:Array">
|
301 |
+
<attribute ref="soapenc:arrayType"
|
302 |
+
wsdl:arrayType="typens:channelintegrationOrderListEntity[]"/>
|
303 |
+
</restriction>
|
304 |
+
</complexContent>
|
305 |
+
</complexType>
|
306 |
+
<complexType name="channelintegrationProductInfoEntity">
|
307 |
+
<all>
|
308 |
+
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
309 |
+
<element name="sku" type="xsd:string" minOccurs="0"/>
|
310 |
+
<element name="set" type="xsd:string" minOccurs="0"/>
|
311 |
+
<element name="type" type="xsd:string" minOccurs="0"/>
|
312 |
+
<element name="categories" type="typens:ArrayOfString" minOccurs="0"/>
|
313 |
+
<element name="websites" type="typens:ArrayOfString" minOccurs="0"/>
|
314 |
+
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
315 |
+
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
316 |
+
<element name="type_id" type="xsd:string" minOccurs="0"/>
|
317 |
+
<element name="name" type="xsd:string" minOccurs="0"/>
|
318 |
+
<element name="description" type="xsd:string" minOccurs="0"/>
|
319 |
+
<element name="short_description" type="xsd:string" minOccurs="0"/>
|
320 |
+
<element name="weight" type="xsd:string" minOccurs="0"/>
|
321 |
+
<element name="status" type="xsd:string" minOccurs="0"/>
|
322 |
+
<element name="url_key" type="xsd:string" minOccurs="0"/>
|
323 |
+
<element name="url_path" type="xsd:string" minOccurs="0"/>
|
324 |
+
<element name="visibility" type="xsd:string" minOccurs="0"/>
|
325 |
+
<element name="category_ids" type="typens:ArrayOfString" minOccurs="0"/>
|
326 |
+
<element name="website_ids" type="typens:ArrayOfString" minOccurs="0"/>
|
327 |
+
<element name="has_options" type="xsd:string" minOccurs="0"/>
|
328 |
+
<element name="gift_message_available" type="xsd:string" minOccurs="0"/>
|
329 |
+
<element name="price" type="xsd:string" minOccurs="0"/>
|
330 |
+
<element name="special_price" type="xsd:string" minOccurs="0"/>
|
331 |
+
<element name="special_from_date" type="xsd:string" minOccurs="0"/>
|
332 |
+
<element name="special_to_date" type="xsd:string" minOccurs="0"/>
|
333 |
+
<element name="tax_class_id" type="xsd:string" minOccurs="0"/>
|
334 |
+
<element name="tier_price" type="typens:catalogProductTierPriceEntityArray" minOccurs="0"/>
|
335 |
+
<element name="meta_title" type="xsd:string" minOccurs="0"/>
|
336 |
+
<element name="meta_keyword" type="xsd:string" minOccurs="0"/>
|
337 |
+
<element name="meta_description" type="xsd:string" minOccurs="0"/>
|
338 |
+
<element name="custom_design" type="xsd:string" minOccurs="0"/>
|
339 |
+
<element name="custom_layout_update" type="xsd:string" minOccurs="0"/>
|
340 |
+
<element name="options_container" type="xsd:string" minOccurs="0"/>
|
341 |
+
<element name="image_url" type="xsd:string" minOccurs="0"/>
|
342 |
+
<element name="qty" type="xsd:string" minOccurs="0"/>
|
343 |
+
<element name="additional_attributes" type="typens:associativeArray" minOccurs="0"/>
|
344 |
+
<element name="configurable_parent_product_ids" type="typens:ArrayOfString"/>
|
345 |
+
<element name="grouped_parent_product_ids" type="typens:ArrayOfString"/>
|
346 |
+
<element name="configurable_child_product_ids" type="typens:ArrayOfString"/>
|
347 |
+
<element name="grouped_child_product_ids" type="typens:ArrayOfString"/>
|
348 |
+
<element name="parent_sku" type="xsd:string" minOccurs="0"/>
|
349 |
+
<element name="url_complete" type="xsd:string" minOccurs="0"/>
|
350 |
+
<element name="configurable_products_data" type="typens:childrenEntityArray" minOccurs="0"/>
|
351 |
+
<element name="configurable_attributes_data" type="typens:configurableOptionsEntityArray"
|
352 |
+
minOccurs="0"/>
|
353 |
+
<element name="stock_data" type="typens:catalogInventoryStockItemEntityArray" minOccurs="0"/>
|
354 |
+
<element name="images" type="typens:catalogProductImageEntityArray" minOccurs="0"/>
|
355 |
+
</all>
|
356 |
+
</complexType>
|
357 |
+
<complexType name="channelintegrationInfoServerEntity">
|
358 |
+
<all>
|
359 |
+
<element name="php_info_json" type="xsd:string" minOccurs="0"/>
|
360 |
+
</all>
|
361 |
+
</complexType>
|
362 |
+
</schema>
|
363 |
+
</types>
|
364 |
+
|
365 |
+
<message name="channelintegrationProductListRequest">
|
366 |
+
<part name="sessionId" type="xsd:string"/>
|
367 |
+
<part name="filters" type="typens:filters"/>
|
368 |
+
</message>
|
369 |
+
<message name="channelintegrationProductListResponse">
|
370 |
+
<part name="result" type="typens:channelintegrationProductListEntityArray"/>
|
371 |
+
</message>
|
372 |
+
<message name="channelintegrationProductInfoRequest">
|
373 |
+
<part name="sessionId" type="xsd:string"/>
|
374 |
+
<part name="productId" type="xsd:string"/>
|
375 |
+
</message>
|
376 |
+
<message name="channelintegrationProductInfoResponse">
|
377 |
+
<part name="result" type="typens:channelintegrationProductInfoEntity"/>
|
378 |
+
</message>
|
379 |
+
|
380 |
+
<message name="channelintegrationOrderListRequest">
|
381 |
+
<part name="sessionId" type="xsd:string"/>
|
382 |
+
<part name="filters" type="typens:filters"/>
|
383 |
+
</message>
|
384 |
+
<message name="channelintegrationOrderListResponse">
|
385 |
+
<part name="result" type="typens:channelintegrationOrderListEntityArray"/>
|
386 |
+
</message>
|
387 |
+
<message name="channelintegrationOrderInfoRequest">
|
388 |
+
<part name="sessionId" type="xsd:string"/>
|
389 |
+
<part name="orderId" type="xsd:string"/>
|
390 |
+
</message>
|
391 |
+
<message name="channelintegrationOrderInfoResponse">
|
392 |
+
<part name="result" type="typens:channelintegrationOrderInfoEntity"/>
|
393 |
+
</message>
|
394 |
+
|
395 |
+
<message name="channelintegrationInfoServerRequest">
|
396 |
+
<part name="sessionId" type="xsd:string"/>
|
397 |
+
</message>
|
398 |
+
<message name="channelintegrationInfoServerResponse">
|
399 |
+
<part name="result" type="typens:channelintegrationInfoServerEntity"/>
|
400 |
+
</message>
|
401 |
+
|
402 |
+
<portType name="{{var wsdl.handler}}PortType">
|
403 |
+
<operation name="channelintegrationProductList">
|
404 |
+
<documentation>Retrieve list of Products</documentation>
|
405 |
+
<input message="typens:channelintegrationProductListRequest"/>
|
406 |
+
<output message="typens:channelintegrationProductListResponse"/>
|
407 |
+
</operation>
|
408 |
+
<operation name="channelintegrationProductInfo">
|
409 |
+
<documentation>Retrieve Product info</documentation>
|
410 |
+
<input message="typens:channelintegrationProductInfoRequest"/>
|
411 |
+
<output message="typens:channelintegrationProductInfoResponse"/>
|
412 |
+
</operation>
|
413 |
+
|
414 |
+
<operation name="channelintegrationOrderList">
|
415 |
+
<documentation>Retrieve list of Orders</documentation>
|
416 |
+
<input message="typens:channelintegrationOrderListRequest"/>
|
417 |
+
<output message="typens:channelintegrationOrderListResponse"/>
|
418 |
+
</operation>
|
419 |
+
<operation name="channelintegrationOrderInfo">
|
420 |
+
<documentation>Retrieve Order info</documentation>
|
421 |
+
<input message="typens:channelintegrationOrderInfoRequest"/>
|
422 |
+
<output message="typens:channelintegrationOrderInfoResponse"/>
|
423 |
+
</operation>
|
424 |
+
<operation name="channelintegrationInfoServer">
|
425 |
+
<documentation>Retrieve server info</documentation>
|
426 |
+
<input message="typens:channelintegrationInfoServerRequest"/>
|
427 |
+
<output message="typens:channelintegrationInfoServerResponse"/>
|
428 |
+
</operation>
|
429 |
+
</portType>
|
430 |
+
|
431 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
432 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
433 |
+
<operation name="channelintegrationProductList">
|
434 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
435 |
+
<input>
|
436 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
437 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
438 |
+
</input>
|
439 |
+
<output>
|
440 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
441 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
442 |
+
</output>
|
443 |
+
</operation>
|
444 |
+
<operation name="channelintegrationProductInfo">
|
445 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
446 |
+
<input>
|
447 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
448 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
449 |
+
</input>
|
450 |
+
<output>
|
451 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
452 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
453 |
+
</output>
|
454 |
+
</operation>
|
455 |
+
|
456 |
+
<operation name="channelintegrationOrderList">
|
457 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
458 |
+
<input>
|
459 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
460 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
461 |
+
</input>
|
462 |
+
<output>
|
463 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
464 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
465 |
+
</output>
|
466 |
+
</operation>
|
467 |
+
<operation name="channelintegrationOrderInfo">
|
468 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
469 |
+
<input>
|
470 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
471 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
472 |
+
</input>
|
473 |
+
<output>
|
474 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
475 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
476 |
+
</output>
|
477 |
+
</operation>
|
478 |
+
|
479 |
+
<operation name="channelintegrationInfoServer">
|
480 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
481 |
+
<input>
|
482 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
483 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
484 |
+
</input>
|
485 |
+
<output>
|
486 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
487 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
488 |
+
</output>
|
489 |
+
</operation>
|
490 |
+
</binding>
|
491 |
+
|
492 |
+
<service name="{{var wsdl.name}}Service">
|
493 |
+
<port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">
|
494 |
+
<soap:address location="{{var wsdl.url}}"/>
|
495 |
+
</port>
|
496 |
+
</service>
|
497 |
+
</definitions>
|
app/code/community/StitchLabs/ChannelIntegration/etc/wsi.xml
CHANGED
@@ -1,243 +1,243 @@
|
|
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:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
6 |
-
name="{{var wsdl.name}}"
|
7 |
-
targetNamespace="urn:{{var wsdl.name}}">
|
8 |
-
<wsdl:types>
|
9 |
-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:{{var wsdl.name}}">
|
10 |
-
<xsd:complexType name="channelintegrationProductEntityArray">
|
11 |
-
<xsd:sequence>
|
12 |
-
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray"
|
13 |
-
type="typens:channelintegrationProductEntity"/>
|
14 |
-
</xsd:sequence>
|
15 |
-
</xsd:complexType>
|
16 |
-
<xsd:complexType name="channelintegrationProductEntity">
|
17 |
-
<xsd:sequence>
|
18 |
-
<xsd:element name="entity_id" type="xsd:string"/>
|
19 |
-
<xsd:element name="tattribute" type="xsd:string"/>
|
20 |
-
<xsd:element name="status" type="xsd:string"/>
|
21 |
-
|
22 |
-
<xsd:element name="created_at" type="xsd:string"/>
|
23 |
-
<xsd:element name="updated_at" type="xsd:string"/>
|
24 |
-
</xsd:sequence>
|
25 |
-
</xsd:complexType>
|
26 |
-
<xsd:complexType name="channelintegrationProductAddEntity">
|
27 |
-
<xsd:sequence>
|
28 |
-
<xsd:element name="tattribute" type="xsd:string"/>
|
29 |
-
<xsd:element name="status" type="xsd:string"/>
|
30 |
-
|
31 |
-
</xsd:sequence>
|
32 |
-
</xsd:complexType>
|
33 |
-
<xsd:complexType name="channelintegrationProductUpdateEntity">
|
34 |
-
<xsd:sequence>
|
35 |
-
<xsd:element name="tattribute" type="xsd:string"/>
|
36 |
-
<xsd:element name="status" type="xsd:string"/>
|
37 |
-
|
38 |
-
</xsd:sequence>
|
39 |
-
</xsd:complexType>
|
40 |
-
<xsd:complexType name="channelintegrationProductInfoEntity">
|
41 |
-
<xsd:sequence>
|
42 |
-
<xsd:element name="entity_id" type="xsd:string"/>
|
43 |
-
<xsd:element name="tattribute" type="xsd:string"/>
|
44 |
-
<xsd:element name="status" type="xsd:string"/>
|
45 |
-
|
46 |
-
<xsd:element name="created_at" type="xsd:string"/>
|
47 |
-
<xsd:element name="updated_at" type="xsd:string"/>
|
48 |
-
</xsd:sequence>
|
49 |
-
</xsd:complexType>
|
50 |
-
|
51 |
-
<xsd:element name="channelintegrationProductListRequestParam">
|
52 |
-
<xsd:complexType>
|
53 |
-
<xsd:sequence>
|
54 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
55 |
-
<xsd:element minOccurs="0" maxOccurs="1" name="filters" type="typens:filters"/>
|
56 |
-
</xsd:sequence>
|
57 |
-
</xsd:complexType>
|
58 |
-
</xsd:element>
|
59 |
-
<xsd:element name="channelintegrationProductListResponseParam">
|
60 |
-
<xsd:complexType>
|
61 |
-
<xsd:sequence>
|
62 |
-
<xsd:element minOccurs="0" maxOccurs="1" name="result"
|
63 |
-
type="typens:channelintegrationProductEntityArray"/>
|
64 |
-
</xsd:sequence>
|
65 |
-
</xsd:complexType>
|
66 |
-
</xsd:element>
|
67 |
-
<xsd:element name="channelintegrationProductInfoRequestParam">
|
68 |
-
<xsd:complexType>
|
69 |
-
<xsd:sequence>
|
70 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
71 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="productId" type="xsd:string"/>
|
72 |
-
</xsd:sequence>
|
73 |
-
</xsd:complexType>
|
74 |
-
</xsd:element>
|
75 |
-
<xsd:element name="channelintegrationProductInfoResponseParam">
|
76 |
-
<xsd:complexType>
|
77 |
-
<xsd:sequence>
|
78 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="result"
|
79 |
-
type="typens:channelintegrationProductInfoEntity"/>
|
80 |
-
</xsd:sequence>
|
81 |
-
</xsd:complexType>
|
82 |
-
</xsd:element>
|
83 |
-
<xsd:element name="channelintegrationProductAddRequestParam">
|
84 |
-
<xsd:complexType>
|
85 |
-
<xsd:sequence>
|
86 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
87 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="data"
|
88 |
-
type="typens:channelintegrationProductAddEntity"/>
|
89 |
-
</xsd:sequence>
|
90 |
-
</xsd:complexType>
|
91 |
-
</xsd:element>
|
92 |
-
<xsd:element name="channelintegrationProductAddResponseParam">
|
93 |
-
<xsd:complexType>
|
94 |
-
<xsd:sequence>
|
95 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:int"/>
|
96 |
-
</xsd:sequence>
|
97 |
-
</xsd:complexType>
|
98 |
-
</xsd:element>
|
99 |
-
<xsd:element name="channelintegrationProductUpdateRequestParam">
|
100 |
-
<xsd:complexType>
|
101 |
-
<xsd:sequence>
|
102 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
103 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="productId" type="xsd:string"/>
|
104 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="data"
|
105 |
-
type="typens:channelintegrationProductUpdateEntity"/>
|
106 |
-
</xsd:sequence>
|
107 |
-
</xsd:complexType>
|
108 |
-
</xsd:element>
|
109 |
-
<xsd:element name="channelintegrationProductUpdateResponseParam">
|
110 |
-
<xsd:complexType>
|
111 |
-
<xsd:sequence>
|
112 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:boolean"/>
|
113 |
-
</xsd:sequence>
|
114 |
-
</xsd:complexType>
|
115 |
-
</xsd:element>
|
116 |
-
<xsd:element name="channelintegrationProductRemoveRequestParam">
|
117 |
-
<xsd:complexType>
|
118 |
-
<xsd:sequence>
|
119 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
120 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="productId" type="xsd:string"/>
|
121 |
-
</xsd:sequence>
|
122 |
-
</xsd:complexType>
|
123 |
-
</xsd:element>
|
124 |
-
<xsd:element name="channelintegrationProductRemoveResponseParam">
|
125 |
-
<xsd:complexType>
|
126 |
-
<xsd:sequence>
|
127 |
-
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:boolean"/>
|
128 |
-
</xsd:sequence>
|
129 |
-
</xsd:complexType>
|
130 |
-
</xsd:element>
|
131 |
-
</xsd:schema>
|
132 |
-
</wsdl:types>
|
133 |
-
<wsdl:message name="channelintegrationProductListRequest">
|
134 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductListRequestParam"/>
|
135 |
-
</wsdl:message>
|
136 |
-
<wsdl:message name="channelintegrationProductListResponse">
|
137 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductListResponseParam"/>
|
138 |
-
</wsdl:message>
|
139 |
-
<wsdl:message name="channelintegrationProductInfoRequest">
|
140 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductInfoRequestParam"/>
|
141 |
-
</wsdl:message>
|
142 |
-
<wsdl:message name="channelintegrationProductInfoResponse">
|
143 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductInfoResponseParam"/>
|
144 |
-
</wsdl:message>
|
145 |
-
<wsdl:message name="channelintegrationProductAddRequest">
|
146 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductAddRequestParam"/>
|
147 |
-
</wsdl:message>
|
148 |
-
<wsdl:message name="channelintegrationProductAddResponse">
|
149 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductAddResponseParam"/>
|
150 |
-
</wsdl:message>
|
151 |
-
<wsdl:message name="channelintegrationProductUpdateRequest">
|
152 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductUpdateRequestParam"/>
|
153 |
-
</wsdl:message>
|
154 |
-
<wsdl:message name="channelintegrationProductUpdateResponse">
|
155 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductUpdateResponseParam"/>
|
156 |
-
</wsdl:message>
|
157 |
-
<wsdl:message name="channelintegrationProductRemoveRequest">
|
158 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductRemoveRequestParam"/>
|
159 |
-
</wsdl:message>
|
160 |
-
<wsdl:message name="channelintegrationProductRemoveResponse">
|
161 |
-
<wsdl:part name="parameters" element="typens:channelintegrationProductRemoveResponseParam"/>
|
162 |
-
</wsdl:message>
|
163 |
-
<wsdl:portType name="{{var wsdl.handler}}PortType">
|
164 |
-
<wsdl:operation name="channelintegrationProductList">
|
165 |
-
<wsdl:documentation>Retrieve list of test_labels</wsdl:documentation>
|
166 |
-
<wsdl:input message="typens:channelintegrationProductListRequest"/>
|
167 |
-
<wsdl:output message="typens:channelintegrationProductListResponse"/>
|
168 |
-
</wsdl:operation>
|
169 |
-
<wsdl:operation name="channelintegrationProductInfo">
|
170 |
-
<wsdl:documentation>Retrieve test_label info</wsdl:documentation>
|
171 |
-
<wsdl:input message="typens:channelintegrationProductInfoRequest"/>
|
172 |
-
<wsdl:output message="typens:channelintegrationProductInfoResponse"/>
|
173 |
-
</wsdl:operation>
|
174 |
-
<wsdl:operation name="channelintegrationProductAdd">
|
175 |
-
<wsdl:documentation>Add test_label</wsdl:documentation>
|
176 |
-
<wsdl:input message="typens:channelintegrationProductAddRequest"/>
|
177 |
-
<wsdl:output message="typens:channelintegrationProductAddResponse"/>
|
178 |
-
</wsdl:operation>
|
179 |
-
<wsdl:operation name="channelintegrationProductUpdate">
|
180 |
-
<wsdl:documentation>Update test_label</wsdl:documentation>
|
181 |
-
<wsdl:input message="typens:channelintegrationProductUpdateRequest"/>
|
182 |
-
<wsdl:output message="typens:channelintegrationProductUpdateResponse"/>
|
183 |
-
</wsdl:operation>
|
184 |
-
<wsdl:operation name="channelintegrationProductRemove">
|
185 |
-
<wsdl:documentation>Remove test_label</wsdl:documentation>
|
186 |
-
<wsdl:input message="typens:channelintegrationProductRemoveRequest"/>
|
187 |
-
<wsdl:output message="typens:channelintegrationProductRemoveResponse"/>
|
188 |
-
</wsdl:operation>
|
189 |
-
</wsdl:portType>
|
190 |
-
<wsdl:binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
191 |
-
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
192 |
-
<wsdl:operation name="channelintegrationProductList">
|
193 |
-
<soap:operation soapAction=""/>
|
194 |
-
<wsdl:input>
|
195 |
-
<soap:body use="literal"/>
|
196 |
-
</wsdl:input>
|
197 |
-
<wsdl:output>
|
198 |
-
<soap:body use="literal"/>
|
199 |
-
</wsdl:output>
|
200 |
-
</wsdl:operation>
|
201 |
-
<wsdl:operation name="channelintegrationProductInfo">
|
202 |
-
<soap:operation soapAction=""/>
|
203 |
-
<wsdl:input>
|
204 |
-
<soap:body use="literal"/>
|
205 |
-
</wsdl:input>
|
206 |
-
<wsdl:output>
|
207 |
-
<soap:body use="literal"/>
|
208 |
-
</wsdl:output>
|
209 |
-
</wsdl:operation>
|
210 |
-
<wsdl:operation name="channelintegrationProductAdd">
|
211 |
-
<soap:operation soapAction=""/>
|
212 |
-
<wsdl:input>
|
213 |
-
<soap:body use="literal"/>
|
214 |
-
</wsdl:input>
|
215 |
-
<wsdl:output>
|
216 |
-
<soap:body use="literal"/>
|
217 |
-
</wsdl:output>
|
218 |
-
</wsdl:operation>
|
219 |
-
<wsdl:operation name="channelintegrationProductUpdate">
|
220 |
-
<soap:operation soapAction=""/>
|
221 |
-
<wsdl:input>
|
222 |
-
<soap:body use="literal"/>
|
223 |
-
</wsdl:input>
|
224 |
-
<wsdl:output>
|
225 |
-
<soap:body use="literal"/>
|
226 |
-
</wsdl:output>
|
227 |
-
</wsdl:operation>
|
228 |
-
<wsdl:operation name="channelintegrationProductRemove">
|
229 |
-
<soap:operation soapAction=""/>
|
230 |
-
<wsdl:input>
|
231 |
-
<soap:body use="literal"/>
|
232 |
-
</wsdl:input>
|
233 |
-
<wsdl:output>
|
234 |
-
<soap:body use="literal"/>
|
235 |
-
</wsdl:output>
|
236 |
-
</wsdl:operation>
|
237 |
-
</wsdl:binding>
|
238 |
-
<wsdl:service name="{{var wsdl.name}}Service">
|
239 |
-
<wsdl:port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">
|
240 |
-
<soap:address location="{{var wsdl.url}}"/>
|
241 |
-
</wsdl:port>
|
242 |
-
</wsdl:service>
|
243 |
-
</wsdl:definitions>
|
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:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
6 |
+
name="{{var wsdl.name}}"
|
7 |
+
targetNamespace="urn:{{var wsdl.name}}">
|
8 |
+
<wsdl:types>
|
9 |
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:{{var wsdl.name}}">
|
10 |
+
<xsd:complexType name="channelintegrationProductEntityArray">
|
11 |
+
<xsd:sequence>
|
12 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray"
|
13 |
+
type="typens:channelintegrationProductEntity"/>
|
14 |
+
</xsd:sequence>
|
15 |
+
</xsd:complexType>
|
16 |
+
<xsd:complexType name="channelintegrationProductEntity">
|
17 |
+
<xsd:sequence>
|
18 |
+
<xsd:element name="entity_id" type="xsd:string"/>
|
19 |
+
<xsd:element name="tattribute" type="xsd:string"/>
|
20 |
+
<xsd:element name="status" type="xsd:string"/>
|
21 |
+
|
22 |
+
<xsd:element name="created_at" type="xsd:string"/>
|
23 |
+
<xsd:element name="updated_at" type="xsd:string"/>
|
24 |
+
</xsd:sequence>
|
25 |
+
</xsd:complexType>
|
26 |
+
<xsd:complexType name="channelintegrationProductAddEntity">
|
27 |
+
<xsd:sequence>
|
28 |
+
<xsd:element name="tattribute" type="xsd:string"/>
|
29 |
+
<xsd:element name="status" type="xsd:string"/>
|
30 |
+
|
31 |
+
</xsd:sequence>
|
32 |
+
</xsd:complexType>
|
33 |
+
<xsd:complexType name="channelintegrationProductUpdateEntity">
|
34 |
+
<xsd:sequence>
|
35 |
+
<xsd:element name="tattribute" type="xsd:string"/>
|
36 |
+
<xsd:element name="status" type="xsd:string"/>
|
37 |
+
|
38 |
+
</xsd:sequence>
|
39 |
+
</xsd:complexType>
|
40 |
+
<xsd:complexType name="channelintegrationProductInfoEntity">
|
41 |
+
<xsd:sequence>
|
42 |
+
<xsd:element name="entity_id" type="xsd:string"/>
|
43 |
+
<xsd:element name="tattribute" type="xsd:string"/>
|
44 |
+
<xsd:element name="status" type="xsd:string"/>
|
45 |
+
|
46 |
+
<xsd:element name="created_at" type="xsd:string"/>
|
47 |
+
<xsd:element name="updated_at" type="xsd:string"/>
|
48 |
+
</xsd:sequence>
|
49 |
+
</xsd:complexType>
|
50 |
+
|
51 |
+
<xsd:element name="channelintegrationProductListRequestParam">
|
52 |
+
<xsd:complexType>
|
53 |
+
<xsd:sequence>
|
54 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
55 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="filters" type="typens:filters"/>
|
56 |
+
</xsd:sequence>
|
57 |
+
</xsd:complexType>
|
58 |
+
</xsd:element>
|
59 |
+
<xsd:element name="channelintegrationProductListResponseParam">
|
60 |
+
<xsd:complexType>
|
61 |
+
<xsd:sequence>
|
62 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="result"
|
63 |
+
type="typens:channelintegrationProductEntityArray"/>
|
64 |
+
</xsd:sequence>
|
65 |
+
</xsd:complexType>
|
66 |
+
</xsd:element>
|
67 |
+
<xsd:element name="channelintegrationProductInfoRequestParam">
|
68 |
+
<xsd:complexType>
|
69 |
+
<xsd:sequence>
|
70 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
71 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="productId" type="xsd:string"/>
|
72 |
+
</xsd:sequence>
|
73 |
+
</xsd:complexType>
|
74 |
+
</xsd:element>
|
75 |
+
<xsd:element name="channelintegrationProductInfoResponseParam">
|
76 |
+
<xsd:complexType>
|
77 |
+
<xsd:sequence>
|
78 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="result"
|
79 |
+
type="typens:channelintegrationProductInfoEntity"/>
|
80 |
+
</xsd:sequence>
|
81 |
+
</xsd:complexType>
|
82 |
+
</xsd:element>
|
83 |
+
<xsd:element name="channelintegrationProductAddRequestParam">
|
84 |
+
<xsd:complexType>
|
85 |
+
<xsd:sequence>
|
86 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
87 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="data"
|
88 |
+
type="typens:channelintegrationProductAddEntity"/>
|
89 |
+
</xsd:sequence>
|
90 |
+
</xsd:complexType>
|
91 |
+
</xsd:element>
|
92 |
+
<xsd:element name="channelintegrationProductAddResponseParam">
|
93 |
+
<xsd:complexType>
|
94 |
+
<xsd:sequence>
|
95 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:int"/>
|
96 |
+
</xsd:sequence>
|
97 |
+
</xsd:complexType>
|
98 |
+
</xsd:element>
|
99 |
+
<xsd:element name="channelintegrationProductUpdateRequestParam">
|
100 |
+
<xsd:complexType>
|
101 |
+
<xsd:sequence>
|
102 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
103 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="productId" type="xsd:string"/>
|
104 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="data"
|
105 |
+
type="typens:channelintegrationProductUpdateEntity"/>
|
106 |
+
</xsd:sequence>
|
107 |
+
</xsd:complexType>
|
108 |
+
</xsd:element>
|
109 |
+
<xsd:element name="channelintegrationProductUpdateResponseParam">
|
110 |
+
<xsd:complexType>
|
111 |
+
<xsd:sequence>
|
112 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:boolean"/>
|
113 |
+
</xsd:sequence>
|
114 |
+
</xsd:complexType>
|
115 |
+
</xsd:element>
|
116 |
+
<xsd:element name="channelintegrationProductRemoveRequestParam">
|
117 |
+
<xsd:complexType>
|
118 |
+
<xsd:sequence>
|
119 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string"/>
|
120 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="productId" type="xsd:string"/>
|
121 |
+
</xsd:sequence>
|
122 |
+
</xsd:complexType>
|
123 |
+
</xsd:element>
|
124 |
+
<xsd:element name="channelintegrationProductRemoveResponseParam">
|
125 |
+
<xsd:complexType>
|
126 |
+
<xsd:sequence>
|
127 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="xsd:boolean"/>
|
128 |
+
</xsd:sequence>
|
129 |
+
</xsd:complexType>
|
130 |
+
</xsd:element>
|
131 |
+
</xsd:schema>
|
132 |
+
</wsdl:types>
|
133 |
+
<wsdl:message name="channelintegrationProductListRequest">
|
134 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductListRequestParam"/>
|
135 |
+
</wsdl:message>
|
136 |
+
<wsdl:message name="channelintegrationProductListResponse">
|
137 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductListResponseParam"/>
|
138 |
+
</wsdl:message>
|
139 |
+
<wsdl:message name="channelintegrationProductInfoRequest">
|
140 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductInfoRequestParam"/>
|
141 |
+
</wsdl:message>
|
142 |
+
<wsdl:message name="channelintegrationProductInfoResponse">
|
143 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductInfoResponseParam"/>
|
144 |
+
</wsdl:message>
|
145 |
+
<wsdl:message name="channelintegrationProductAddRequest">
|
146 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductAddRequestParam"/>
|
147 |
+
</wsdl:message>
|
148 |
+
<wsdl:message name="channelintegrationProductAddResponse">
|
149 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductAddResponseParam"/>
|
150 |
+
</wsdl:message>
|
151 |
+
<wsdl:message name="channelintegrationProductUpdateRequest">
|
152 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductUpdateRequestParam"/>
|
153 |
+
</wsdl:message>
|
154 |
+
<wsdl:message name="channelintegrationProductUpdateResponse">
|
155 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductUpdateResponseParam"/>
|
156 |
+
</wsdl:message>
|
157 |
+
<wsdl:message name="channelintegrationProductRemoveRequest">
|
158 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductRemoveRequestParam"/>
|
159 |
+
</wsdl:message>
|
160 |
+
<wsdl:message name="channelintegrationProductRemoveResponse">
|
161 |
+
<wsdl:part name="parameters" element="typens:channelintegrationProductRemoveResponseParam"/>
|
162 |
+
</wsdl:message>
|
163 |
+
<wsdl:portType name="{{var wsdl.handler}}PortType">
|
164 |
+
<wsdl:operation name="channelintegrationProductList">
|
165 |
+
<wsdl:documentation>Retrieve list of test_labels</wsdl:documentation>
|
166 |
+
<wsdl:input message="typens:channelintegrationProductListRequest"/>
|
167 |
+
<wsdl:output message="typens:channelintegrationProductListResponse"/>
|
168 |
+
</wsdl:operation>
|
169 |
+
<wsdl:operation name="channelintegrationProductInfo">
|
170 |
+
<wsdl:documentation>Retrieve test_label info</wsdl:documentation>
|
171 |
+
<wsdl:input message="typens:channelintegrationProductInfoRequest"/>
|
172 |
+
<wsdl:output message="typens:channelintegrationProductInfoResponse"/>
|
173 |
+
</wsdl:operation>
|
174 |
+
<wsdl:operation name="channelintegrationProductAdd">
|
175 |
+
<wsdl:documentation>Add test_label</wsdl:documentation>
|
176 |
+
<wsdl:input message="typens:channelintegrationProductAddRequest"/>
|
177 |
+
<wsdl:output message="typens:channelintegrationProductAddResponse"/>
|
178 |
+
</wsdl:operation>
|
179 |
+
<wsdl:operation name="channelintegrationProductUpdate">
|
180 |
+
<wsdl:documentation>Update test_label</wsdl:documentation>
|
181 |
+
<wsdl:input message="typens:channelintegrationProductUpdateRequest"/>
|
182 |
+
<wsdl:output message="typens:channelintegrationProductUpdateResponse"/>
|
183 |
+
</wsdl:operation>
|
184 |
+
<wsdl:operation name="channelintegrationProductRemove">
|
185 |
+
<wsdl:documentation>Remove test_label</wsdl:documentation>
|
186 |
+
<wsdl:input message="typens:channelintegrationProductRemoveRequest"/>
|
187 |
+
<wsdl:output message="typens:channelintegrationProductRemoveResponse"/>
|
188 |
+
</wsdl:operation>
|
189 |
+
</wsdl:portType>
|
190 |
+
<wsdl:binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
191 |
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
192 |
+
<wsdl:operation name="channelintegrationProductList">
|
193 |
+
<soap:operation soapAction=""/>
|
194 |
+
<wsdl:input>
|
195 |
+
<soap:body use="literal"/>
|
196 |
+
</wsdl:input>
|
197 |
+
<wsdl:output>
|
198 |
+
<soap:body use="literal"/>
|
199 |
+
</wsdl:output>
|
200 |
+
</wsdl:operation>
|
201 |
+
<wsdl:operation name="channelintegrationProductInfo">
|
202 |
+
<soap:operation soapAction=""/>
|
203 |
+
<wsdl:input>
|
204 |
+
<soap:body use="literal"/>
|
205 |
+
</wsdl:input>
|
206 |
+
<wsdl:output>
|
207 |
+
<soap:body use="literal"/>
|
208 |
+
</wsdl:output>
|
209 |
+
</wsdl:operation>
|
210 |
+
<wsdl:operation name="channelintegrationProductAdd">
|
211 |
+
<soap:operation soapAction=""/>
|
212 |
+
<wsdl:input>
|
213 |
+
<soap:body use="literal"/>
|
214 |
+
</wsdl:input>
|
215 |
+
<wsdl:output>
|
216 |
+
<soap:body use="literal"/>
|
217 |
+
</wsdl:output>
|
218 |
+
</wsdl:operation>
|
219 |
+
<wsdl:operation name="channelintegrationProductUpdate">
|
220 |
+
<soap:operation soapAction=""/>
|
221 |
+
<wsdl:input>
|
222 |
+
<soap:body use="literal"/>
|
223 |
+
</wsdl:input>
|
224 |
+
<wsdl:output>
|
225 |
+
<soap:body use="literal"/>
|
226 |
+
</wsdl:output>
|
227 |
+
</wsdl:operation>
|
228 |
+
<wsdl:operation name="channelintegrationProductRemove">
|
229 |
+
<soap:operation soapAction=""/>
|
230 |
+
<wsdl:input>
|
231 |
+
<soap:body use="literal"/>
|
232 |
+
</wsdl:input>
|
233 |
+
<wsdl:output>
|
234 |
+
<soap:body use="literal"/>
|
235 |
+
</wsdl:output>
|
236 |
+
</wsdl:operation>
|
237 |
+
</wsdl:binding>
|
238 |
+
<wsdl:service name="{{var wsdl.name}}Service">
|
239 |
+
<wsdl:port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">
|
240 |
+
<soap:address location="{{var wsdl.url}}"/>
|
241 |
+
</wsdl:port>
|
242 |
+
</wsdl:service>
|
243 |
+
</wsdl:definitions>
|
package.xml
CHANGED
@@ -1,14 +1,21 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>StitchLabs_ChannelIntegration</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>MIT</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension provides integration with StitchLabs</summary>
|
10 |
<description>This extension provides integration with StitchLabs</description>
|
11 |
-
<notes>1.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
* Add pagination functionality to order endpoint
|
13 |

|
14 |
1.0.2
|
@@ -20,9 +27,9 @@
|
|
20 |
1.0.0
|
21 |
* Initial working release</notes>
|
22 |
<authors><author><name>Stitch Labs</name><user>rnavarro</user><email>dev@stitchlabs.com</email></author></authors>
|
23 |
-
<date>
|
24 |
-
<time>
|
25 |
-
<contents><target name="magecommunity"><dir name="StitchLabs"><dir name="ChannelIntegration"><dir name="Helper"><file name="Data.php" hash="99816c036bf2e85ee80532eea931d364"/></dir><dir name="Model"><dir name="Order"><dir name="Api"><file name="V2.php" hash="069f37eed8455d193c69dcb10ee761c4"/></dir><file name="Api.php" hash="9576884f96ade453131b71ef0b581690"/></dir><dir name="Product"><dir name="Api"><file name="V2.php" hash="58a2ceef48359730fc22d53896ea0086"/></dir><file name="Api.php" hash="d0eba04915b75905a477ec624b77f4b3"/></dir><file name="Product.php" hash="98fee14cbed0a95ad2426612226d526c"/><dir name="Resource"><dir name="Order"><file name="Collection.php" hash="a7d05e49a418f467c887752f3ea25ee7"/></dir><file name="Order.php" hash="accdce477026b896d190027987229d55"/><dir name="Product"><file name="Collection.php" hash="2e05486fcb4474fcad3c2681c628b74e"/></dir><file name="Product.php" hash="2e38d111342b23c574101e0344adbc6b"/><file name="Setup.php" hash="dbaff42087358b9a6451a4971dce3817"/></dir></dir><dir name="etc"><file name="api.xml" hash="13ae978dea5c8eedabb7333f808b7545"/><file name="config.xml" hash="c7cc22b4f87c4bd8a9e17e6b9bcaa59d"/><file name="wsdl.xml" hash="30fabcb814767d6a79ec59e54d652d6f"/><file name="wsi.xml" hash="9dd060c265efa9b4302f66306b808374"/></dir></dir><dir name=".git"><file name="COMMIT_EDITMSG" hash="8076432b20405fd787505e90aece3bcb"/><file name="HEAD" hash="4cf2d64e44205fe628ddd534e1151b58"/><file name="config" hash="5006f126859e126656c5e13b7403947b"/><file name="description" hash="a0a7c3fff21f2aea3cfa1d0316dd816c"/><dir name="hooks"><file name="applypatch-msg.sample" hash="9cc72dc973e24f9623bd3fe708f60ef5"/><file name="commit-msg.sample" hash="579a3c1e12a1e74a98169175fb913012"/><file name="post-update.sample" hash="2b7ea5cee3c49ff53d41e00785eb974c"/><file name="pre-applypatch.sample" hash="a4a7e457b55b5ac2877f7973dbba37e9"/><file name="pre-commit.sample" hash="01b1688f97f94776baae85d77b06048b"/><file name="pre-push.sample" hash="9b64ca5761c6de555d7d1b3c948ecfeb"/><file name="pre-rebase.sample" hash="3ff6ba9cf6d8e5332978e057559b5562"/><file name="prepare-commit-msg.sample" hash="7dfe15854212a30f346da5255c1d794b"/><file name="update.sample" hash="f51b02427757e79621b5235d7efdf117"/></dir><file name="index" hash="5c84e80f8f7180ad24b89e8d766030a9"/><dir name="info"><file name="exclude" hash="036208b4a1ab4a235d75c181e685e5a3"/></dir><dir name="logs"><file name="HEAD" hash="ee82604d4e5c146d5435561fc90a269e"/><dir name="refs"><dir name="heads"><file name="master" hash="ee82604d4e5c146d5435561fc90a269e"/></dir><dir name="remotes"><dir name="origin"><file name="HEAD" hash="069761101bd42d946317c54370fc4fe1"/><file name="master" hash="cadcfef966a3477d39cbdf2f43ca175e"/></dir></dir></dir></dir><dir name="objects"><dir name="01"><file name="b28c813feecf82e1f21c32bfa57c17652eab21" hash="c8cdd6ec194c63237fddda0cacd84089"/></dir><dir name="07"><file name="5ae42ae48cddefb1f7e78e0e5af25837e68898" hash="ec7e1069961aec96c4bd6a1da72d84e4"/></dir><dir name="27"><file name="6e7b0f177c71457ccfd2a07a7f5ec44b235206" hash="a4e590b44ffff71a02e85662cc114fa7"/></dir><dir name="2a"><file name="bc7aedf2fd8e7868d8d1249f19b81acda97b3b" hash="c2e97cc35ee93fb985c3c0763117a173"/></dir><dir name="39"><file name="1b337958447dc5e16b8b75969cd2b243f6ce2d" hash="defc51950f46f9c24b94baf5f101f31c"/></dir><dir name="46"><file name="4e4d72fb77e90baf7a014b5dfd01c67e5017a3" hash="d74c299f25194e83577f7efa3a8cde78"/></dir><dir name="4b"><file name="82aa94f39a91d46699ccbf3a805a71697eaa1f" hash="5306775a438e43ef1624315b9df96dbb"/></dir><dir name="56"><file name="11bd2e81662aa571b9d9625bbc0f8c07120f95" hash="71efd457a63c603a952f7e9d599d8e04"/></dir><dir name="5e"><file name="8edf822cbaf72f5a0dd5fdb07b6c4f86ccd218" hash="af9c299e16a935f037902b182d526850"/></dir><dir name="63"><file name="d337d5c036c371a89ac8af4fdec5798b9a98f9" hash="64d6fd2417d0546ec2a8fe838d988f77"/></dir><dir name="73"><file name="4863301963a3080d04e4bc39cf182b37b8c6e7" hash="f9a54ea83d10cf49a9f9dff0b4caa5a5"/></dir><dir name="79"><file name="e377d2f7f550f580006e9c266efbf0eb5d161d" hash="9f959a7e50356cc43f7127119b3e8dff"/></dir><dir name="83"><file name="b74f5929aef322401c288065730fcb5109e21b" hash="88b4ca6a20b3377c0606cbd408718ff9"/></dir><dir name="8e"><file name="09aa0504ffd08e847c821104c93a9478f67cce" hash="a5a1fbe63d73d58954b61711f7d481f2"/></dir><dir name="94"><file name="2583c001e064f5b00a8694618c24d0234a049a" hash="dae4128dbef3ecd65aff545da342442a"/></dir><dir name="98"><file name="91a20fab310de0ebe0ede12a572576c9f2d1f0" hash="d64d6ee0f32e8a30882a52075f81e150"/></dir><dir name="a9"><file name="c170fc567c8e9d029ea658584608a76b14337c" hash="77322eabf0b1ddd674914ddcbe1d51fa"/></dir><dir name="b4"><file name="36ffcefd16dbf236b3f1ca96c7b2a3ed0f82bb" hash="f98f000fb2c321fcf1b005e1bc871b07"/></dir><dir name="b6"><file name="6c5cef0a12394ea0b24227d2c1dd2a48aca7af" hash="aa65a76152d5e04008aee56b4210a3ca"/></dir><dir name="b8"><file name="c3a53b647d748a04bc54969c6e33bf2c55ddbd" hash="2838717c73068883e2b01ca1dfe0e576"/></dir><dir name="cc"><file name="95f87ad1d41347f722ccdc2b7d608d4bd533d9" hash="1b25cf76051c0c5ff052c7507d520698"/></dir><dir name="ed"><file name="16c68b8e29366e83cf8d1a5520ae97e94bc292" hash="8d3ee5fb83f629e6eb3f2785f4a46fe5"/></dir><dir name="fa"><file name="a3d71c71c5a5ad70a15044868deab51860e403" hash="104f0872d8b2bbd4a165675697dd3d92"/></dir><dir name="fd"><file name="e2de185cd5f10a3c4864f499684df2d64b0677" hash="b0b477eacaa246d024647753ff503294"/></dir><dir name="pack"><file name="pack-dc0330ebce870e8b7088bdeacf67e21f1b6728ec.idx" hash="5c7fcda676dd64ffcba1bf19695c979b"/><file name="pack-dc0330ebce870e8b7088bdeacf67e21f1b6728ec.pack" hash="f71d08cae68a0a9347899c4ae4b5510e"/></dir></dir><file name="packed-refs" hash="208b5c76fca5096b333659d44c678b27"/><dir name="refs"><dir name="heads"><file name="master" hash="56619804ae8af17b05e161164625cbfe"/></dir><dir name="remotes"><dir name="origin"><file name="HEAD" hash="73a00957034783b7b5c8294c54cd3e12"/><file name="master" hash="56619804ae8af17b05e161164625cbfe"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="StitchLabs_ChannelIntegration.xml" hash="3b9a13293b9d8dc3bb795450c4fe271a"/></dir></target></contents>
|
26 |
<compatible/>
|
27 |
-
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>StitchLabs_ChannelIntegration</name>
|
4 |
+
<version>1.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>MIT</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension provides integration with StitchLabs</summary>
|
10 |
<description>This extension provides integration with StitchLabs</description>
|
11 |
+
<notes>1.0.5
|
12 |
+
* Added pre-installation checks
|
13 |
+
* Added PHP server info verifications
|
14 |
+

|
15 |
+
1.0.4
|
16 |
+
* Fixed bug with improper function definitions
|
17 |
+

|
18 |
+
1.0.3
|
19 |
* Add pagination functionality to order endpoint
|
20 |

|
21 |
1.0.2
|
27 |
1.0.0
|
28 |
* Initial working release</notes>
|
29 |
<authors><author><name>Stitch Labs</name><user>rnavarro</user><email>dev@stitchlabs.com</email></author></authors>
|
30 |
+
<date>2015-03-03</date>
|
31 |
+
<time>17:49:06</time>
|
32 |
+
<contents><target name="magecommunity"><dir name="StitchLabs"><dir name="ChannelIntegration"><dir name="Helper"><file name="Data.php" hash="bab04699a85cc7926b2c7c58ecaf3f2b"/></dir><dir name="Model"><dir name="Info"><dir name="Api"><file name="V2.php" hash="e2cdad946e53233ae57b83d2306d18e5"/></dir></dir><dir name="Order"><dir name="Api"><file name="V2.php" hash="2b16df922d4dbb966fedf5cc003b098c"/></dir><file name="Api.php" hash="730b8a3c34167ebe186eb302060d70f0"/></dir><dir name="Product"><dir name="Api"><file name="V2.php" hash="1b0b9c4f84fb9354bf628a0777e8b534"/></dir><file name="Api.php" hash="45722f9587cc18c23e812c8095be75f6"/></dir><file name="Product.php" hash="5ef16e3f96c25a44d9823de21c46aa71"/><dir name="Resource"><dir name="Order"><file name="Collection.php" hash="3c52131d5b2359f469cededfffa5a012"/></dir><file name="Order.php" hash="d1587e02851a724c5e1f757f07433f74"/><dir name="Product"><file name="Collection.php" hash="4b1c3cbeef65923bacad1660085bbd24"/></dir><file name="Product.php" hash="693cb7ff8d9fd86283d2296abc65cf8d"/><file name="Setup.php" hash="d843283f721ce09d934233a6acf02637"/></dir></dir><dir name="etc"><file name="api.xml" hash="799ba32b0c43a869142d42082fd4847e"/><file name="config.xml" hash="a388fdc15c075a508143151aa743c7c8"/><file name="wsdl.xml" hash="40d281b03bd2ba34c517ecce9e310d7e"/><file name="wsi.xml" hash="c6d522f9299940cbe487c3a0160faa89"/></dir></dir><dir name=".git"><file name="COMMIT_EDITMSG" hash="181da8948d230fd71a9e81ba1416200a"/><file name="FETCH_HEAD" hash="0c7bcf0b0947fb832164d4c946bf607f"/><file name="HEAD" hash="f96dee908cee43d00ef0c88a72a0aa19"/><file name="ORIG_HEAD" hash="5608f070b155b3e277796d84b4c8fddd"/><file name="config" hash="fdae1c00a03426490f5df0bfeb79d05f"/><file name="description" hash="a0a7c3fff21f2aea3cfa1d0316dd816c"/><dir name="hooks"><file name="applypatch-msg.sample" hash="9cc72dc973e24f9623bd3fe708f60ef5"/><file name="commit-msg.sample" hash="579a3c1e12a1e74a98169175fb913012"/><file name="post-update.sample" hash="2b7ea5cee3c49ff53d41e00785eb974c"/><file name="pre-applypatch.sample" hash="a4a7e457b55b5ac2877f7973dbba37e9"/><file name="pre-commit.sample" hash="01b1688f97f94776baae85d77b06048b"/><file name="pre-push.sample" hash="9b64ca5761c6de555d7d1b3c948ecfeb"/><file name="pre-rebase.sample" hash="3ff6ba9cf6d8e5332978e057559b5562"/><file name="prepare-commit-msg.sample" hash="7dfe15854212a30f346da5255c1d794b"/><file name="update.sample" hash="f51b02427757e79621b5235d7efdf117"/></dir><file name="index" hash="2eb16d06df399cbe9ba41d01fbd30b80"/><dir name="info"><file name="exclude" hash="036208b4a1ab4a235d75c181e685e5a3"/></dir><dir name="logs"><file name="HEAD" hash="f529fdc25a02596e794c9721c26c68c6"/><dir name="refs"><dir name="heads"><dir name="feature"><file name="server-info" hash="5a7e22be19c0e8ff00a2ff98c841e37e"/></dir><file name="master" hash="d992b9bb947ab2fb1b702183ae2486a4"/></dir><dir name="remotes"><dir name="origin"><file name="HEAD" hash="069761101bd42d946317c54370fc4fe1"/><dir name="feature"><file name="server-info" hash="d00e6a72de701300838af6af1835736a"/></dir><file name="master" hash="085c8ee31e8b6bf4c7fcc6a0a72381f1"/></dir></dir><file name="stash" hash="5de0b36e6f90ac99de9f919453703562"/></dir></dir><dir name="objects"><dir name="01"><file name="11aace95e94ad66b3f984384135d61058b35f3" hash="3fa30c08dc00c1d90e7690576bc4ffb6"/><file name="b28c813feecf82e1f21c32bfa57c17652eab21" hash="c8cdd6ec194c63237fddda0cacd84089"/></dir><dir name="07"><file name="5ae42ae48cddefb1f7e78e0e5af25837e68898" hash="ec7e1069961aec96c4bd6a1da72d84e4"/><file name="61e9e256447127398b4ee786bf71613b80e177" hash="7924632a4ce6520102393a9b5293d99c"/></dir><dir name="0a"><file name="d9ad30ce8db74b97aa72dcd38909c611392338" hash="4113f9bf951494204b7c09669d55f964"/></dir><dir name="0b"><file name="7c4a7cff09c6ef133c206c841b8fd63c156c33" hash="6232216f833678f69e09a30be1ddb4ab"/></dir><dir name="11"><file name="e2aff7dfae81b71185d3d724c137eb1cda0fa4" hash="c0a864985bea2982b0950466edbd2c28"/></dir><dir name="1c"><file name="dfc6585d7f737ddc6ffba98626017669e9935a" hash="586bbe1caa7cb7e22e0da54732a560c7"/></dir><dir name="20"><file name="b395a4e01464ffd7bdc78ff2b8b6c169353ed2" hash="6d6bffec27d14c02618375addb5f631f"/></dir><dir name="27"><file name="6e7b0f177c71457ccfd2a07a7f5ec44b235206" hash="a4e590b44ffff71a02e85662cc114fa7"/><file name="98de734a56e1d7b5854c36b6a9ef5bbd689925" hash="926990cbc2ac800a98aca60a8b14765d"/></dir><dir name="29"><file name="03d2167e2c256efd6456cb515d319d61197015" hash="b28bda0ee243ce5baf7b2399f21906a4"/></dir><dir name="2a"><file name="bc7aedf2fd8e7868d8d1249f19b81acda97b3b" hash="c2e97cc35ee93fb985c3c0763117a173"/></dir><dir name="2e"><file name="de2e75138c11672e2d52aecf406b6162287860" hash="d378513f3150bccd87f19fef3ae1b760"/></dir><dir name="31"><file name="dc5bc85f00a7e2a136904543dab80db3f3ccb4" hash="99b9e0e57dcbdde9ab8f2d3760eb0635"/></dir><dir name="34"><file name="04c18dea49e67471742b4cbe5253933f5ed3a5" hash="3f739eb3f7c7871a401807242a1403c3"/></dir><dir name="39"><file name="1b337958447dc5e16b8b75969cd2b243f6ce2d" hash="defc51950f46f9c24b94baf5f101f31c"/></dir><dir name="3d"><file name="a6a97bca2fc30774bac0c37ba6eaaddf896b1b" hash="b4666977af366071a2fc20da59b40433"/></dir><dir name="41"><file name="0aa6db3c0de4c0faa332579879ace68e4631b5" hash="ce6f2e31a2a9792c3419ac28d09cdd10"/></dir><dir name="42"><file name="93f714a0806bcbcba405ed2188a14b034871b5" hash="dac17a8cc7490bd0ee93bb4df1563068"/></dir><dir name="46"><file name="4e4d72fb77e90baf7a014b5dfd01c67e5017a3" hash="d74c299f25194e83577f7efa3a8cde78"/></dir><dir name="4b"><file name="82aa94f39a91d46699ccbf3a805a71697eaa1f" hash="5306775a438e43ef1624315b9df96dbb"/></dir><dir name="4e"><file name="a556d4e1652793ef2662c886dc8cf8aaab468e" hash="5296a18bff9c6d98a05f76b8ed2b2149"/></dir><dir name="4f"><file name="b6306ae7630638b88ec819abe3dd3087604070" hash="d7840f65f92297718ee38490b7075bc5"/></dir><dir name="54"><file name="1a653b09e1ac487db3a7ff6a38e1d29341b3a3" hash="af3e71dbd67d49fba732db9d19a8f31a"/></dir><dir name="56"><file name="11bd2e81662aa571b9d9625bbc0f8c07120f95" hash="71efd457a63c603a952f7e9d599d8e04"/></dir><dir name="57"><file name="202aace0805184cc59255f5a0f1fa9b2f43eb9" hash="1bba8eda07319240294792f55c3bcbed"/></dir><dir name="5a"><file name="f8ae89ed41890216381366060bd06f24270c15" hash="cbc0224d08928c87420f181815e2deaf"/></dir><dir name="5e"><file name="8edf822cbaf72f5a0dd5fdb07b6c4f86ccd218" hash="af9c299e16a935f037902b182d526850"/></dir><dir name="62"><file name="2309e85553a976dc62aeae2a535a9e0c86aa4e" hash="c8a28e9c058c50a920c275d5875dbca9"/></dir><dir name="63"><file name="d337d5c036c371a89ac8af4fdec5798b9a98f9" hash="64d6fd2417d0546ec2a8fe838d988f77"/></dir><dir name="66"><file name="b188a4517a98f1a9c6f44951ff8018af541417" hash="2eda485752a2c5caab0395c25a65004c"/></dir><dir name="68"><file name="183e8c93d980138dc6d0632423c558941557f2" hash="6dc2503787c63bffa22aaf9418b0cd2a"/></dir><dir name="6c"><file name="d3a4096c8592a9d9a3068c38bec0d2caf3fb6d" hash="f8ece66523e8e0da27d7de167f468ab4"/></dir><dir name="6f"><file name="6e0cf202b27d27a0dc70984d1978d42f01215a" hash="68493f180ccfc2fbbd8d6a45b3c4a9a0"/></dir><dir name="73"><file name="4863301963a3080d04e4bc39cf182b37b8c6e7" hash="f9a54ea83d10cf49a9f9dff0b4caa5a5"/></dir><dir name="77"><file name="61ed6f4f2466fb6facc487fd2a7876275c21ff" hash="3f82b0d269ee4bb22e3b9db949497032"/></dir><dir name="79"><file name="e377d2f7f550f580006e9c266efbf0eb5d161d" hash="9f959a7e50356cc43f7127119b3e8dff"/></dir><dir name="7f"><file name="8ba3acc90f60477c59ddc025e7e7f34d004998" hash="57096946c54d160c1bd7413712e9bd19"/></dir><dir name="83"><file name="b74f5929aef322401c288065730fcb5109e21b" hash="88b4ca6a20b3377c0606cbd408718ff9"/></dir><dir name="8e"><file name="09aa0504ffd08e847c821104c93a9478f67cce" hash="a5a1fbe63d73d58954b61711f7d481f2"/></dir><dir name="8f"><file name="74494bca2541e7ecbf856b10688a3cfe491704" hash="a0e8ebc8c3ac8fd04b85871055cf66cf"/></dir><dir name="94"><file name="2583c001e064f5b00a8694618c24d0234a049a" hash="dae4128dbef3ecd65aff545da342442a"/></dir><dir name="98"><file name="91a20fab310de0ebe0ede12a572576c9f2d1f0" hash="d64d6ee0f32e8a30882a52075f81e150"/></dir><dir name="9c"><file name="864a59bb6d6a6d9bc6ca0d5eb3bd185826202a" hash="c92ab2ba40a66e40820290ae836a0351"/></dir><dir name="a9"><file name="c170fc567c8e9d029ea658584608a76b14337c" hash="77322eabf0b1ddd674914ddcbe1d51fa"/></dir><dir name="ad"><file name="5806e6ec6ad8cec16208ac9ff68ac9d22c9677" hash="c606f301230096f014aef78691845b3e"/><file name="5ab28f88aab464883c1d2609b13e95a54831a4" hash="b5706e09f1e0a79429b77ec1fae4e588"/></dir><dir name="b3"><file name="fdd18759832a269be2c705dc5b7b909cf4a397" hash="a1b43beb26a6d0877961c96612d4450e"/></dir><dir name="b4"><file name="36ffcefd16dbf236b3f1ca96c7b2a3ed0f82bb" hash="f98f000fb2c321fcf1b005e1bc871b07"/></dir><dir name="b6"><file name="6c5cef0a12394ea0b24227d2c1dd2a48aca7af" hash="aa65a76152d5e04008aee56b4210a3ca"/><file name="88b36e50745823a9092b7263d7d6ab12a85482" hash="2411f55ae7f9285cc641b651c54a77f0"/></dir><dir name="b8"><file name="c3a53b647d748a04bc54969c6e33bf2c55ddbd" hash="2838717c73068883e2b01ca1dfe0e576"/></dir><dir name="bc"><file name="192a26c2ce9f29ebbad0c676ea5e38ddda1a0c" hash="e6d9404e14efc0434148e90fb0c895ad"/></dir><dir name="c5"><file name="6ba614059927a5f3672c559b93be565e2501fa" hash="b94996a4fb7317769b5b05dfd1cc9d8f"/></dir><dir name="c9"><file name="569e3726b55c699e8cfe62e94b50451cdf204c" hash="1a6d806a9723d348ccbb3788071a5f9e"/></dir><dir name="cc"><file name="95f87ad1d41347f722ccdc2b7d608d4bd533d9" hash="1b25cf76051c0c5ff052c7507d520698"/></dir><dir name="d9"><file name="5631f3c85e6fd20af9694f588a9acc08ac3ff2" hash="c1324597e9c0160b63b35044c8df033c"/></dir><dir name="dc"><file name="8f0aebf416ad60bd7fb80aa627128296119b27" hash="919ab3b43b552d6175443c98c21fd6d6"/></dir><dir name="de"><file name="70e3aee7e8e88431693852b2cf5864001346f9" hash="2dab0b315a00a733ad74e18388bee78a"/></dir><dir name="e2"><file name="66b1665f2572d77a0742b101f91c4500852dcc" hash="b7e566f2dec0e4cdbbff6f13bd490aed"/></dir><dir name="e4"><file name="1abe665ec0dd50b3f479d19bf6e2bc1bd3773c" hash="a391a7cf1c542fd730fb52556f2dd5c5"/></dir><dir name="ed"><file name="16c68b8e29366e83cf8d1a5520ae97e94bc292" hash="8d3ee5fb83f629e6eb3f2785f4a46fe5"/><file name="4e00b5533af776539c6888896b0df40ef654d6" hash="084de60d40a059643d32a76f9fa697e1"/></dir><dir name="f2"><file name="794fdd29a3f472941420998fd2275dc0296018" hash="86a3b2b94da2380a0276e28a7f145a93"/></dir><dir name="fa"><file name="a3d71c71c5a5ad70a15044868deab51860e403" hash="104f0872d8b2bbd4a165675697dd3d92"/></dir><dir name="fd"><file name="e2de185cd5f10a3c4864f499684df2d64b0677" hash="b0b477eacaa246d024647753ff503294"/></dir><dir name="pack"><file name="pack-dc0330ebce870e8b7088bdeacf67e21f1b6728ec.idx" hash="5c7fcda676dd64ffcba1bf19695c979b"/><file name="pack-dc0330ebce870e8b7088bdeacf67e21f1b6728ec.pack" hash="f71d08cae68a0a9347899c4ae4b5510e"/></dir></dir><file name="packed-refs" hash="208b5c76fca5096b333659d44c678b27"/><dir name="refs"><dir name="heads"><dir name="feature"><file name="server-info" hash="e7b1230b0f6d71a5057a3744d71e723b"/></dir><file name="master" hash="b007d3b5076fa3e7cd4f96550cabfe44"/></dir><dir name="remotes"><dir name="origin"><file name="HEAD" hash="73a00957034783b7b5c8294c54cd3e12"/><dir name="feature"><file name="server-info" hash="e7b1230b0f6d71a5057a3744d71e723b"/></dir><file name="master" hash="b007d3b5076fa3e7cd4f96550cabfe44"/></dir></dir><file name="stash" hash="56009313ec00209cb0571009fcbabcf6"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="StitchLabs_ChannelIntegration.xml" hash="3b9a13293b9d8dc3bb795450c4fe271a"/></dir></target></contents>
|
33 |
<compatible/>
|
34 |
+
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.7.0.3</min><max>1.9.0.0</max></package><extension><name>soap</name><min/><max/></extension></required></dependencies>
|
35 |
</package>
|