Commit 2cc2be53 authored by 赵鹏's avatar 赵鹏

推送shopify

parent 4126a96d
...@@ -83,6 +83,7 @@ class ShopifyApp ...@@ -83,6 +83,7 @@ class ShopifyApp
'Order', 'Order',
'Event', 'Event',
'Fulfillment', 'Fulfillment',
'FulfillmentOrders',
'FulfillmentService', 'FulfillmentService',
'GraphQL', 'GraphQL',
]; ];
...@@ -90,6 +91,7 @@ class ShopifyApp ...@@ -90,6 +91,7 @@ class ShopifyApp
protected $childResources = array( protected $childResources = array(
'Fulfillment' => 'Order', 'Fulfillment' => 'Order',
'FulfillmentEvent' => 'Fulfillment', 'FulfillmentEvent' => 'Fulfillment',
'FulfillmentOrders' => 'Order',
'OrderRisk' => 'Order', 'OrderRisk' => 'Order',
'ProductImage' => 'Product', 'ProductImage' => 'Product',
'ProductVariant' => 'Product', 'ProductVariant' => 'Product',
......
<?php
namespace Meibuyu\Micro\Shopify\lib;
/**
* Class Fulfillment
* @package Meibuyu\Micro\Shopify\lib
*
* @property-read Event $Event
*
* @method Event Event(integer $id = null)
* @method array get() Cancel a fulfillment
*/
class FulfillmentOrders extends AbstractShopify
{
protected $resourceKey = 'fulfillment_order';
protected $childResource = [
'FulfillmentEvent' => 'Event',
];
protected $customPostActions = [
];
}
\ No newline at end of file
...@@ -29,6 +29,7 @@ class Order extends AbstractShopify ...@@ -29,6 +29,7 @@ class Order extends AbstractShopify
protected $childResource = [ protected $childResource = [
'Fulfillment', 'Fulfillment',
'FulfillmentOrders',
'Event', 'Event',
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment