Package com.foxinmy.weixin4j.payment.mch
Class CorpPayment
- java.lang.Object
-
- com.foxinmy.weixin4j.http.weixin.XmlResult
-
- com.foxinmy.weixin4j.payment.mch.MerchantResult
-
- com.foxinmy.weixin4j.payment.mch.CorpPayment
-
- All Implemented Interfaces:
Serializable
@Deprecated public class CorpPayment extends MerchantResult
Deprecated.迁移到子模块weixin4j-pay企业付款- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CorpPayment()
Deprecated.CorpPayment(String outTradeNo, String openId, CorpPaymentCheckNameType checkNameType, String desc, double amount, String clientIp)
Deprecated.企业付款
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getAmount()
Deprecated.CorpPaymentCheckNameType
getCheckNameType()
Deprecated.String
getClientIp()
Deprecated.String
getDesc()
Deprecated.double
getFormatAmount()
Deprecated.调用接口获取单位为分,get方法转换为元方便使用String
getOpenId()
Deprecated.String
getOutTradeNo()
Deprecated.String
getUserName()
Deprecated.void
setUserName(String userName)
Deprecated.String
toString()
Deprecated.-
Methods inherited from class com.foxinmy.weixin4j.payment.mch.MerchantResult
getAppId, getDeviceInfo, getFormatRecall, getFormatSignType, getMchId, getNonceStr, getRecall, getSign, getSignType, getSubAppId, getSubMchId, setAppId, setDeviceInfo, setMchId, setNonceStr, setRecall, setSign, setSignType, setSubAppId, setSubMchId
-
Methods inherited from class com.foxinmy.weixin4j.http.weixin.XmlResult
getErrCode, getErrCodeDes, getResultCode, getReturnCode, getReturnMsg, setErrCode, setErrCodeDes, setResultCode, setReturnCode, setReturnMsg
-
-
-
-
Constructor Detail
-
CorpPayment
protected CorpPayment()
Deprecated.
-
CorpPayment
public CorpPayment(String outTradeNo, String openId, CorpPaymentCheckNameType checkNameType, String desc, double amount, String clientIp)
Deprecated.企业付款- Parameters:
outTradeNo
- 商户的订单号openId
- 用户的openidcheckNameType
- 校验用户姓名选项desc
- 描述amount
- 金额 单位元clientIp
- 调用接口IP
-
-
Method Detail
-
getOutTradeNo
public String getOutTradeNo()
Deprecated.
-
getOpenId
public String getOpenId()
Deprecated.
-
getCheckNameType
public CorpPaymentCheckNameType getCheckNameType()
Deprecated.
-
getUserName
public String getUserName()
Deprecated.
-
getDesc
public String getDesc()
Deprecated.
-
getAmount
public int getAmount()
Deprecated.
-
getFormatAmount
public double getFormatAmount()
Deprecated.调用接口获取单位为分,get方法转换为元方便使用- Returns:
- 元单位
-
getClientIp
public String getClientIp()
Deprecated.
-
setUserName
public void setUserName(String userName)
Deprecated.
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classMerchantResult
-
-