protected function convertAddressLineData($localAddressData, array $address)
    {
        if ('AT' == $address['CountryCode'] || 'DE' == $address['CountryCode']) {
            $addressLine1 = $address['AddressLine1'];
            $addressLine2 = $address['AddressLine2'];
            $addressLine3 = $address['AddressLine3'];
            $postBox = '';
            $company = '';
            $street = '';
            if ('' != $addressLine3) {
                $street = $addressLine3;
                if (true === is_numeric($addressLine1) ||
                    true === strstr($addressLine1.' '.$addressLine2, 'Packstation')
                ) {
                    $postBox = $addressLine1.' '.$addressLine2;
                } else {
                    $company = $addressLine1.' '.$addressLine2;
                }
            } else {
                if ('' != $addressLine2) {
                    $street = $addressLine2;
                    if (true === is_numeric($addressLine1) || true === strstr($addressLine1, 'Packstation')) {
                        $postBox = $addressLine1;
                    } else {
                        $company = $addressLine1;
                    }
                } else {
                    if ('' != $addressLine1) {
                        $street = $addressLine1;
                    }
                }
            }
            $localAddressData['company'] = $company;
            $localAddressData['address_additional_info'] = $postBox;
            $localAddressData['street'] = $street;
        }

        return $localAddressData;
    }