Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-rpc
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
0
Merge Requests
0
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-rpc
Commits
2cc2be53
Commit
2cc2be53
authored
Mar 29, 2021
by
赵鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推送shopify
parent
4126a96d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
0 deletions
+29
-0
ShopifyApp.php
src/Shopify/ShopifyApp.php
+2
-0
FulfillmentOrders.php
src/Shopify/lib/FulfillmentOrders.php
+26
-0
Order.php
src/Shopify/lib/Order.php
+1
-0
No files found.
src/Shopify/ShopifyApp.php
View file @
2cc2be53
...
@@ -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'
,
...
...
src/Shopify/lib/FulfillmentOrders.php
0 → 100644
View file @
2cc2be53
<?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
src/Shopify/lib/Order.php
View file @
2cc2be53
...
@@ -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'
,
];
];
...
...
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