code: public final Long formatIndex(final PhoneNumberInterface pphoneNumberData) {
      if (isPhoneNumberNotEmpty(pphoneNumberData)) {
        return Long.valueOf(StringUtils.defaultString(pphoneNumberData.getCountryCode())
            + StringUtils.defaultString(pphoneNumberData.getAreaCode())
            + StringUtils.defaultString(pphoneNumberData.getLineNumber())
            + StringUtils.defaultString(pphoneNumberData.getExtension()));
      }
      return null;
    }
docs: format phone number in URL format.
  
  @param pphoneNumberData phone number to format
  @return formated phone number as Long