Model
OrderAddress
Magento\SalesGraphQl\Model\Order\OrderAddress
What it does
This class formats order address data for GraphQL responses in Magento 2.
Developers use it to retrieve and structure both shipping and billing addresses from order objects into standardized arrays suitable for GraphQL API consumption, ensuring consistent address data formatting across the Sales GraphQL module.
Public Methods
- getOrderShippingAddress()
- getOrderBillingAddress()