@Test public void testQueryPayBank() throws Exception { this.logger.info(this.payService.getEntPayService().queryPayBank("123").toString()); }
@Override public EntPayBankQueryResult queryPayBank(String partnerTradeNo) throws WxPayException { EntPayBankQueryRequest request = new EntPayBankQueryRequest(); request.setPartnerTradeNo(partnerTradeNo); request.checkAndSign(this.payService.getConfig()); String url = this.payService.getPayBaseUrl() + "/mmpaysptrans/query_bank"; String responseContent = this.payService.post(url, request.toXML(), true); EntPayBankQueryResult result = BaseWxPayResult.fromXML(responseContent, EntPayBankQueryResult.class); result.checkResult(this.payService, request.getSignType(), true); return result; }
EntPayServiceImpl implements EntPayService { @Override public EntPayBankQueryResult queryPayBank(String partnerTradeNo) throws WxPayException { EntPayBankQueryRequest request = new EntPayBankQueryRequest(); request.setPartnerTradeNo(partnerTradeNo); request.checkAndSign(this.payService.getConfig()); String url = this.payService.getPayBaseUrl() + "/mmpaysptrans/query_bank"; String responseContent = this.payService.post(url, request.toXML(), true); EntPayBankQueryResult result = BaseWxPayResult.fromXML(responseContent, EntPayBankQueryResult.class); result.checkResult(this.payService, request.getSignType(), true); return result; } }
EntPayServiceImpl implements EntPayService { @Override public EntPayBankQueryResult queryPayBank(String partnerTradeNo) throws WxPayException { EntPayBankQueryRequest request = new EntPayBankQueryRequest(); request.setPartnerTradeNo(partnerTradeNo); request.checkAndSign(this.payService.getConfig()); String url = this.payService.getPayBaseUrl() + "/mmpaysptrans/query_bank"; String responseContent = this.payService.post(url, request.toXML(), true); EntPayBankQueryResult result = BaseWxPayResult.fromXML(responseContent, EntPayBankQueryResult.class); result.checkResult(this.payService, request.getSignType(), true); return result; } EntPayServiceImpl(WxPayService payService); }
EntPayServiceImpl implements EntPayService { @Override public EntPayBankQueryResult queryPayBank(String partnerTradeNo) throws WxPayException { EntPayBankQueryRequest request = new EntPayBankQueryRequest(); request.setPartnerTradeNo(partnerTradeNo); request.checkAndSign(this.payService.getConfig()); String url = this.payService.getPayBaseUrl() + "/mmpaysptrans/query_bank"; String responseContent = this.payService.post(url, request.toXML(), true); EntPayBankQueryResult result = BaseWxPayResult.fromXML(responseContent, EntPayBankQueryResult.class); result.checkResult(this.payService, request.getSignType(), true); return result; } EntPayServiceImpl(WxPayService payService); @Override EntPayResult entPay(EntPayRequest request); @Override EntPayQueryResult queryEntPay(String partnerTradeNo); @Override String getPublicKey(); @Override EntPayBankResult payBank(EntPayBankRequest request); @Override EntPayBankQueryResult queryPayBank(String partnerTradeNo); static void main(String[] args); }
EntPayServiceImpl implements EntPayService { @Override public EntPayBankQueryResult queryPayBank(String partnerTradeNo) throws WxPayException { EntPayBankQueryRequest request = new EntPayBankQueryRequest(); request.setPartnerTradeNo(partnerTradeNo); request.checkAndSign(this.payService.getConfig()); String url = this.payService.getPayBaseUrl() + "/mmpaysptrans/query_bank"; String responseContent = this.payService.post(url, request.toXML(), true); EntPayBankQueryResult result = BaseWxPayResult.fromXML(responseContent, EntPayBankQueryResult.class); result.checkResult(this.payService, request.getSignType(), true); return result; } EntPayServiceImpl(WxPayService payService); @Override EntPayResult entPay(EntPayRequest request); @Override EntPayQueryResult queryEntPay(String partnerTradeNo); @Override String getPublicKey(); @Override EntPayBankResult payBank(EntPayBankRequest request); @Override EntPayBankQueryResult queryPayBank(String partnerTradeNo); static void main(String[] args);  }