How to get billing addresses details in magento2

How to get billing addresses details in magento2:

$objectManager = \Magento\Framework\App\ObjectManager::getInstance();

$cartObj = $objectManager->get('\Magento\Checkout\Model\Cart');

$billingAddressInfo = $cartObj->getQuote()->getBillingAddress();

$billingAddressData = $billingAddressInfo->getData());

CORNER OF BLOG:

“Forge Your Future.”

Leave a Reply