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

Specifies the input fields to create a line item on a checkout. More...

Inheritance diagram for Shopify.Unity.CheckoutLineItemInput:
Shopify.Unity.SDK.InputBase

Public Member Functions

 CheckoutLineItemInput (long quantity, string variantId, List< AttributeInput > customAttributes=null)
 
 CheckoutLineItemInput (Dictionary< string, object > dataJSON)
 
- Public Member Functions inherited from Shopify.Unity.SDK.InputBase
override string ToString ()
 Returns a string representing a GraphQL input object. More...
 

Static Public Attributes

const string customAttributesFieldKey = "customAttributes"
 
const string quantityFieldKey = "quantity"
 
const string variantIdFieldKey = "variantId"
 

Properties

List< AttributeInputcustomAttributes [get, set]
 Extra information in the form of an array of Key-Value pairs about the line item. More...
 
long quantity [get, set]
 The quantity of the line item. More...
 
string variantId [get, set]
 The identifier of the product variant for the line item. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.InputBase
void Set (string key, object value)
 
object Get (string key)
 

Detailed Description

Specifies the input fields to create a line item on a checkout.

Constructor & Destructor Documentation

◆ CheckoutLineItemInput() [1/2]

Shopify.Unity.CheckoutLineItemInput.CheckoutLineItemInput ( long  quantity,
string  variantId,
List< AttributeInput customAttributes = null 
)
inline
Parameters
customAttributesExtra information in the form of an array of Key-Value pairs about the line item.
quantityThe quantity of the line item.
variantIdThe identifier of the product variant for the line item.

◆ CheckoutLineItemInput() [2/2]

Shopify.Unity.CheckoutLineItemInput.CheckoutLineItemInput ( Dictionary< string, object >  dataJSON)
inline
Parameters
customAttributesExtra information in the form of an array of Key-Value pairs about the line item.
quantityThe quantity of the line item.
variantIdThe identifier of the product variant for the line item.

Property Documentation

◆ customAttributes

List<AttributeInput> Shopify.Unity.CheckoutLineItemInput.customAttributes
getset

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

◆ quantity

long Shopify.Unity.CheckoutLineItemInput.quantity
getset

The quantity of the line item.

◆ variantId

string Shopify.Unity.CheckoutLineItemInput.variantId
getset

The identifier of the product variant for the line item.


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