Specifies the input fields to update a line item on the checkout.
More...
|
const string | idFieldKey = "id" |
|
const string | variantIdFieldKey = "variantId" |
|
const string | quantityFieldKey = "quantity" |
|
const string | customAttributesFieldKey = "customAttributes" |
|
|
void | Set (string key, object value) |
|
object | Get (string key) |
|
Specifies the input fields to update a line item on the checkout.
◆ CheckoutLineItemUpdateInput() [1/2]
Shopify.Unity.CheckoutLineItemUpdateInput.CheckoutLineItemUpdateInput |
( |
string |
id = null , |
|
|
string |
variantId = null , |
|
|
long? |
quantity = null , |
|
|
List< AttributeInput > |
customAttributes = null |
|
) |
| |
|
inline |
- Parameters
-
id | The identifier of the line item. |
variantId | The variant identifier of the line item. |
quantity | The quantity of the line item. |
customAttributes | Extra 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
-
id | The identifier of the line item. |
variantId | The variant identifier of the line item. |
quantity | The quantity of the line item. |
customAttributes | Extra information in the form of an array of Key-Value pairs about the line item. |
◆ 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:
- Assets/Shopify/Unity/Generated/CheckoutLineItemUpdateInput.cs