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

A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. More...

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

Public Member Functions

 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 ()
 

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

A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.

Constructor & Destructor Documentation

◆ Collection()

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

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

Parameters
dataJSONDeserialized JSON data for Collection

Member Function Documentation

◆ description()

string Shopify.Unity.Collection.description ( string  alias = null)
inline

Stripped description of the collection, single line with HTML tags removed.

Parameters
aliasIf 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

Globally unique identifier.

Implements Shopify.Unity.Node.

◆ image()

Image Shopify.Unity.Collection.image ( string  alias = null)
inline

Image associated with the collection.

Parameters
aliasIf the original field queried was queried using an alias, then pass the matching string.

◆ products()

ProductConnection Shopify.Unity.Collection.products ( string  alias = null)
inline

List of products in the collection.

Parameters
aliasIf 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: