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