public static class Storefront.CheckoutQuery
extends <any>
| Modifier and Type | Class and Description |
|---|---|
class |
Storefront.CheckoutQuery.DiscountApplicationsArguments |
static interface |
Storefront.CheckoutQuery.DiscountApplicationsArgumentsDefinition |
class |
Storefront.CheckoutQuery.LineItemsArguments |
static interface |
Storefront.CheckoutQuery.LineItemsArgumentsDefinition |
| Modifier and Type | Method and Description |
|---|---|
Storefront.CheckoutQuery |
appliedGiftCards(Storefront.AppliedGiftCardQueryDefinition queryDef)
The gift cards used on the checkout.
|
Storefront.CheckoutQuery |
availableShippingRates(Storefront.AvailableShippingRatesQueryDefinition queryDef)
The available shipping rates for this Checkout.
|
Storefront.CheckoutQuery |
completedAt()
The date and time when the checkout was completed.
|
Storefront.CheckoutQuery |
createdAt()
The date and time when the checkout was created.
|
Storefront.CheckoutQuery |
currencyCode()
The currency code for the Checkout.
|
Storefront.CheckoutQuery |
customAttributes(Storefront.AttributeQueryDefinition queryDef)
A list of extra information that is added to the checkout.
|
Storefront.CheckoutQuery |
customer(Storefront.CustomerQueryDefinition queryDef)
Deprecated.
This field will always return null. If you have an authentication token for the customer, you can use the `customer` field on the query root to retrieve it.
|
Storefront.CheckoutQuery |
discountApplications(Storefront.CheckoutQuery.DiscountApplicationsArgumentsDefinition argsDef,
Storefront.DiscountApplicationConnectionQueryDefinition queryDef)
Discounts that have been applied on the checkout.
|
Storefront.CheckoutQuery |
discountApplications(Storefront.DiscountApplicationConnectionQueryDefinition queryDef)
Discounts that have been applied on the checkout.
|
Storefront.CheckoutQuery |
email()
The email attached to this checkout.
|
Storefront.CheckoutQuery |
lineItems(Storefront.CheckoutLineItemConnectionQueryDefinition queryDef)
A list of line item objects, each one containing information about an item in the checkout.
|
Storefront.CheckoutQuery |
lineItems(Storefront.CheckoutQuery.LineItemsArgumentsDefinition argsDef,
Storefront.CheckoutLineItemConnectionQueryDefinition queryDef)
A list of line item objects, each one containing information about an item in the checkout.
|
Storefront.CheckoutQuery |
lineItemsSubtotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
The sum of all the prices of all the items in the checkout.
|
Storefront.CheckoutQuery |
note()
The note associated with the checkout.
|
Storefront.CheckoutQuery |
order(Storefront.OrderQueryDefinition queryDef)
The resulting order from a paid checkout.
|
Storefront.CheckoutQuery |
orderStatusUrl()
The Order Status Page for this Checkout, null when checkout is not completed.
|
Storefront.CheckoutQuery |
paymentDue()
Deprecated.
Use `paymentDueV2` instead
|
Storefront.CheckoutQuery |
paymentDueV2(Storefront.MoneyV2QueryDefinition queryDef)
The amount left to be paid.
|
Storefront.CheckoutQuery |
ready()
Whether or not the Checkout is ready and can be completed.
|
Storefront.CheckoutQuery |
requiresShipping()
States whether or not the fulfillment requires shipping.
|
Storefront.CheckoutQuery |
shippingAddress(Storefront.MailingAddressQueryDefinition queryDef)
The shipping address to where the line items will be shipped.
|
Storefront.CheckoutQuery |
shippingDiscountAllocations(Storefront.DiscountAllocationQueryDefinition queryDef)
The discounts that have been allocated onto the shipping line by discount applications.
|
Storefront.CheckoutQuery |
shippingLine(Storefront.ShippingRateQueryDefinition queryDef)
Once a shipping rate is selected by the customer it is transitioned to a `shipping_line` object.
|
Storefront.CheckoutQuery |
subtotalPrice()
Deprecated.
Use `subtotalPriceV2` instead
|
Storefront.CheckoutQuery |
subtotalPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
Price of the checkout before duties, shipping and taxes.
|
Storefront.CheckoutQuery |
taxesIncluded()
Specifies if taxes are included in the line item and shipping line prices.
|
Storefront.CheckoutQuery |
taxExempt()
Specifies if the Checkout is tax exempt.
|
Storefront.CheckoutQuery |
totalDuties(Storefront.MoneyV2QueryDefinition queryDef)
The sum of all the duties applied to the line items in the checkout.
|
Storefront.CheckoutQuery |
totalPrice()
Deprecated.
Use `totalPriceV2` instead
|
Storefront.CheckoutQuery |
totalPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
The sum of all the prices of all the items in the checkout, duties, taxes and discounts included.
|
Storefront.CheckoutQuery |
totalTax()
Deprecated.
Use `totalTaxV2` instead
|
Storefront.CheckoutQuery |
totalTaxV2(Storefront.MoneyV2QueryDefinition queryDef)
The sum of all the taxes applied to the line items and shipping lines in the checkout.
|
Storefront.CheckoutQuery |
updatedAt()
The date and time when the checkout was last updated.
|
Storefront.CheckoutQuery |
webUrl()
The url pointing to the checkout accessible from the web.
|
public Storefront.CheckoutQuery appliedGiftCards(Storefront.AppliedGiftCardQueryDefinition queryDef)
public Storefront.CheckoutQuery availableShippingRates(Storefront.AvailableShippingRatesQueryDefinition queryDef)
public Storefront.CheckoutQuery completedAt()
public Storefront.CheckoutQuery createdAt()
public Storefront.CheckoutQuery currencyCode()
public Storefront.CheckoutQuery customAttributes(Storefront.AttributeQueryDefinition queryDef)
@Deprecated public Storefront.CheckoutQuery customer(Storefront.CustomerQueryDefinition queryDef)
public Storefront.CheckoutQuery discountApplications(Storefront.DiscountApplicationConnectionQueryDefinition queryDef)
public Storefront.CheckoutQuery discountApplications(Storefront.CheckoutQuery.DiscountApplicationsArgumentsDefinition argsDef, Storefront.DiscountApplicationConnectionQueryDefinition queryDef)
public Storefront.CheckoutQuery email()
public Storefront.CheckoutQuery lineItems(Storefront.CheckoutLineItemConnectionQueryDefinition queryDef)
public Storefront.CheckoutQuery lineItems(Storefront.CheckoutQuery.LineItemsArgumentsDefinition argsDef, Storefront.CheckoutLineItemConnectionQueryDefinition queryDef)
public Storefront.CheckoutQuery lineItemsSubtotalPrice(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.CheckoutQuery note()
public Storefront.CheckoutQuery order(Storefront.OrderQueryDefinition queryDef)
public Storefront.CheckoutQuery orderStatusUrl()
@Deprecated public Storefront.CheckoutQuery paymentDue()
public Storefront.CheckoutQuery paymentDueV2(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.CheckoutQuery ready()
public Storefront.CheckoutQuery requiresShipping()
public Storefront.CheckoutQuery shippingAddress(Storefront.MailingAddressQueryDefinition queryDef)
public Storefront.CheckoutQuery shippingDiscountAllocations(Storefront.DiscountAllocationQueryDefinition queryDef)
public Storefront.CheckoutQuery shippingLine(Storefront.ShippingRateQueryDefinition queryDef)
@Deprecated public Storefront.CheckoutQuery subtotalPrice()
public Storefront.CheckoutQuery subtotalPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.CheckoutQuery taxExempt()
public Storefront.CheckoutQuery taxesIncluded()
public Storefront.CheckoutQuery totalDuties(Storefront.MoneyV2QueryDefinition queryDef)
@Deprecated public Storefront.CheckoutQuery totalPrice()
public Storefront.CheckoutQuery totalPriceV2(Storefront.MoneyV2QueryDefinition queryDef)
@Deprecated public Storefront.CheckoutQuery totalTax()
public Storefront.CheckoutQuery totalTaxV2(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.CheckoutQuery updatedAt()
public Storefront.CheckoutQuery webUrl()