public static class Storefront.CartLineQuery extends Query<Storefront.CartLineQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Storefront.CartLineQuery |
attribute(java.lang.String key,
Storefront.AttributeQueryDefinition queryDef)
An attribute associated with the cart line.
|
Storefront.CartLineQuery |
attributes(Storefront.AttributeQueryDefinition queryDef)
The attributes associated with the cart line.
|
Storefront.CartLineQuery |
cost(Storefront.CartLineCostQueryDefinition queryDef)
The cost of the merchandise that the buyer will pay for at checkout.
|
Storefront.CartLineQuery |
discountAllocations(Storefront.CartDiscountAllocationQueryDefinition queryDef)
The discounts that have been applied to the cart line.
|
Storefront.CartLineQuery |
estimatedCost(Storefront.CartLineEstimatedCostQueryDefinition queryDef)
Deprecated.
Use `cost` instead.
|
Storefront.CartLineQuery |
merchandise(Storefront.MerchandiseQueryDefinition queryDef)
The merchandise that the buyer intends to purchase.
|
Storefront.CartLineQuery |
quantity()
The quantity of the merchandise that the customer intends to purchase.
|
Storefront.CartLineQuery |
sellingPlanAllocation(Storefront.SellingPlanAllocationQueryDefinition queryDef)
The selling plan associated with the cart line and the effect that each selling plan has on variants
when they're purchased.
|
appendQuotedString, startField, startInlineFragment, withAliaspublic Storefront.CartLineQuery attribute(java.lang.String key, Storefront.AttributeQueryDefinition queryDef)
public Storefront.CartLineQuery attributes(Storefront.AttributeQueryDefinition queryDef)
public Storefront.CartLineQuery cost(Storefront.CartLineCostQueryDefinition queryDef)
public Storefront.CartLineQuery discountAllocations(Storefront.CartDiscountAllocationQueryDefinition queryDef)
@Deprecated public Storefront.CartLineQuery estimatedCost(Storefront.CartLineEstimatedCostQueryDefinition queryDef)
public Storefront.CartLineQuery merchandise(Storefront.MerchandiseQueryDefinition queryDef)
public Storefront.CartLineQuery quantity()
public Storefront.CartLineQuery sellingPlanAllocation(Storefront.SellingPlanAllocationQueryDefinition queryDef)