Log in
Helper

CurrentCustomerAddress

Magento\Customer\Helper\Session\CurrentCustomerAddress

What it does

This helper class provides convenient access to the default billing and shipping addresses for the currently logged-in customer.

Developers would use this class when they need to retrieve address information for the active customer session, such as during checkout or in account management pages.

It acts as a wrapper around the AccountManagement service, automatically using the current customer's ID.

Public Methods

  • getDefaultBillingAddress()
  • getDefaultShippingAddress()