Shopify SDK for Unity
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Shopify.Unity.ProductConnection Class Reference

An auto-generated type for paginating through multiple Products. . ProductConnection can be cast to List<Product>. More...

Inheritance diagram for Shopify.Unity.ProductConnection:
Shopify.Unity.SDK.AbstractResponse

Public Member Functions

 ProductConnection (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
IEnumerator GetEnumerator ()
 
List< ProductEdgeedges ()
 A list of edges. More...
 
PageInfo pageInfo ()
 Information to aid in pagination. More...
 
object Clone ()
 
void AddFromConnection (ProductConnection connection)
 This is a utility function that allows you to append newly queried data from a connection into this one. The passed in Connection will be appended into this Connection. The edges will receive all new nodes, and both the cursors and pageInfo will be updated based on the passed Connection. More...
 

Static Public Member Functions

static operator List< Product > (ProductConnection connection)
 Adds the ability to cast ProductConnection to List<Product>. More...
 

Protected Attributes

List< ProductNodes
 
- Protected Attributes inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > Data
 

Additional Inherited Members

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

Detailed Description

An auto-generated type for paginating through multiple Products. . ProductConnection can be cast to List<Product>.

Constructor & Destructor Documentation

◆ ProductConnection()

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

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

Parameters
dataJSONDeserialized JSON data for ProductConnection

Member Function Documentation

◆ AddFromConnection()

void Shopify.Unity.ProductConnection.AddFromConnection ( ProductConnection  connection)
inline

This is a utility function that allows you to append newly queried data from a connection into this one. The passed in Connection will be appended into this Connection. The edges will receive all new nodes, and both the cursors and pageInfo will be updated based on the passed Connection.

Parameters
connectionresponse

◆ edges()

List<ProductEdge> Shopify.Unity.ProductConnection.edges ( )
inline

A list of edges.

◆ operator List< Product >()

static Shopify.Unity.ProductConnection.operator List< Product > ( ProductConnection  connection)
inlineexplicitstatic

Adds the ability to cast ProductConnection to List<Product>.

◆ pageInfo()

PageInfo Shopify.Unity.ProductConnection.pageInfo ( )
inline

Information to aid in pagination.


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