CategoryMetafield extends Metafield
Table of Contents
- PERMISSION__APP_ONLY = 'app_only'
- Private to the app that owns the field
- PERMISSION__READ = 'read'
- Visible to all API consumers
- PERMISSION__READ_AND_STOREFRONT = 'read_and_sf_access'
- Visible to all API consumers, and available on the storefront (e.g. via GraphQL)
- PERMISSION__WRITE = 'write'
- Writeable by all API consumers
- PERMISSION__WRITE_AND_STOREFRONT = 'write_and_sf_access'
- Writeable by to all API consumers, and available on the storefront (e.g. via GraphQL)
- $date_created : string
- $date_modified : string
- $description : string
- $id : int
- $key : string
- $namespace : string
- $permission_set : string
- $resource_id : int
- $resource_type : string
- $value : string
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
Constants
PERMISSION__APP_ONLY
Private to the app that owns the field
public
mixed
PERMISSION__APP_ONLY
= 'app_only'
PERMISSION__READ
Visible to all API consumers
public
mixed
PERMISSION__READ
= 'read'
PERMISSION__READ_AND_STOREFRONT
Visible to all API consumers, and available on the storefront (e.g. via GraphQL)
public
mixed
PERMISSION__READ_AND_STOREFRONT
= 'read_and_sf_access'
PERMISSION__WRITE
Writeable by all API consumers
public
mixed
PERMISSION__WRITE
= 'write'
PERMISSION__WRITE_AND_STOREFRONT
Writeable by to all API consumers, and available on the storefront (e.g. via GraphQL)
public
mixed
PERMISSION__WRITE_AND_STOREFRONT
= 'write_and_sf_access'
Properties
$date_created
public
string
$date_created
$date_modified
public
string
$date_modified
$description
public
string
$description
$id
public
int
$id
$key
public
string
$key
$namespace
public
string
$namespace
$permission_set
public
string
$permission_set
$resource_id
public
int
$resource_id
$resource_type
public
string
$resource_type
= 'category'
$value
public
string
$value
Methods
__construct()
public
__construct([stdClass|null $optionObject = null ]) : mixed
Parameters
- $optionObject : stdClass|null = null
Return values
mixed —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>