Package com.foxinmy.weixin4j.base.test
Class PayTest
- java.lang.Object
-
- com.foxinmy.weixin4j.base.test.PayTest
-
- Direct Known Subclasses:
CashTest,CouponTest
public class PayTest extends Object
支付测试(商户平台)- Since:
- JDK 1.7
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Field Summary
Fields Modifier and Type Field Description protected static WeixinPayAccountACCOUNTprotected static WeixinPayProxyPAYprotected static WeixinSignatureSIGNATURE
-
Constructor Summary
Constructors Constructor Description PayTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseOrder()voiddownbill()voidinterfaceReport()voidnativePay()voidqueryOrder()voidqueryRefund()voidrefund()voidshortUrl()voidtestMicroPay()
-
-
-
Field Detail
-
ACCOUNT
protected static final WeixinPayAccount ACCOUNT
-
SIGNATURE
protected static final WeixinSignature SIGNATURE
-
PAY
protected static final WeixinPayProxy PAY
-
-
Method Detail
-
queryOrder
public void queryOrder() throws WeixinException- Throws:
WeixinException
-
queryRefund
public void queryRefund() throws WeixinException- Throws:
WeixinException
-
downbill
public void downbill() throws WeixinException, IOException- Throws:
WeixinExceptionIOException
-
refund
public void refund() throws WeixinException, IOException- Throws:
WeixinExceptionIOException
-
nativePay
public void nativePay() throws WeixinException- Throws:
WeixinException
-
closeOrder
public void closeOrder() throws WeixinException- Throws:
WeixinException
-
shortUrl
public void shortUrl() throws WeixinException- Throws:
WeixinException
-
interfaceReport
public void interfaceReport() throws WeixinException- Throws:
WeixinException
-
testMicroPay
public void testMicroPay() throws WeixinException- Throws:
WeixinException
-
-