Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-micro
Commits
0e6998cf
Commit
0e6998cf
authored
Feb 20, 2021
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编写shopify Fulfillment相关代码
parent
d31487d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
ShopifyApp.php
src/Shopify/ShopifyApp.php
+4
-0
Fulfillment.php
src/Shopify/lib/Fulfillment.php
+2
-0
No files found.
src/Shopify/ShopifyApp.php
View file @
0e6998cf
...
@@ -14,6 +14,7 @@ use Meibuyu\Micro\Shopify\lib\Collect;
...
@@ -14,6 +14,7 @@ use Meibuyu\Micro\Shopify\lib\Collect;
use
Meibuyu\Micro\Shopify\lib\Collection
;
use
Meibuyu\Micro\Shopify\lib\Collection
;
use
Meibuyu\Micro\Shopify\lib\CustomCollection
;
use
Meibuyu\Micro\Shopify\lib\CustomCollection
;
use
Meibuyu\Micro\Shopify\lib\Event
;
use
Meibuyu\Micro\Shopify\lib\Event
;
use
Meibuyu\Micro\Shopify\lib\Fulfillment
;
use
Meibuyu\Micro\Shopify\lib\FulfillmentService
;
use
Meibuyu\Micro\Shopify\lib\FulfillmentService
;
use
Meibuyu\Micro\Shopify\lib\Graphql
;
use
Meibuyu\Micro\Shopify\lib\Graphql
;
use
Meibuyu\Micro\Shopify\lib\InventoryItem
;
use
Meibuyu\Micro\Shopify\lib\InventoryItem
;
...
@@ -43,6 +44,7 @@ use Meibuyu\Micro\Shopify\lib\Webhook;
...
@@ -43,6 +44,7 @@ use Meibuyu\Micro\Shopify\lib\Webhook;
* @property-read Location $Location
* @property-read Location $Location
* @property-read Order $Order
* @property-read Order $Order
* @property-read Event $Event
* @property-read Event $Event
* @property-read Fulfillment $Fulfillment
* @property-read FulfillmentService $FulfillmentService
* @property-read FulfillmentService $FulfillmentService
* @property-read GraphQL $GraphQL
* @property-read GraphQL $GraphQL
*
*
...
@@ -58,6 +60,7 @@ use Meibuyu\Micro\Shopify\lib\Webhook;
...
@@ -58,6 +60,7 @@ use Meibuyu\Micro\Shopify\lib\Webhook;
* @method Location Location(integer $id = null)
* @method Location Location(integer $id = null)
* @method Order Order(integer $id = null)
* @method Order Order(integer $id = null)
* @method Event Event(integer $id = null)
* @method Event Event(integer $id = null)
* @method Fulfillment Fulfillment(integer $id = null)
* @method FulfillmentService FulfillmentService(integer $id = null)
* @method FulfillmentService FulfillmentService(integer $id = null)
* @method GraphQL GraphQL()
* @method GraphQL GraphQL()
*
*
...
@@ -79,6 +82,7 @@ class ShopifyApp
...
@@ -79,6 +82,7 @@ class ShopifyApp
'Location'
,
'Location'
,
'Order'
,
'Order'
,
'Event'
,
'Event'
,
'Fulfillment'
,
'FulfillmentService'
,
'FulfillmentService'
,
'GraphQL'
,
'GraphQL'
,
];
];
...
...
src/Shopify/lib/Fulfillment.php
View file @
0e6998cf
...
@@ -16,6 +16,7 @@ namespace Meibuyu\Micro\Shopify\lib;
...
@@ -16,6 +16,7 @@ namespace Meibuyu\Micro\Shopify\lib;
*
*
* @method Event Event(integer $id = null)
* @method Event Event(integer $id = null)
*
*
* @method array update_tracking($info) Update Tracking
* @method array complete() Complete a fulfillment
* @method array complete() Complete a fulfillment
* @method array open() Open a pending fulfillment
* @method array open() Open a pending fulfillment
* @method array cancel() Cancel a fulfillment
* @method array cancel() Cancel a fulfillment
...
@@ -30,6 +31,7 @@ class Fulfillment extends AbstractShopify
...
@@ -30,6 +31,7 @@ class Fulfillment extends AbstractShopify
];
];
protected
$customPostActions
=
[
protected
$customPostActions
=
[
'update_tracking'
,
'complete'
,
'complete'
,
'open'
,
'open'
,
'cancel'
,
'cancel'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment