Log in
Model

PopulateCustomerAddressFromInput

Magento\CustomerGraphQl\Model\Customer\Address\PopulateCustomerAddressFromInput

What it does

This class populates a customer address object with data received from GraphQL input.

Developers use it when processing GraphQL mutations that create or update customer addresses, ensuring the address data (including region information) is properly validated and formatted before saving.

It handles the conversion of raw input arrays into structured AddressInterface objects with proper region data.

Public Methods

  • execute()