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 WeixinPayAccount
ACCOUNT
protected static WeixinPayProxy
PAY
protected static WeixinSignature
SIGNATURE
-
Constructor Summary
Constructors Constructor Description PayTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeOrder()
void
downbill()
void
interfaceReport()
void
nativePay()
void
queryOrder()
void
queryRefund()
void
refund()
void
shortUrl()
void
testMicroPay()
-
-
-
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:
WeixinException
IOException
-
refund
public void refund() throws WeixinException, IOException
- Throws:
WeixinException
IOException
-
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
-
-