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

Represents a single line in an order. There is one line item for each distinct product variant. More...

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

Public Member Functions

 OrderLineItem (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
List< AttributecustomAttributes ()
 List of custom attributes associated to the line item. More...
 
List< DiscountAllocationdiscountAllocations ()
 The discounts that have been allocated onto the order line item by discount applications. More...
 
long quantity ()
 The number of products variants associated to the line item. More...
 
string title ()
 The title of the product combined with title of the variant. More...
 
ProductVariant variant ()
 The product variant object associated to the line item. 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

Represents a single line in an order. There is one line item for each distinct product variant.

Constructor & Destructor Documentation

◆ OrderLineItem()

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

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

Parameters
dataJSONDeserialized JSON data for OrderLineItem

Member Function Documentation

◆ customAttributes()

List<Attribute> Shopify.Unity.OrderLineItem.customAttributes ( )
inline

List of custom attributes associated to the line item.

◆ discountAllocations()

List<DiscountAllocation> Shopify.Unity.OrderLineItem.discountAllocations ( )
inline

The discounts that have been allocated onto the order line item by discount applications.

◆ quantity()

long Shopify.Unity.OrderLineItem.quantity ( )
inline

The number of products variants associated to the line item.

◆ title()

string Shopify.Unity.OrderLineItem.title ( )
inline

The title of the product combined with title of the variant.

◆ variant()

ProductVariant Shopify.Unity.OrderLineItem.variant ( )
inline

The product variant object associated to the line item.


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