OBJECT

Checkout

Checkout object

link GraphQL Schema definition

  • type Checkout implements Node {
  • created: DateTime!
  • lastChange: DateTime!
  • user: User
  • token: UUID!
  • quantity: Int!
  • billingAddress: Address
  • shippingAddress: Address
  • shippingMethod: ShippingMethod
  • note: String!
  • discountAmount: Money
  • discountName: String
  • translatedDiscountName: String
  • voucherCode: String
  • # List of gift cards associated with this checkout
  • giftCards: [GiftCard]
  • # The ID of the object.
  • id: ID!
  • # Shipping methods that can be used with this order.
  • availableShippingMethods: [ShippingMethod]!
  • # List of available payment gateways.
  • availablePaymentGateways: [GatewaysEnum]!
  • # Email of a customer
  • email: String!
  • # Returns True, if checkout requires shipping.
  • isShippingRequired: Boolean!
  • # A list of checkout lines, each containing information about an item
  • # in the checkout.
  • lines: [CheckoutLine]
  • # The price of the shipping, with all the taxes included.
  • shippingPrice: TaxedMoney
  • # The price of the checkout before shipping, with taxes included.
  • subtotalPrice: TaxedMoney
  • # The sum of the the checkout line prices, with all the taxes,shipping
  • # costs, and discounts included.
  • totalPrice: TaxedMoney
  • }