Package com.foxinmy.weixin4j.model
Class WeixinPayAccount
- java.lang.Object
-
- com.foxinmy.weixin4j.model.WeixinAccount
-
- com.foxinmy.weixin4j.model.WeixinPayAccount
-
- All Implemented Interfaces:
Serializable
@Deprecated public class WeixinPayAccount extends WeixinAccount
Deprecated.支付相关的类现已迁移到weixin4j-pay子模块微信支付账户- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WeixinPayAccount(String id, String paySignKey, String mchId)Deprecated.支付商户信息WeixinPayAccount(String id, String paySignKey, String mchId, String certificateKey, String certificateFile)Deprecated.支付商户信息WeixinPayAccount(String id, String secret, String paySignKey, String mchId, String certificateKey, String certificateFile, String deviceInfo, String partnerId, String subId, String subMchId)Deprecated.支付商户信息
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetCertificateFile()Deprecated.StringgetCertificateKey()Deprecated.StringgetDeviceInfo()Deprecated.StringgetMchId()Deprecated.StringgetPartnerId()Deprecated.StringgetPaySignKey()Deprecated.StringgetSubId()Deprecated.StringgetSubMchId()Deprecated.voidsetCertificateFile(String certificateFile)Deprecated.voidsetCertificateKey(String certificateKey)Deprecated.voidsetDeviceInfo(String deviceInfo)Deprecated.voidsetPartnerId(String partnerId)Deprecated.voidsetSubId(String subId)Deprecated.voidsetSubMchId(String subMchId)Deprecated.StringtoString()Deprecated.-
Methods inherited from class com.foxinmy.weixin4j.model.WeixinAccount
getId, getSecret
-
-
-
-
Constructor Detail
-
WeixinPayAccount
public WeixinPayAccount(String id, String paySignKey, String mchId)
Deprecated.支付商户信息- Parameters:
id- 公众号唯一的身份ID(必填)paySignKey- 支付密钥字符串(必填)mchId- 微信支付分配的商户号(必填)
-
WeixinPayAccount
public WeixinPayAccount(String id, String paySignKey, String mchId, String certificateKey, String certificateFile)
Deprecated.支付商户信息- Parameters:
id- 公众号唯一的身份ID(必填)paySignKey- 支付密钥字符串(必填)mchId- 微信支付分配的商户号(必填)certificateKey- 加载支付证书文件的密码(默认为商户号)certificateFile- 商户证书文件(默认加载classpath:ca.p12)
-
WeixinPayAccount
public WeixinPayAccount(String id, String secret, String paySignKey, String mchId, String certificateKey, String certificateFile, String deviceInfo, String partnerId, String subId, String subMchId)
Deprecated.支付商户信息- Parameters:
id- 公众号唯一的身份ID(必填)secret- 公众号调用接口的凭证(最好填写)paySignKey- 支付密钥字符串(必填)mchId- 微信支付分配的商户号(必填)certificateKey- 加载支付证书文件的密码(默认为商户号)certificateFile- 商户证书文件(默认加载classpath:ca.p12)deviceInfo- 微信支付分配的设备号(非必填)partnerId- 财付通的商户号(非必填)subId- 微信分配的子商户公众账号ID(非必填)subMchId- 微信支付分配的子商户号(非必填)
-
-
Method Detail
-
getPaySignKey
public String getPaySignKey()
Deprecated.
-
getMchId
public String getMchId()
Deprecated.
-
getDeviceInfo
public String getDeviceInfo()
Deprecated.
-
getCertificateKey
public String getCertificateKey()
Deprecated.
-
getPartnerId
public String getPartnerId()
Deprecated.
-
getSubId
public String getSubId()
Deprecated.
-
getSubMchId
public String getSubMchId()
Deprecated.
-
setCertificateKey
public void setCertificateKey(String certificateKey)
Deprecated.
-
getCertificateFile
public String getCertificateFile()
Deprecated.
-
setCertificateFile
public void setCertificateFile(String certificateFile)
Deprecated.
-
setDeviceInfo
public void setDeviceInfo(String deviceInfo)
Deprecated.
-
setPartnerId
public void setPartnerId(String partnerId)
Deprecated.
-
setSubId
public void setSubId(String subId)
Deprecated.
-
setSubMchId
public void setSubMchId(String subMchId)
Deprecated.
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classWeixinAccount
-
-