Skip to content

Commit 7a06c4b

Browse files
authored
Merge pull request #92 from phpclassic/v1.1
[Fixes #17] - ProductListing resource added.
2 parents b00e01c + 8141850 commit 7a06c4b

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

lib/ShopifySDK.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
* @property-read Page $Page
9191
* @property-read Policy $Policy
9292
* @property-read Product $Product
93+
* @property-read ProductListing $ProductListing
9394
* @property-read ProductVariant $ProductVariant
9495
* @property-read RecurringApplicationCharge $RecurringApplicationCharge
9596
* @property-read Redirect $Redirect
@@ -125,6 +126,7 @@
125126
* @method Page Page(integer $id = null)
126127
* @method Policy Policy(integer $id = null)
127128
* @method Product Product(integer $id = null)
129+
* @method ProductListing ProductListing(integer $id = null)
128130
* @method ProductVariant ProductVariant(integer $id = null)
129131
* @method RecurringApplicationCharge RecurringApplicationCharge(integer $id = null)
130132
* @method Redirect Redirect(integer $id = null)
@@ -187,6 +189,7 @@ class ShopifySDK
187189
'Page',
188190
'Policy',
189191
'Product',
192+
'ProductListing',
190193
'ProductVariant',
191194
'PriceRule',
192195
'RecurringApplicationCharge',

tests/ProductListingTest.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/**
3+
* Created by PhpStorm.
4+
* User: Tareq
5+
* Date: 6/11/2019
6+
* Time: 7:11 PM
7+
*/
8+
9+
namespace PHPShopify;
10+
11+
12+
class ProductListingTest extends TestSimpleResource
13+
{
14+
15+
}

0 commit comments

Comments
 (0)