Shopify SDK for Unity
Public Member Functions | List of all members
Shopify.Unity.Metafield Class Reference

Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are comprised of keys, values, and value types. More...

Inheritance diagram for Shopify.Unity.Metafield:
Shopify.Unity.SDK.AbstractResponse Shopify.Unity.Node

Public Member Functions

 Metafield (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
string description ()
 The description of a metafield. More...
 
string id ()
 Globally unique identifier. More...
 
string key ()
 The key name for a metafield. More...
 
string namespaceValue ()
 The namespace for a metafield. More...
 
MetafieldParentResource parentResource ()
 The parent object that the metafield belongs to. More...
 
string value ()
 The value of a metafield. More...
 
MetafieldValueType valueType ()
 Represents the metafield value type. More...
 
object Clone ()
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.AbstractResponse
Get< T > (string field, string alias=null)
 
- Protected Attributes inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > Data
 
- Properties inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > DataJSON [get, protected set]
 

Detailed Description

Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are comprised of keys, values, and value types.

Constructor & Destructor Documentation

◆ Metafield()

Shopify.Unity.Metafield.Metafield ( Dictionary< string, object >  dataJSON)
inline

Accepts deserialized json data. Will further parse passed in data.

Parameters
dataJSONDeserialized JSON data for Metafield

Member Function Documentation

◆ description()

string Shopify.Unity.Metafield.description ( )
inline

The description of a metafield.

◆ id()

string Shopify.Unity.Metafield.id ( )
inline

Globally unique identifier.

Implements Shopify.Unity.Node.

◆ key()

string Shopify.Unity.Metafield.key ( )
inline

The key name for a metafield.

◆ namespaceValue()

string Shopify.Unity.Metafield.namespaceValue ( )
inline

The namespace for a metafield.

◆ parentResource()

MetafieldParentResource Shopify.Unity.Metafield.parentResource ( )
inline

The parent object that the metafield belongs to.

◆ value()

string Shopify.Unity.Metafield.value ( )
inline

The value of a metafield.

◆ valueType()

MetafieldValueType Shopify.Unity.Metafield.valueType ( )
inline

Represents the metafield value type.


The documentation for this class was generated from the following file: