So I am working on this export for a SOAP web service, I am currently getting the order information from the following namespace \Magento\Sales\Api\OrderRepositoryInterface
but the thing is it doesn't return more specific that to the billing.
How can I get information like, postcode, order email etc? Is there any class for example BillingOrderRepositoryInterface
?
Thank you.
Best Answer
OLD ANSWER
So after a while of search the core code I found this class
\Magento\Sales\Api\OrderAddressRepositoryInterface
, returns all the billing information.Here is the implementation in case someone needs it.