7878 * @property-read Customer $Customer
7979 * @property-read CustomerSavedSearch $CustomerSavedSearch
8080 * @property-read Discount $Discount
81+ * @property-read DraftOrder $DraftOrder
8182 * @property-read PriceRule $PriceRule
8283 * @property-read Event $Event
8384 * @property-read FulfillmentService $FulfillmentService
115116 * @method Customer Customer(integer $id = null)
116117 * @method CustomerSavedSearch CustomerSavedSearch(integer $id = null)
117118 * @method Discount Discount(integer $id = null)
119+ * @method DraftOrder DraftOrder(integer $id = null)
118120 * @method PriceRule PriceRule(integer $id = null)
119121 * @method Event Event(integer $id = null)
120122 * @method FulfillmentService FulfillmentService(integer $id = null)
143145 */
144146class ShopifySDK
145147{
146- /**
147- * @var float microtime of last api call
148- */
149- public static $ microtimeOfLastApiCall ;
150-
151- /**
152- * @var float Minimum gap in seconds to maintain between 2 api calls
153- */
154- public static $ timeAllowedForEachApiCall = .5 ;
155-
156- /**
157- * Shop / API configurations
158- *
159- * @var array
160- */
161- public static $ config = array (
162- 'ApiVersion ' => '2019-04 '
163- );
164-
165148 /**
166149 * List of available resources which can be called from this client
167150 *
@@ -180,6 +163,7 @@ class ShopifySDK
180163 'Customer ' ,
181164 'CustomerSavedSearch ' ,
182165 'Discount ' ,
166+ 'DraftOrder ' ,
183167 'Event ' ,
184168 'FulfillmentService ' ,
185169 'GiftCard ' ,
@@ -208,6 +192,25 @@ class ShopifySDK
208192 'GraphQL '
209193 );
210194
195+ /**
196+ * @var float microtime of last api call
197+ */
198+ public static $ microtimeOfLastApiCall ;
199+
200+ /**
201+ * @var float Minimum gap in seconds to maintain between 2 api calls
202+ */
203+ public static $ timeAllowedForEachApiCall = .5 ;
204+
205+ /**
206+ * Shop / API configurations
207+ *
208+ * @var array
209+ */
210+ public static $ config = array (
211+ 'ApiVersion ' => '2019-04 '
212+ );
213+
211214 /**
212215 * List of resources which are only available through a parent resource
213216 *
0 commit comments