forked from phpclassic/php-shopify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApiDeprecations.php
More file actions
39 lines (33 loc) · 792 Bytes
/
ApiDeprecations.php
File metadata and controls
39 lines (33 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Created by PhpStorm.
* @author Tareq Mahmood <tareqtms@yahoo.com>
* @author Steve Barbera <whobutsb@gmail.com>
* Created at 8/18/16 3:39 PM UTC+06:00
*
* @see https://shopify.dev/api/admin-rest/2022-04/resources/deprecated-api-calls#get-deprecated-api-calls Shopify API Reference for API Deprecations
*/
namespace PHPShopify;
class ApiDeprecations extends ShopifyResource
{
/**
* @inheritDoc
*/
protected $resourceKey = 'deprecated_api_calls';
/**
* @inheritDoc
*/
public $readOnly = true;
/**
* @inheritDoc
*/
public $countEnabled = false;
/**
* @inheritDoc
*/
public function pluralizeKey()
{
//Only api deprecations, so no pluralize
return 'deprecated_api_calls';
}
}