Log in
Model

ExtractQuoteAddressData

Magento\QuoteGraphQl\Model\Cart\ExtractQuoteAddressData

What it does

This model class transforms a Quote Address object into a flat array structure suitable for GraphQL responses.

Developers use it when building GraphQL resolvers that need to return cart address data, as it handles field mapping, UID encoding, and nested data like country/region details and cart items.

It's essential for the checkout and cart GraphQL API endpoints.

Public Methods

  • execute()