protected function getBillingAddressData(array $data = [])
    {
        $address = $this->getAddressData('Billing');

        foreach ($address as $name => $value) {
            $data['Billing' . $name] = $value;
        }

        return $data;
    }
protected function getBillingAddressData(array $data = [])
    {
        $address = $this->getAddressData('Billing');

        foreach ($address as $name => $value) {
            $data['Billing' . $name] = $value;
        }

        return $data;
    }
protected function getBillingAddressData ( array $ data = [ ] ) { $ address = $ this -> getAddressData ( 'Billing' ) ; foreach ( $ address as $ name => $ value ) { $ data [ 'Billing' . $ name ] = $ value ; } return $ data ; }
Add the billing address details to the data.

@param array $data
@return array $data
Add the billing address details to the data .