How to load a customer profile from address module I'm using Drupal 8 with the module Commerce  and I have an issue with the customer address.

I'm developing an export custom module in D8, and I'm stuck trying to load the profile (to access billing and shipping address) of a customer.

I'm not able to access this data from the custom module. And there is no documentation about the address pluggin ( https://www.drupal.org/project/address )

I have tried to load the order and the user data but there is no relevant field that helps  me to achieve this.

Can anyone give me a hint?

Thanks in advance.
you can try get profile by order and can try the code below:

$order_id =1;
$entityManager = \Drupal::entityTypeManager();
$order = $entityManager-&gt;getStorage('commerce_order')-&gt;load($order_id);


get address by field billing_profile      

$address = $order-&gt;billing_profile-&gt;entity-&gt;address-&gt;getValue();