-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathMetafield.php
42 lines (35 loc) · 1.05 KB
/
Metafield.php
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
40
41
42
<?php
namespace BigCommerce\ApiV3\ResourceModels;
abstract class Metafield extends ResourceModel
{
/**
* Private to the app that owns the field
*/
public const PERMISSION__APP_ONLY = 'app_only';
/**
* Visible to all API consumers
*/
public const PERMISSION__READ = 'read';
/**
* Writeable by all API consumers
*/
public const PERMISSION__WRITE = 'write';
/**
* Visible to all API consumers, and available on the storefront (e.g. via GraphQL)
*/
public const PERMISSION__READ_AND_STOREFRONT = 'read_and_sf_access';
/**
* Writeable by to all API consumers, and available on the storefront (e.g. via GraphQL)
*/
public const PERMISSION__WRITE_AND_STOREFRONT = 'write_and_sf_access';
public int $id;
public string $key;
public string $value;
public string $namespace;
public string $permission_set;
public string $resource_type;
public int $resource_id;
public string $description;
public string $date_created;
public string $date_modified;
}