78
78
* @property-read Customer $Customer
79
79
* @property-read CustomerSavedSearch $CustomerSavedSearch
80
80
* @property-read Discount $Discount
81
+ * @property-read DraftOrder $DraftOrder
81
82
* @property-read PriceRule $PriceRule
82
83
* @property-read Event $Event
83
84
* @property-read FulfillmentService $FulfillmentService
115
116
* @method Customer Customer(integer $id = null)
116
117
* @method CustomerSavedSearch CustomerSavedSearch(integer $id = null)
117
118
* @method Discount Discount(integer $id = null)
119
+ * @method DraftOrder DraftOrder(integer $id = null)
118
120
* @method PriceRule PriceRule(integer $id = null)
119
121
* @method Event Event(integer $id = null)
120
122
* @method FulfillmentService FulfillmentService(integer $id = null)
143
145
*/
144
146
class ShopifySDK
145
147
{
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
-
165
148
/**
166
149
* List of available resources which can be called from this client
167
150
*
@@ -180,6 +163,7 @@ class ShopifySDK
180
163
'Customer ' ,
181
164
'CustomerSavedSearch ' ,
182
165
'Discount ' ,
166
+ 'DraftOrder ' ,
183
167
'Event ' ,
184
168
'FulfillmentService ' ,
185
169
'GiftCard ' ,
@@ -208,6 +192,25 @@ class ShopifySDK
208
192
'GraphQL '
209
193
);
210
194
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
+
211
214
/**
212
215
* List of resources which are only available through a parent resource
213
216
*
0 commit comments