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

A single line item in the checkout, grouped by variant and attributes. More...

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

Public Member Functions

 CheckoutLineItem (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
List< AttributecustomAttributes ()
 Extra information in the form of an array of Key-Value pairs about the line item. More...
 
List< DiscountAllocationdiscountAllocations ()
 The discounts that have been allocated onto the checkout line item by discount applications. More...
 
string id ()
 Globally unique identifier. More...
 
long quantity ()
 The quantity of the line item. More...
 
string title ()
 Title of the line item. Defaults to the product's title. More...
 
ProductVariant variant ()
 Product variant of 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

A single line item in the checkout, grouped by variant and attributes.

Constructor & Destructor Documentation

◆ CheckoutLineItem()

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

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

Parameters
dataJSONDeserialized JSON data for CheckoutLineItem

Member Function Documentation

◆ customAttributes()

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

Extra information in the form of an array of Key-Value pairs about the line item.

◆ discountAllocations()

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

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

◆ id()

string Shopify.Unity.CheckoutLineItem.id ( )
inline

Globally unique identifier.

Implements Shopify.Unity.Node.

◆ quantity()

long Shopify.Unity.CheckoutLineItem.quantity ( )
inline

The quantity of the line item.

◆ title()

string Shopify.Unity.CheckoutLineItem.title ( )
inline

Title of the line item. Defaults to the product's title.

◆ variant()

ProductVariant Shopify.Unity.CheckoutLineItem.variant ( )
inline

Product variant of the line item.


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