public static class Storefront.CartQuery extends Query<Storefront.CartQuery>
| Modifier and Type | Class and Description |
|---|---|
class |
Storefront.CartQuery.DeliveryGroupsArguments |
static interface |
Storefront.CartQuery.DeliveryGroupsArgumentsDefinition |
class |
Storefront.CartQuery.LinesArguments |
static interface |
Storefront.CartQuery.LinesArgumentsDefinition |
class |
Storefront.CartQuery.MetafieldArguments |
static interface |
Storefront.CartQuery.MetafieldArgumentsDefinition |
_queryBuilder, ALIAS_SUFFIX_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Storefront.CartQuery |
appliedGiftCards(Storefront.AppliedGiftCardQueryDefinition queryDef)
The gift cards that have been applied to the cart.
|
Storefront.CartQuery |
attribute(java.lang.String key,
Storefront.AttributeQueryDefinition queryDef)
An attribute associated with the cart.
|
Storefront.CartQuery |
attributes(Storefront.AttributeQueryDefinition queryDef)
The attributes associated with the cart.
|
Storefront.CartQuery |
buyerIdentity(Storefront.CartBuyerIdentityQueryDefinition queryDef)
Information about the buyer that's interacting with the cart.
|
Storefront.CartQuery |
checkoutUrl()
The URL of the checkout for the cart.
|
Storefront.CartQuery |
cost(Storefront.CartCostQueryDefinition queryDef)
The estimated costs that the buyer will pay at checkout.
|
Storefront.CartQuery |
createdAt()
The date and time when the cart was created.
|
Storefront.CartQuery |
deliveryGroups(Storefront.CartDeliveryGroupConnectionQueryDefinition queryDef)
The delivery groups available for the cart, based on the buyer identity default
delivery address preference or the default address of the logged-in customer.
|
Storefront.CartQuery |
deliveryGroups(Storefront.CartQuery.DeliveryGroupsArgumentsDefinition argsDef,
Storefront.CartDeliveryGroupConnectionQueryDefinition queryDef)
The delivery groups available for the cart, based on the buyer identity default
delivery address preference or the default address of the logged-in customer.
|
Storefront.CartQuery |
discountAllocations(Storefront.CartDiscountAllocationQueryDefinition queryDef)
The discounts that have been applied to the entire cart.
|
Storefront.CartQuery |
discountCodes(Storefront.CartDiscountCodeQueryDefinition queryDef)
The case-insensitive discount codes that the customer added at checkout.
|
Storefront.CartQuery |
estimatedCost(Storefront.CartEstimatedCostQueryDefinition queryDef)
Deprecated.
Use `cost` instead.
|
Storefront.CartQuery |
lines(Storefront.BaseCartLineConnectionQueryDefinition queryDef)
A list of lines containing information about the items the customer intends to purchase.
|
Storefront.CartQuery |
lines(Storefront.CartQuery.LinesArgumentsDefinition argsDef,
Storefront.BaseCartLineConnectionQueryDefinition queryDef)
A list of lines containing information about the items the customer intends to purchase.
|
Storefront.CartQuery |
metafield(java.lang.String key,
Storefront.CartQuery.MetafieldArgumentsDefinition argsDef,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.CartQuery |
metafield(java.lang.String key,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.CartQuery |
metafields(java.util.List<Storefront.HasMetafieldsIdentifier> identifiers,
Storefront.MetafieldQueryDefinition queryDef)
The metafields associated with the resource matching the supplied list of namespaces and keys.
|
Storefront.CartQuery |
note()
A note that's associated with the cart.
|
Storefront.CartQuery |
totalQuantity()
The total number of items in the cart.
|
Storefront.CartQuery |
updatedAt()
The date and time when the cart was updated.
|
appendQuotedString, startField, startInlineFragment, withAliaspublic Storefront.CartQuery appliedGiftCards(Storefront.AppliedGiftCardQueryDefinition queryDef)
public Storefront.CartQuery attribute(java.lang.String key, Storefront.AttributeQueryDefinition queryDef)
public Storefront.CartQuery attributes(Storefront.AttributeQueryDefinition queryDef)
public Storefront.CartQuery buyerIdentity(Storefront.CartBuyerIdentityQueryDefinition queryDef)
public Storefront.CartQuery checkoutUrl()
public Storefront.CartQuery cost(Storefront.CartCostQueryDefinition queryDef)
public Storefront.CartQuery createdAt()
public Storefront.CartQuery deliveryGroups(Storefront.CartDeliveryGroupConnectionQueryDefinition queryDef)
public Storefront.CartQuery deliveryGroups(Storefront.CartQuery.DeliveryGroupsArgumentsDefinition argsDef, Storefront.CartDeliveryGroupConnectionQueryDefinition queryDef)
public Storefront.CartQuery discountAllocations(Storefront.CartDiscountAllocationQueryDefinition queryDef)
public Storefront.CartQuery discountCodes(Storefront.CartDiscountCodeQueryDefinition queryDef)
@Deprecated public Storefront.CartQuery estimatedCost(Storefront.CartEstimatedCostQueryDefinition queryDef)
public Storefront.CartQuery lines(Storefront.BaseCartLineConnectionQueryDefinition queryDef)
public Storefront.CartQuery lines(Storefront.CartQuery.LinesArgumentsDefinition argsDef, Storefront.BaseCartLineConnectionQueryDefinition queryDef)
public Storefront.CartQuery metafield(java.lang.String key, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.CartQuery metafield(java.lang.String key, Storefront.CartQuery.MetafieldArgumentsDefinition argsDef, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.CartQuery metafields(java.util.List<Storefront.HasMetafieldsIdentifier> identifiers, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.CartQuery note()
public Storefront.CartQuery totalQuantity()
public Storefront.CartQuery updatedAt()