Log in
Model

ExtractCustomerAddressData

Magento\CustomerGraphQl\Model\Customer\Address\ExtractCustomerAddressData

What it does

This class transforms customer address objects into array format for GraphQL responses.

Developers use it when implementing GraphQL queries that need to return customer address data, as it handles extracting address information, setting default billing/shipping flags, formatting custom attributes, and preparing the data structure for API output.

Public Methods

  • execute()