Commit 0e6998cf authored by 王源's avatar 王源 🎧

编写shopify Fulfillment相关代码

parent d31487d4
......@@ -14,6 +14,7 @@ use Meibuyu\Micro\Shopify\lib\Collect;
use Meibuyu\Micro\Shopify\lib\Collection;
use Meibuyu\Micro\Shopify\lib\CustomCollection;
use Meibuyu\Micro\Shopify\lib\Event;
use Meibuyu\Micro\Shopify\lib\Fulfillment;
use Meibuyu\Micro\Shopify\lib\FulfillmentService;
use Meibuyu\Micro\Shopify\lib\Graphql;
use Meibuyu\Micro\Shopify\lib\InventoryItem;
......@@ -43,6 +44,7 @@ use Meibuyu\Micro\Shopify\lib\Webhook;
* @property-read Location $Location
* @property-read Order $Order
* @property-read Event $Event
* @property-read Fulfillment $Fulfillment
* @property-read FulfillmentService $FulfillmentService
* @property-read GraphQL $GraphQL
*
......@@ -58,6 +60,7 @@ use Meibuyu\Micro\Shopify\lib\Webhook;
* @method Location Location(integer $id = null)
* @method Order Order(integer $id = null)
* @method Event Event(integer $id = null)
* @method Fulfillment Fulfillment(integer $id = null)
* @method FulfillmentService FulfillmentService(integer $id = null)
* @method GraphQL GraphQL()
*
......@@ -79,6 +82,7 @@ class ShopifyApp
'Location',
'Order',
'Event',
'Fulfillment',
'FulfillmentService',
'GraphQL',
];
......
......@@ -16,6 +16,7 @@ namespace Meibuyu\Micro\Shopify\lib;
*
* @method Event Event(integer $id = null)
*
* @method array update_tracking($info) Update Tracking
* @method array complete() Complete a fulfillment
* @method array open() Open a pending fulfillment
* @method array cancel() Cancel a fulfillment
......@@ -30,6 +31,7 @@ class Fulfillment extends AbstractShopify
];
protected $customPostActions = [
'update_tracking',
'complete',
'open',
'cancel',
......
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