public static class Storefront.OrderLineItemQuery extends Query<Storefront.OrderLineItemQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Storefront.OrderLineItemQuery |
currentQuantity()
The number of entries associated to the line item minus the items that have been removed.
|
Storefront.OrderLineItemQuery |
customAttributes(Storefront.AttributeQueryDefinition queryDef)
List of custom attributes associated to the line item.
|
Storefront.OrderLineItemQuery |
discountAllocations(Storefront.DiscountAllocationQueryDefinition queryDef)
The discounts that have been allocated onto the order line item by discount applications.
|
Storefront.OrderLineItemQuery |
discountedTotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
The total price of the line item, including discounts, and displayed in the presentment currency.
|
Storefront.OrderLineItemQuery |
originalTotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
The total price of the line item, not including any discounts.
|
Storefront.OrderLineItemQuery |
quantity()
The number of products variants associated to the line item.
|
Storefront.OrderLineItemQuery |
title()
The title of the product combined with title of the variant.
|
Storefront.OrderLineItemQuery |
variant(Storefront.ProductVariantQueryDefinition queryDef)
The product variant object associated to the line item.
|
appendQuotedString, startField, startInlineFragment, withAliaspublic Storefront.OrderLineItemQuery currentQuantity()
public Storefront.OrderLineItemQuery customAttributes(Storefront.AttributeQueryDefinition queryDef)
public Storefront.OrderLineItemQuery discountAllocations(Storefront.DiscountAllocationQueryDefinition queryDef)
public Storefront.OrderLineItemQuery discountedTotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderLineItemQuery originalTotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderLineItemQuery quantity()
public Storefront.OrderLineItemQuery title()
public Storefront.OrderLineItemQuery variant(Storefront.ProductVariantQueryDefinition queryDef)