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

Product property names like "Size", "Color", and "Material" that the customers can select. Variants are selected based on permutations of these options. 255 characters limit each. More...

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

Public Member Functions

 ProductOption (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
string id ()
 Globally unique identifier. More...
 
string name ()
 The product option’s name. More...
 
List< string > values ()
 The corresponding value to the product option name. 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

Product property names like "Size", "Color", and "Material" that the customers can select. Variants are selected based on permutations of these options. 255 characters limit each.

Constructor & Destructor Documentation

◆ ProductOption()

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

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

Parameters
dataJSONDeserialized JSON data for ProductOption

Member Function Documentation

◆ id()

string Shopify.Unity.ProductOption.id ( )
inline

Globally unique identifier.

Implements Shopify.Unity.Node.

◆ name()

string Shopify.Unity.ProductOption.name ( )
inline

The product option’s name.

◆ values()

List<string> Shopify.Unity.ProductOption.values ( )
inline

The corresponding value to the product option name.


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