Package com.foxinmy.weixin4j.payment.mch
Class JSAPIPayRequest
- java.lang.Object
-
- com.foxinmy.weixin4j.payment.mch.AbstractPayRequest
-
- com.foxinmy.weixin4j.payment.mch.JSAPIPayRequest
-
- All Implemented Interfaces:
MchPayRequest
@Deprecated public class JSAPIPayRequest extends AbstractPayRequest
Deprecated.迁移到子模块weixin4j-pay公众号JS支付:get_brand_wcpay_requestget_brand_wcpay_request:ok 支付成功
get_brand_wcpay_request:cancel 支付过程中用户取消
get_brand_wcpay_request:fail 支付失败- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
PrePay
,PayRequest
, 网页端调起支付API
-
-
Field Summary
-
Fields inherited from class com.foxinmy.weixin4j.payment.mch.AbstractPayRequest
weixinSignature
-
-
Constructor Summary
Constructors Constructor Description JSAPIPayRequest(String prePayId, WeixinPayAccount payAccount)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TradeType
getPaymentType()
Deprecated.支付类型PayRequest
toRequestObject()
Deprecated.支付请求对象String
toRequestString()
Deprecated.支付请求字符串-
Methods inherited from class com.foxinmy.weixin4j.payment.mch.AbstractPayRequest
getPaymentAccount, getPrePayId
-
-
-
-
Constructor Detail
-
JSAPIPayRequest
public JSAPIPayRequest(String prePayId, WeixinPayAccount payAccount)
Deprecated.
-
-
Method Detail
-
getPaymentType
public TradeType getPaymentType()
Deprecated.Description copied from interface:MchPayRequest
支付类型- Returns:
-
toRequestObject
public PayRequest toRequestObject()
Deprecated.Description copied from interface:MchPayRequest
支付请求对象- Returns:
-
toRequestString
public String toRequestString()
Deprecated.Description copied from interface:MchPayRequest
支付请求字符串- Returns:
-
-