public static class Storefront.OrderQuery extends Query<Storefront.OrderQuery>
| Modifier and Type | Class and Description |
|---|---|
class |
Storefront.OrderQuery.DiscountApplicationsArguments |
static interface |
Storefront.OrderQuery.DiscountApplicationsArgumentsDefinition |
class |
Storefront.OrderQuery.LineItemsArguments |
static interface |
Storefront.OrderQuery.LineItemsArgumentsDefinition |
class |
Storefront.OrderQuery.MetafieldArguments |
static interface |
Storefront.OrderQuery.MetafieldArgumentsDefinition |
class |
Storefront.OrderQuery.SuccessfulFulfillmentsArguments |
static interface |
Storefront.OrderQuery.SuccessfulFulfillmentsArgumentsDefinition |
_queryBuilder, ALIAS_SUFFIX_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Storefront.OrderQuery |
billingAddress(Storefront.MailingAddressQueryDefinition queryDef)
The address associated with the payment method.
|
Storefront.OrderQuery |
canceledAt()
The date and time when the order was canceled.
|
Storefront.OrderQuery |
cancelReason()
The reason for the order's cancellation.
|
Storefront.OrderQuery |
currencyCode()
The code of the currency used for the payment.
|
Storefront.OrderQuery |
currentSubtotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
The subtotal of line items and their discounts, excluding line items that have been removed.
|
Storefront.OrderQuery |
currentTotalDuties(Storefront.MoneyV2QueryDefinition queryDef)
The total cost of duties for the order, including refunds.
|
Storefront.OrderQuery |
currentTotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
The total amount of the order, including duties, taxes and discounts, minus amounts for line items
that have been removed.
|
Storefront.OrderQuery |
currentTotalShippingPrice(Storefront.MoneyV2QueryDefinition queryDef)
The total cost of shipping, excluding shipping lines that have been refunded or removed.
|
Storefront.OrderQuery |
currentTotalTax(Storefront.MoneyV2QueryDefinition queryDef)
The total of all taxes applied to the order, excluding taxes for returned line items.
|
Storefront.OrderQuery |
customAttributes(Storefront.AttributeQueryDefinition queryDef)
A list of the custom attributes added to the order.
|
Storefront.OrderQuery |
customerLocale()
The locale code in which this specific order happened.
|
Storefront.OrderQuery |
customerUrl()
The unique URL that the customer can use to access the order.
|
Storefront.OrderQuery |
discountApplications(Storefront.DiscountApplicationConnectionQueryDefinition queryDef)
Discounts that have been applied on the order.
|
Storefront.OrderQuery |
discountApplications(Storefront.OrderQuery.DiscountApplicationsArgumentsDefinition argsDef,
Storefront.DiscountApplicationConnectionQueryDefinition queryDef)
Discounts that have been applied on the order.
|
Storefront.OrderQuery |
edited()
Whether the order has had any edits applied or not.
|
Storefront.OrderQuery |
email()
The customer's email address.
|
Storefront.OrderQuery |
financialStatus()
The financial status of the order.
|
Storefront.OrderQuery |
fulfillmentStatus()
The fulfillment status for the order.
|
Storefront.OrderQuery |
lineItems(Storefront.OrderLineItemConnectionQueryDefinition queryDef)
List of the order’s line items.
|
Storefront.OrderQuery |
lineItems(Storefront.OrderQuery.LineItemsArgumentsDefinition argsDef,
Storefront.OrderLineItemConnectionQueryDefinition queryDef)
List of the order’s line items.
|
Storefront.OrderQuery |
metafield(java.lang.String key,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.OrderQuery |
metafield(java.lang.String key,
Storefront.OrderQuery.MetafieldArgumentsDefinition argsDef,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.OrderQuery |
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.OrderQuery |
name()
Unique identifier for the order that appears on the order.
|
Storefront.OrderQuery |
orderNumber()
A unique numeric identifier for the order for use by shop owner and customer.
|
Storefront.OrderQuery |
originalTotalDuties(Storefront.MoneyV2QueryDefinition queryDef)
The total cost of duties charged at checkout.
|
Storefront.OrderQuery |
originalTotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
The total price of the order before any applied edits.
|
Storefront.OrderQuery |
phone()
The customer's phone number for receiving SMS notifications.
|
Storefront.OrderQuery |
processedAt()
The date and time when the order was imported.
|
Storefront.OrderQuery |
shippingAddress(Storefront.MailingAddressQueryDefinition queryDef)
The address to where the order will be shipped.
|
Storefront.OrderQuery |
shippingDiscountAllocations(Storefront.DiscountAllocationQueryDefinition queryDef)
The discounts that have been allocated onto the shipping line by discount applications.
|
Storefront.OrderQuery |
statusUrl()
The unique URL for the order's status page.
|
Storefront.OrderQuery |
subtotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
Price of the order before shipping and taxes.
|
Storefront.OrderQuery |
subtotalPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
Deprecated.
Use `subtotalPrice` instead.
|
Storefront.OrderQuery |
successfulFulfillments(Storefront.FulfillmentQueryDefinition queryDef)
List of the order’s successful fulfillments.
|
Storefront.OrderQuery |
successfulFulfillments(Storefront.OrderQuery.SuccessfulFulfillmentsArgumentsDefinition argsDef,
Storefront.FulfillmentQueryDefinition queryDef)
List of the order’s successful fulfillments.
|
Storefront.OrderQuery |
totalPrice(Storefront.MoneyV2QueryDefinition queryDef)
The sum of all the prices of all the items in the order, duties, taxes and discounts included (must
be positive).
|
Storefront.OrderQuery |
totalPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
Deprecated.
Use `totalPrice` instead.
|
Storefront.OrderQuery |
totalRefunded(Storefront.MoneyV2QueryDefinition queryDef)
The total amount that has been refunded.
|
Storefront.OrderQuery |
totalRefundedV2(Storefront.MoneyV2QueryDefinition queryDef)
Deprecated.
Use `totalRefunded` instead.
|
Storefront.OrderQuery |
totalShippingPrice(Storefront.MoneyV2QueryDefinition queryDef)
The total cost of shipping.
|
Storefront.OrderQuery |
totalShippingPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
Deprecated.
Use `totalShippingPrice` instead.
|
Storefront.OrderQuery |
totalTax(Storefront.MoneyV2QueryDefinition queryDef)
The total cost of taxes.
|
Storefront.OrderQuery |
totalTaxV2(Storefront.MoneyV2QueryDefinition queryDef)
Deprecated.
Use `totalTax` instead.
|
appendQuotedString, startField, startInlineFragment, withAliaspublic Storefront.OrderQuery billingAddress(Storefront.MailingAddressQueryDefinition queryDef)
public Storefront.OrderQuery cancelReason()
public Storefront.OrderQuery canceledAt()
public Storefront.OrderQuery currencyCode()
public Storefront.OrderQuery currentSubtotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery currentTotalDuties(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery currentTotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery currentTotalShippingPrice(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery currentTotalTax(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery customAttributes(Storefront.AttributeQueryDefinition queryDef)
public Storefront.OrderQuery customerLocale()
public Storefront.OrderQuery customerUrl()
public Storefront.OrderQuery discountApplications(Storefront.DiscountApplicationConnectionQueryDefinition queryDef)
public Storefront.OrderQuery discountApplications(Storefront.OrderQuery.DiscountApplicationsArgumentsDefinition argsDef, Storefront.DiscountApplicationConnectionQueryDefinition queryDef)
public Storefront.OrderQuery edited()
public Storefront.OrderQuery email()
public Storefront.OrderQuery financialStatus()
public Storefront.OrderQuery fulfillmentStatus()
public Storefront.OrderQuery lineItems(Storefront.OrderLineItemConnectionQueryDefinition queryDef)
public Storefront.OrderQuery lineItems(Storefront.OrderQuery.LineItemsArgumentsDefinition argsDef, Storefront.OrderLineItemConnectionQueryDefinition queryDef)
public Storefront.OrderQuery metafield(java.lang.String key, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.OrderQuery metafield(java.lang.String key, Storefront.OrderQuery.MetafieldArgumentsDefinition argsDef, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.OrderQuery metafields(java.util.List<Storefront.HasMetafieldsIdentifier> identifiers, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.OrderQuery name()
public Storefront.OrderQuery orderNumber()
public Storefront.OrderQuery originalTotalDuties(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery originalTotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery phone()
public Storefront.OrderQuery processedAt()
public Storefront.OrderQuery shippingAddress(Storefront.MailingAddressQueryDefinition queryDef)
public Storefront.OrderQuery shippingDiscountAllocations(Storefront.DiscountAllocationQueryDefinition queryDef)
public Storefront.OrderQuery statusUrl()
public Storefront.OrderQuery subtotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
@Deprecated public Storefront.OrderQuery subtotalPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery successfulFulfillments(Storefront.FulfillmentQueryDefinition queryDef)
public Storefront.OrderQuery successfulFulfillments(Storefront.OrderQuery.SuccessfulFulfillmentsArgumentsDefinition argsDef, Storefront.FulfillmentQueryDefinition queryDef)
public Storefront.OrderQuery totalPrice(Storefront.MoneyV2QueryDefinition queryDef)
@Deprecated public Storefront.OrderQuery totalPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery totalRefunded(Storefront.MoneyV2QueryDefinition queryDef)
@Deprecated public Storefront.OrderQuery totalRefundedV2(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery totalShippingPrice(Storefront.MoneyV2QueryDefinition queryDef)
@Deprecated public Storefront.OrderQuery totalShippingPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.OrderQuery totalTax(Storefront.MoneyV2QueryDefinition queryDef)
@Deprecated public Storefront.OrderQuery totalTaxV2(Storefront.MoneyV2QueryDefinition queryDef)