/*
(non-Javadoc)
@see com.popbill.api.CashbillService#getChargeInfo(java.lang.String)
499877
@Override
	public ChargeInfo getChargeInfo(String CorpNum) throws PopbillException {
		return httpget("/Cashbill/ChargeInfo", CorpNum, null, ChargeInfo.class);
	}
941363
@Override
	public ChargeInfo getChargeInfo(String CorpNum, int ItemCode) throws PopbillException{
		return httpget("/Statement/ChargeInfo/" + Integer.toString(ItemCode), CorpNum, null, ChargeInfo.class);
	}
163418
public String getSelectionInfo(){
		StringBuilder result = new StringBuilder();
		
		result.append( "SelectionInfo: "+this.getClass().toString() +"\n" );
		result.append( "Page:"+ CITInfo( pageHandling )+"\n" );
		result.append( "FirstParagraph:" +CITInfo( firstParagraphHandling )+"\n");
		for( String key: sectionHandling.keySet() ){
			final String uss = SectionType.USER_SECTION.toString();
			if( key.startsWith( uss ) )
				result.append(uss+"["+key.substring( uss.length() )+"]:\n");
			else
				result.append(key+":\n");
			
			result.append( SITInfo( sectionHandling.get(key))+"\n" );
		}
 		
		return result.toString();
	}
258966
public Info getInfo(String ... fields) {
        QueryStringBuilder builder = new QueryStringBuilder();
        if (fields.length > 0) {
            builder.appendParam("fields", fields);
        }
        URL url = DEVICE_PIN_URL_TEMPLATE.buildWithQuery(this.getAPI().getBaseURL(), builder.toString(), this.getID());
        BoxAPIRequest request = new BoxAPIRequest(this.getAPI(), url, "GET");
        BoxJSONResponse response = (BoxJSONResponse) request.send();
        JsonObject responseJSON = JsonObject.readFrom(response.getJSON());
        return new Info(responseJSON);
    }
808418
@Override
	public HTCashbillSummary summary(String CorpNum, String JobID,
			String[] TradeUsage, String[] TradeType, String UserID)
			throws PopbillException {
		if ( JobID.length() != 18 )
			throw new PopbillException(-99999999, "작업아이디가 올바르지 않습니다.");
		
		String uri = "/HomeTax/Cashbill/"+JobID+"/Summary";
				
		uri += "?TradeUsage=" + Arrays.toString(TradeUsage)
				.replaceAll("\\[|\\]|\\s", "");
		uri += "&TradeType=" + Arrays.toString(TradeType)
				.replaceAll("\\[|\\]|\\s", "");
		
		
		return httpget(uri, CorpNum, UserID, HTCashbillSummary.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);
		}
	}
765712
public AccountInfo getAccountInfo() {
        OAuthRequest request = new OAuthRequest(Verb.GET, INFO_URL);
        service.signRequest(accessToken, request);
        String content = check(request.send()).getBody();

        return Json.parse(content, AccountInfo.class);
    }
580738
@Override
  public Account getAccountInfo() throws DigitalOceanException, RequestUnsuccessfulException {
    return (Account) perform(new ApiRequest(ApiAction.GET_ACCOUNT_INFO)).getData();
  }
387911
private static void getAccountInfo() {
    try {
      Account response = Account.getter()
        .get();
      System.out.println(response);
    } catch (PlivoRestException | IOException e) {
      e.printStackTrace();
    }
  }
1349977
public static RequestInfo getRequestInfo(HttpServletRequest request) {
      RequestInfo requestInfo = (RequestInfo) request.getAttribute(REQUEST_INFO);
      if (requestInfo == null) {
         requestInfo = new RequestInfo(request);
         request.setAttribute(REQUEST_INFO, requestInfo);
      }
      
      return requestInfo;
   }
594444
public BillDetail<Bill> querySuccess(String deviceInfo, String date){
        String data = query(deviceInfo, date, BillType.SUCCESS);
        return renderBillDetail(data, BillFields.SUCCESS, Bill.class);
    }
196199
@Override
	public Date getCertificateExpireDate(String CorpNum)
			throws PopbillException {
		CertResponse response = httpget("/HomeTax/Cashbill/CertInfo", CorpNum, null,
				CertResponse.class);
		
		try {
			return new SimpleDateFormat("yyyyMMddHHmmss")
					.parse(response.certificateExpiration);
		} catch (ParseException e) {
			throw new PopbillException(-99999999, "날자형식 포맷변환 실패["
					+ response.certificateExpiration + "]", e);
		}
	}
14576
@Override
  public final String getFor(final Class<?> pClass, final String pThingName) {
    if ("list".equals(pThingName)) {
      if (pClass == PaymentFrom.class || pClass == PaymentTo.class
        || pClass == PrepaymentFrom.class || pClass == PrepaymentTo.class
          || pClass == SubaccountLine.class || pClass == AdditionCostLine.class
            || pClass == Account.class) {
        return PrcPageWithSubaccTypes.class.getSimpleName();
      } else {
        return PrcEntitiesPage.class.getSimpleName();
      }
    } else if ("about".equals(pThingName)) {
      return PrcAbout.class.getSimpleName();
    }
    return null;
  }
210454
public OvhBillDetail deposit_depositId_paidBills_billId_details_billDetailId_GET(String depositId, String billId, String billDetailId) throws IOException {
		String qPath = "/me/deposit/{depositId}/paidBills/{billId}/details/{billDetailId}";
		StringBuilder sb = path(qPath, depositId, billId, billDetailId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhBillDetail.class);
	}
1098044
@Override
	public Statement getDetailInfo(String CorpNum, int ItemCode, String MgtKey,
			String UserID) throws PopbillException {
		if (MgtKey == null || MgtKey.isEmpty())
			throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다.");
		
		return httpget("/Statement/" + ItemCode + "/" + MgtKey + "?Detail",
					CorpNum, null, Statement.class);
		
	}
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);
    }
886551
public java.lang.String getInfoClass() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.infoClass);

    }