Checkout
A container for all the information required to checkout items and pay.
The Storefront GraphQL Checkout API is deprecated and will be removed in a future version. Please see https://shopify.dev/changelog/deprecation-of-checkout-apis for more information.
import { Checkout } from '@daffodil/driver/shopify'
type Checkout = Node & {
__typename?: 'Checkout';
appliedGiftCards: Array<AppliedGiftCard>;
availableShippingRates?: Maybe<AvailableShippingRates>;
buyerIdentity: CheckoutBuyerIdentity;
completedAt?: Maybe<Scalars['DateTime']['output']>;
createdAt: Scalars['DateTime']['output'];
currencyCode: CurrencyCode;
customAttributes: Array<Attribute>;
discountApplications: DiscountApplicationConnection;
email?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
lineItems: CheckoutLineItemConnection;
lineItemsSubtotalPrice: MoneyV2;
note?: Maybe<Scalars['String']['output']>;
order?: Maybe<Order>;
orderStatusUrl?: Maybe<Scalars['URL']['output']>;
paymentDue: MoneyV2;
paymentDueV2: MoneyV2;
ready: Scalars['Boolean']['output'];
requiresShipping: Scalars['Boolean']['output'];
shippingAddress?: Maybe<MailingAddress>;
shippingDiscountAllocations: Array<DiscountAllocation>;
shippingLine?: Maybe<ShippingRate>;
subtotalPrice: MoneyV2;
subtotalPriceV2: MoneyV2;
taxExempt: Scalars['Boolean']['output'];
taxesIncluded: Scalars['Boolean']['output'];
totalDuties?: Maybe<MoneyV2>;
totalPrice: MoneyV2;
totalPriceV2: MoneyV2;
totalTax: MoneyV2;
totalTaxV2: MoneyV2;
updatedAt: Scalars['DateTime']['output'];
webUrl: Scalars['URL']['output'];
}
Type | Options |
---|---|
Checkout | Node & {
__typename?: 'Checkout';
appliedGiftCards: Array<AppliedGiftCard>;
availableShippingRates?: Maybe<AvailableShippingRates>;
buyerIdentity: CheckoutBuyerIdentity;
completedAt?: Maybe<Scalars['DateTime']['output']>;
createdAt: Scalars['DateTime']['output'];
currencyCode: CurrencyCode;
customAttributes: Array<Attribute>;
discountApplications: DiscountApplicationConnection;
email?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
lineItems: CheckoutLineItemConnection;
lineItemsSubtotalPrice: MoneyV2;
note?: Maybe<Scalars['String']['output']>;
order?: Maybe<Order>;
orderStatusUrl?: Maybe<Scalars['URL']['output']>;
paymentDue: MoneyV2;
paymentDueV2: MoneyV2;
ready: Scalars['Boolean']['output'];
requiresShipping: Scalars['Boolean']['output'];
shippingAddress?: Maybe<MailingAddress>;
shippingDiscountAllocations: Array<DiscountAllocation>;
shippingLine?: Maybe<ShippingRate>;
subtotalPrice: MoneyV2;
subtotalPriceV2: MoneyV2;
taxExempt: Scalars['Boolean']['output'];
taxesIncluded: Scalars['Boolean']['output'];
totalDuties?: Maybe<MoneyV2>;
totalPrice: MoneyV2;
totalPriceV2: MoneyV2;
totalTax: MoneyV2;
totalTaxV2: MoneyV2;
updatedAt: Scalars['DateTime']['output'];
webUrl: Scalars['URL']['output'];
} |