Package com.foxinmy.weixin4j.api
Class MchApi
- java.lang.Object
-
- com.foxinmy.weixin4j.api.BaseApi
-
- com.foxinmy.weixin4j.api.MchApi
-
- Direct Known Subclasses:
CashApi
,CouponApi
,CustomsApi
,PayApi
@Deprecated public class MchApi extends BaseApi
Deprecated.商户平台API迁移到子模块weixin4j-pay商户支付- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- 商户支付平台
-
-
Field Summary
Fields Modifier and Type Field Description protected WeixinPayAccount
weixinAccount
Deprecated.protected WeixinSignature
weixinSignature
Deprecated.-
Fields inherited from class com.foxinmy.weixin4j.api.BaseApi
weixinExecutor
-
-
Constructor Summary
Constructors Constructor Description MchApi(WeixinPayAccount weixinAccount)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Map<String,String>
createBaseRequestMap(IdQuery idQuery)
Deprecated.支付接口请求基本数据protected <T extends MerchantResult>
voiddeclareMerchant(T merchant)
Deprecated.设置商户信息WeixinSignature
getWeixinSignature()
Deprecated.微信签名类protected WeixinRequestExecutor
getWeixinSSLExecutor()
Deprecated.微信SSLprotected ResourceBundle
weixinBundle()
Deprecated.-
Methods inherited from class com.foxinmy.weixin4j.api.BaseApi
getRequestUri
-
-
-
-
Field Detail
-
weixinAccount
protected final WeixinPayAccount weixinAccount
Deprecated.
-
weixinSignature
protected final WeixinSignature weixinSignature
Deprecated.
-
-
Constructor Detail
-
MchApi
public MchApi(WeixinPayAccount weixinAccount)
Deprecated.
-
-
Method Detail
-
weixinBundle
protected ResourceBundle weixinBundle()
Deprecated.- Specified by:
weixinBundle
in classBaseApi
-
createBaseRequestMap
protected Map<String,String> createBaseRequestMap(IdQuery idQuery)
Deprecated.支付接口请求基本数据- Parameters:
idQuery
- ID信息 可为空- Returns:
- 基础map
-
getWeixinSignature
public WeixinSignature getWeixinSignature()
Deprecated.微信签名类- Returns:
-
getWeixinSSLExecutor
protected WeixinRequestExecutor getWeixinSSLExecutor() throws WeixinException
Deprecated.微信SSL- Returns:
- Throws:
WeixinException
-
declareMerchant
protected <T extends MerchantResult> void declareMerchant(T merchant)
Deprecated.设置商户信息- Parameters:
merchant
-
-
-