A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.
More...
|
| Collection (Dictionary< string, object > dataJSON) |
| Accepts deserialized json data. Will further parse passed in data. More...
|
|
string | description (string alias=null) |
| Stripped description of the collection, single line with HTML tags removed. More...
|
|
string | descriptionHtml () |
| The description of the collection, complete with HTML formatting. More...
|
|
string | handle () |
| A human-friendly unique string for the collection automatically generated from its title. Limit of 255 characters. More...
|
|
string | id () |
| Globally unique identifier. More...
|
|
Image | image (string alias=null) |
| Image associated with the collection. More...
|
|
ProductConnection | products (string alias=null) |
| List of products in the collection. More...
|
|
string | title () |
| The collection’s name. Limit of 255 characters. More...
|
|
DateTime? | updatedAt () |
| The date and time when the collection was last modified. More...
|
|
object | Clone () |
|
|
T | Get< T > (string field, string alias=null) |
|
Dictionary< string, object > | Data |
|
Dictionary< string, object > | DataJSON [get, protected set] |
|
A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.
◆ Collection()
Shopify.Unity.Collection.Collection |
( |
Dictionary< string, object > |
dataJSON | ) |
|
|
inline |
Accepts deserialized json data. Will further parse passed in data.
- Parameters
-
◆ description()
string Shopify.Unity.Collection.description |
( |
string |
alias = null | ) |
|
|
inline |
Stripped description of the collection, single line with HTML tags removed.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ descriptionHtml()
string Shopify.Unity.Collection.descriptionHtml |
( |
| ) |
|
|
inline |
The description of the collection, complete with HTML formatting.
◆ handle()
string Shopify.Unity.Collection.handle |
( |
| ) |
|
|
inline |
A human-friendly unique string for the collection automatically generated from its title. Limit of 255 characters.
◆ id()
string Shopify.Unity.Collection.id |
( |
| ) |
|
|
inline |
◆ image()
Image Shopify.Unity.Collection.image |
( |
string |
alias = null | ) |
|
|
inline |
Image associated with the collection.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ products()
List of products in the collection.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ title()
string Shopify.Unity.Collection.title |
( |
| ) |
|
|
inline |
The collection’s name. Limit of 255 characters.
◆ updatedAt()
DateTime? Shopify.Unity.Collection.updatedAt |
( |
| ) |
|
|
inline |
The date and time when the collection was last modified.
The documentation for this class was generated from the following file:
- Assets/Shopify/Unity/Generated/Collection.cs