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...
|
| | 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 () |
| |
|
|
T | Get< T > (string field, string alias=null) |
| |
|
Dictionary< string, object > | Data |
| |
|
Dictionary< string, object > | DataJSON [get, protected set] |
| |
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.
◆ ProductOption()
| Shopify.Unity.ProductOption.ProductOption |
( |
Dictionary< string, object > |
dataJSON | ) |
|
|
inline |
Accepts deserialized json data. Will further parse passed in data.
- Parameters
-
◆ id()
| string Shopify.Unity.ProductOption.id |
( |
| ) |
|
|
inline |
◆ 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:
- Assets/Shopify/Unity/Generated/ProductOption.cs