/*
(non-Javadoc)
@see com.popbill.api.FaxService#getFaxResultRN(java.lang.String, java.lang.String)
972682
@Override
	public FaxResult[] getFaxResultRN(String corpNum, String requestNum)
			throws PopbillException {
		if (requestNum == null)
			throw new PopbillException(-99999999, "전송요청번호가 입력되지 않았습니다.");

		return httpget("/FAX/Get/" + requestNum, corpNum, null,
				FaxResult[].class);
	}
990165
@Override
	public SenderNumber[] getSenderNumberList(String corpNum, String userID)
			throws PopbillException {
		
		return httpget("/FAX/SenderNumber", corpNum, userID, SenderNumber[].class);
	}
750591
@Override
    public String getColumnName(int column) {
		try {
			java.util.List<String> signature = results.getSignature();
			if (signature != null && column < signature.size()) {
				return results.getSignature().get(column);
			} else {
				return "";
			}
		} catch (Exception e) {
			e.printStackTrace();
			return "ERROR";
		}
	}
152930
@Override
    public SentMessage[] getMessagesRN(String CorpNum, String requestNum)
            throws PopbillException {
        if (requestNum == null)
            throw new PopbillException(-99999999, "전송요청번호가 입력되지 않았습니다.");

        return httpget("/Message/Get/" + requestNum, CorpNum, null,
                SentMessage[].class);
    }
712495
@Override
    public IssueResponse registIssue(String CorpNum, Taxinvoice taxinvoice,
                                String Memo, Boolean ForceIssue) throws PopbillException {

        return registIssue(CorpNum, taxinvoice, false, Memo, ForceIssue, null, null, null);
    }
583671
public FaxJobStatus getFaxJobStatus(HTTPResponse httpResponse)
    {
        //get path
        String path=this.getPathToResponseData(FaxActionType.GET_FAX_JOB_STATUS);

        //get fax job status string
        String faxJobStatusStr=this.findValue(httpResponse,path);
        
        FaxJobStatus faxJobStatus=FaxJobStatus.UNKNOWN;
        if(faxJobStatusStr!=null)
        {
            faxJobStatus=this.getFaxJobStatusFromStatusString(faxJobStatusStr);
            if(faxJobStatus==null)
            {
                faxJobStatus=FaxJobStatus.UNKNOWN;
            }
        }
        
        return faxJobStatus;
    }
1148950
@Override
	public String sendFAX(String corpNum, String sendNum, String receiveNum,
			String receiveName, File[] files, Date reserveDT, String userID,
			String title) throws PopbillException {
		
		Receiver receiver = new Receiver();
		receiver.setReceiveNum(receiveNum);
		receiver.setReceiveName(receiveName);
		
		return requestFax(corpNum, sendNum, null, new Receiver[]{receiver}, 
				files, reserveDT, userID, false, title, null);
	}
1105979
@Override
	public StatementInfo getInfo(String CorpNum, int ItemCode, String MgtKey)
			throws PopbillException {
		if (MgtKey == null || MgtKey.isEmpty())
			throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다.");
		
		return httpget("/Statement/" + ItemCode + "/" + MgtKey, 
					CorpNum, null, StatementInfo.class);
	}
1188754
@Override
    protected void populateStatusString2FaxStatusMappings()
    {
        //populate map
        FaxJobStatus[] faxJobStatuses=new FaxJobStatus[]{FaxJobStatus.PENDING,FaxJobStatus.IN_PROGRESS,FaxJobStatus.ERROR};
        Enum<?>[] configurationKeys=new Enum<?>[]{JSONHTTPResponseHandlerConfigurationConstants.PENDING_STATUS_MAPPING_PROPERTY_KEY,
                                     JSONHTTPResponseHandlerConfigurationConstants.IN_PROGRESS_STATUS_MAPPING_PROPERTY_KEY,
                                     JSONHTTPResponseHandlerConfigurationConstants.ERROR_STATUS_MAPPING_PROPERTY_KEY};
        this.populateStatusString2FaxStatusMappings(faxJobStatuses,configurationKeys);
    }
849036
def getInfo(self, CorpNum, MgtKey):
        

        if MgtKey == None or MgtKey == "":
            raise PopbillException(-99999999, "관리번호가 입력되지 않았습니다.")

        return self._httpget('/Cashbill/' + MgtKey, CorpNum)
320051
@Override
	public String getMassPrintURL(String CorpNum, int ItemCode,
			String[] MgtKeyList) throws PopbillException {
		return getMassPrintURL(CorpNum, ItemCode, MgtKeyList, null);
	}
442629
public Response checkDeptUser(String CorpNum) throws PopbillException{
		if (CorpNum == null || CorpNum.isEmpty())
			throw new PopbillException(-99999999, "연동회원 사업자번호(CorpNum)가 입력되지 않았습니다.");
		
		return httpget("/HomeTax/Taxinvoice/DeptUser", CorpNum, null, Response.class); 
	}
21085
@Override
	public CashbillInfo getInfo(String CorpNum, String MgtKey)
			throws PopbillException {
		if (MgtKey == null || MgtKey.isEmpty())
			throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다.");

		return httpget("/Cashbill/" + MgtKey, CorpNum,
				null, CashbillInfo.class);
	}
161540
@Override
	public double getBalance(String CorpNum) throws PopbillException {
		try {
			return getTokenbuilder().getBalance(
					this.getSessionToken(CorpNum, null));
		} catch (LinkhubException le) {
			throw new PopbillException(le);
		}
	}
1232775
public FaxJobStatus getFaxJobStatus(FaxClientSpi faxClientSpi,ProcessOutput processOutput)
    {
        //get output
        String output=WindowsFaxClientSpiHelper.getOutputPart(processOutput,Fax4jExeConstants.FAX_JOB_STATUS_OUTPUT_PREFIX.toString());

        FaxJobStatus faxJobStatus=null;
        if(output!=null)
        {
            //get fax job status
            faxJobStatus=WindowsFaxClientSpiHelper.getFaxJobStatusFromWindowsFaxJobStatusString(output);
        }

        return faxJobStatus;
    }
79629
public java.lang.String getResult() {
    java.lang.Object ref = result_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        result_ = s;
      }
      return s;
    }
  }
665336
@Override
    public Taxinvoice getDetailInfo(String CorpNum, MgtKeyType KeyType,
                                    String MgtKey) throws PopbillException {
        if (KeyType == null)
            throw new PopbillException(-99999999, "관리번호형태가 입력되지 않았습니다.");
        if (MgtKey == null || MgtKey.isEmpty())
            throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다.");

        return httpget("/Taxinvoice/" + KeyType.name() + "/" + MgtKey
                + "?Detail", CorpNum, null, Taxinvoice.class);
    }