From 7ebe840dfb626085e8c30cc68f308202d33f53aa Mon Sep 17 00:00:00 2001 From: DB306 Date: Tue, 9 Oct 2018 09:31:22 +0200 Subject: [PATCH 1/2] Fixed PriceRule propertyRead from the main SDK file in order to facilitate access to the Price Rule API --- lib/ShopifySDK.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ShopifySDK.php b/lib/ShopifySDK.php index ac8de51..b6aa63e 100644 --- a/lib/ShopifySDK.php +++ b/lib/ShopifySDK.php @@ -74,6 +74,7 @@ * @property-read Customer $Customer * @property-read CustomerSavedSearch $CustomerSavedSearch * @property-read Discount $Discount + * @property-read PriceRule $PriceRule * @property-read Event $Event * @property-read FulfillmentService $FulfillmentService * @property-read GiftCard $GiftCard @@ -107,6 +108,7 @@ * @method Customer Customer(integer $id = null) * @method CustomerSavedSearch CustomerSavedSearch(integer $id = null) * @method Discount Discount(integer $id = null) + * @method PriceRule PriceRule(integer $id = null) * @method Event Event(integer $id = null) * @method FulfillmentService FulfillmentService(integer $id = null) * @method GiftCard GiftCard(integer $id = null) From ca3bbe18cb9055600880cd4abd400ca0494913f6 Mon Sep 17 00:00:00 2001 From: DB306 Date: Tue, 9 Oct 2018 11:41:13 +0200 Subject: [PATCH 2/2] Fix commenting for AutoComplete to work properly --- lib/PriceRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PriceRule.php b/lib/PriceRule.php index 7486415..de08014 100644 --- a/lib/PriceRule.php +++ b/lib/PriceRule.php @@ -10,7 +10,7 @@ namespace PHPShopify; -/* +/** * -------------------------------------------------------------------------- * PriceRule -> Child Resources * --------------------------------------------------------------------------