com.alipay.api.domain.TradeFundBill Java Examples
The following examples show how to use
com.alipay.api.domain.TradeFundBill.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Main.java From mmall20180107 with Apache License 2.0 | 5 votes |
public void test_trade_query() { // (必填) 商户订单号,通过此商户订单号查询当面付的交易状态 String outTradeNo = "tradepay14817938139942440181"; // 创建查询请求builder,设置请求参数 AlipayTradeQueryRequestBuilder builder = new AlipayTradeQueryRequestBuilder() .setOutTradeNo(outTradeNo); AlipayF2FQueryResult result = tradeService.queryTradeResult(builder); switch (result.getTradeStatus()) { case SUCCESS: log.info("查询返回该订单支付成功: )"); AlipayTradeQueryResponse response = result.getResponse(); dumpResponse(response); log.info(response.getTradeStatus()); if (Utils.isListNotEmpty(response.getFundBillList())) { for (TradeFundBill bill : response.getFundBillList()) { log.info(bill.getFundChannel() + ":" + bill.getAmount()); } } break; case FAILED: log.error("查询返回该订单支付失败或被关闭!!!"); break; case UNKNOWN: log.error("系统异常,订单支付状态未知!!!"); break; default: log.error("不支持的交易状态,交易返回异常!!!"); break; } }
Example #2
Source File: Main.java From mmall-kay-Java with Apache License 2.0 | 5 votes |
public void test_trade_query() { // (必填) 商户订单号,通过此商户订单号查询当面付的交易状态 String outTradeNo = "tradepay14817938139942440181"; // 创建查询请求builder,设置请求参数 AlipayTradeQueryRequestBuilder builder = new AlipayTradeQueryRequestBuilder() .setOutTradeNo(outTradeNo); AlipayF2FQueryResult result = tradeService.queryTradeResult(builder); switch (result.getTradeStatus()) { case SUCCESS: log.info("查询返回该订单支付成功: )"); AlipayTradeQueryResponse response = result.getResponse(); dumpResponse(response); log.info(response.getTradeStatus()); if (Utils.isListNotEmpty(response.getFundBillList())) { for (TradeFundBill bill : response.getFundBillList()) { log.info(bill.getFundChannel() + ":" + bill.getAmount()); } } break; case FAILED: log.error("查询返回该订单支付失败或被关闭!!!"); break; case UNKNOWN: log.error("系统异常,订单支付状态未知!!!"); break; default: log.error("不支持的交易状态,交易返回异常!!!"); break; } }
Example #3
Source File: Main.java From MMall_JAVA with GNU General Public License v3.0 | 5 votes |
public void test_trade_query() { // (必填) 商户订单号,通过此商户订单号查询当面付的交易状态 String outTradeNo = "tradepay14817938139942440181"; // 创建查询请求builder,设置请求参数 AlipayTradeQueryRequestBuilder builder = new AlipayTradeQueryRequestBuilder() .setOutTradeNo(outTradeNo); AlipayF2FQueryResult result = tradeService.queryTradeResult(builder); switch (result.getTradeStatus()) { case SUCCESS: log.info("查询返回该订单支付成功: )"); AlipayTradeQueryResponse response = result.getResponse(); dumpResponse(response); log.info(response.getTradeStatus()); if (Utils.isListNotEmpty(response.getFundBillList())) { for (TradeFundBill bill : response.getFundBillList()) { log.info(bill.getFundChannel() + ":" + bill.getAmount()); } } break; case FAILED: log.error("查询返回该订单支付失败或被关闭!!!"); break; case UNKNOWN: log.error("系统异常,订单支付状态未知!!!"); break; default: log.error("不支持的交易状态,交易返回异常!!!"); break; } }
Example #4
Source File: AlipayTradeRefundResponse.java From alipay-sdk with Apache License 2.0 | 4 votes |
public void setRefundDetailItemList(List<TradeFundBill> refundDetailItemList) { this.refundDetailItemList = refundDetailItemList; }
Example #5
Source File: AlipayTradeQueryResponse.java From pay with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getFundBillList( ) { return this.fundBillList; }
Example #6
Source File: AlipayTradeQueryResponse.java From pay with Apache License 2.0 | 4 votes |
public void setFundBillList(List<TradeFundBill> fundBillList) { this.fundBillList = fundBillList; }
Example #7
Source File: AlipayTradePayResponse.java From pay with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getFundBillList( ) { return this.fundBillList; }
Example #8
Source File: AlipayTradePayResponse.java From pay with Apache License 2.0 | 4 votes |
public void setFundBillList(List<TradeFundBill> fundBillList) { this.fundBillList = fundBillList; }
Example #9
Source File: AlipayTradeRefundResponse.java From pay with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getRefundDetailItemList( ) { return this.refundDetailItemList; }
Example #10
Source File: AlipayTradeRefundResponse.java From pay with Apache License 2.0 | 4 votes |
public void setRefundDetailItemList(List<TradeFundBill> refundDetailItemList) { this.refundDetailItemList = refundDetailItemList; }
Example #11
Source File: AlipayTradeQueryResponse.java From alipay-sdk with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getFundBillList( ) { return this.fundBillList; }
Example #12
Source File: AlipayTradeQueryResponse.java From alipay-sdk with Apache License 2.0 | 4 votes |
public void setFundBillList(List<TradeFundBill> fundBillList) { this.fundBillList = fundBillList; }
Example #13
Source File: AlipayTradePayResponse.java From alipay-sdk with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getFundBillList( ) { return this.fundBillList; }
Example #14
Source File: AlipayTradePayResponse.java From alipay-sdk with Apache License 2.0 | 4 votes |
public void setFundBillList(List<TradeFundBill> fundBillList) { this.fundBillList = fundBillList; }
Example #15
Source File: AlipayTradeRefundResponse.java From alipay-sdk with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getRefundDetailItemList( ) { return this.refundDetailItemList; }
Example #16
Source File: AlipayTradeRefundResponse.java From alipay-sdk-java-all with Apache License 2.0 | 4 votes |
public void setRefundDetailItemList(List<TradeFundBill> refundDetailItemList) { this.refundDetailItemList = refundDetailItemList; }
Example #17
Source File: AlipayTradeFastpayRefundQueryResponse.java From alipay-sdk-java-all with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getRefundDetailItemList( ) { return this.refundDetailItemList; }
Example #18
Source File: AlipayTradeFastpayRefundQueryResponse.java From alipay-sdk-java-all with Apache License 2.0 | 4 votes |
public void setRefundDetailItemList(List<TradeFundBill> refundDetailItemList) { this.refundDetailItemList = refundDetailItemList; }
Example #19
Source File: AlipayTradeQueryResponse.java From alipay-sdk-java-all with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getFundBillList( ) { return this.fundBillList; }
Example #20
Source File: AlipayTradeQueryResponse.java From alipay-sdk-java-all with Apache License 2.0 | 4 votes |
public void setFundBillList(List<TradeFundBill> fundBillList) { this.fundBillList = fundBillList; }
Example #21
Source File: AlipayTradePayResponse.java From alipay-sdk-java-all with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getFundBillList( ) { return this.fundBillList; }
Example #22
Source File: AlipayTradePayResponse.java From alipay-sdk-java-all with Apache License 2.0 | 4 votes |
public void setFundBillList(List<TradeFundBill> fundBillList) { this.fundBillList = fundBillList; }
Example #23
Source File: AlipayTradeRefundResponse.java From alipay-sdk-java-all with Apache License 2.0 | 4 votes |
public List<TradeFundBill> getRefundDetailItemList( ) { return this.refundDetailItemList; }