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

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

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

Public Member Functions

 CheckoutLineItemUpdateInput (string id=null, string variantId=null, long? quantity=null, List< AttributeInput > customAttributes=null)
 
 CheckoutLineItemUpdateInput (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 idFieldKey = "id"
 
const string variantIdFieldKey = "variantId"
 
const string quantityFieldKey = "quantity"
 
const string customAttributesFieldKey = "customAttributes"
 

Properties

string id [get, set]
 The identifier of the line item. More...
 
string variantId [get, set]
 The variant identifier of the line item. More...
 
long? quantity [get, set]
 The quantity of the line item. More...
 
List< AttributeInputcustomAttributes [get, set]
 Extra information in the form of an array of Key-Value pairs about 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 update a line item on the checkout.

Constructor & Destructor Documentation

◆ CheckoutLineItemUpdateInput() [1/2]

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

◆ CheckoutLineItemUpdateInput() [2/2]

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

Property Documentation

◆ customAttributes

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

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

◆ id

string Shopify.Unity.CheckoutLineItemUpdateInput.id
getset

The identifier of the line item.

◆ quantity

long? Shopify.Unity.CheckoutLineItemUpdateInput.quantity
getset

The quantity of the line item.

◆ variantId

string Shopify.Unity.CheckoutLineItemUpdateInput.variantId
getset

The variant identifier of the line item.


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