Package com.foxinmy.weixin4j.payment.mch
Class MchPayPackage
- java.lang.Object
-
- com.foxinmy.weixin4j.http.weixin.XmlResult
-
- com.foxinmy.weixin4j.payment.mch.MerchantResult
-
- com.foxinmy.weixin4j.payment.PayPackage
-
- com.foxinmy.weixin4j.payment.mch.MchPayPackage
-
- All Implemented Interfaces:
Serializable
@Deprecated public class MchPayPackage extends PayPackage
Deprecated.迁移到子模块weixin4j-pay支付订单详情- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MchPayPackage()
Deprecated.MchPayPackage(String body, String outTradeNo, double totalFee, String notifyUrl, String createIp, TradeType tradeType, String openId, String authCode, String productId, String attach)
Deprecated.微信支付MchPayPackage(String body, String detial, String outTradeNo, double totalFee, CurrencyType feeType, String notifyUrl, String createIp, TradeType tradeType, String openId, String authCode, String productId, String attach, Date timeStart, Date timeExpire, String goodsTag, String limitPay, String subOpenId)
Deprecated.完整参数
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAuthCode()
Deprecated.String
getFeeType()
Deprecated.String
getLimitPay()
Deprecated.String
getOpenId()
Deprecated.String
getProductId()
Deprecated.String
getSceneInfo()
Deprecated.String
getSubOpenId()
Deprecated.String
getTradeType()
Deprecated.void
setLimitPay(String limitPay)
Deprecated.void
setSceneInfo(String sceneInfo)
Deprecated.void
setSubOpenId(String subOpenId)
Deprecated.String
toString()
Deprecated.-
Methods inherited from class com.foxinmy.weixin4j.payment.PayPackage
getAttach, getBody, getCreateIp, getDetail, getFormatTotalFee, getGoodsTag, getNotifyUrl, getOutTradeNo, getTimeExpire, getTimeStart, getTotalFee, setAttach, setBody, setCreateIp, setDetail, setGoodsTag, setNotifyUrl, setOutTradeNo, setTimeExpire, setTimeExpire, setTimeStart, setTimeStart, setTotalFee
-
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
-
MchPayPackage
protected MchPayPackage()
Deprecated.
-
MchPayPackage
public MchPayPackage(String body, String outTradeNo, double totalFee, String notifyUrl, String createIp, TradeType tradeType, String openId, String authCode, String productId, String attach)
Deprecated.微信支付- Parameters:
body
- 支付详情 必填outTradeNo
- 商户侧订单号 必填totalFee
- 支付金额(单位元) 必填notifyUrl
- 支付回调URL 必填createIp
- 发起支付的IP地址 必填tradeType
- 支付类型 必填openId
- 用户唯一标识 公众号JSAPI支付必填authCode
- 支付授权码 刷卡MICROPAY支付必填productId
- 商品ID 扫码NATIVE支付必填attach
- 支付时附加信息 非必填
-
MchPayPackage
public MchPayPackage(String body, String detial, String outTradeNo, double totalFee, CurrencyType feeType, String notifyUrl, String createIp, TradeType tradeType, String openId, String authCode, String productId, String attach, Date timeStart, Date timeExpire, String goodsTag, String limitPay, String subOpenId)
Deprecated.完整参数- Parameters:
body
- 商品描述 必填项detail
- 商品名称明细列表 非必填项outTradeNo
- 商户内部唯一订单号 必填项totalFee
- 商品总额 单位元 必填项notifyUrl
- 支付回调URL 必填项createIp
- 订单生成的机器IP 必填项tradeType
- 交易类型 必填项feeType
- 货币类型 非必填项openId
- 用户ID tradeType=JSAPI时必填authCode
- 刷卡支付授权码 tradeType=MICROPAY时必填productId
- 产品ID tradeType=NATIVE时必填attach
- 附加数据,在查询API和支付通知中原样返回,该字段主要用于商户携带订单的自定义数据 非必填项timeStart
- 订单生成时间,格式为yyyyMMddHHmmss 非必填项timeExpire
- 订单失效时间,格式为yyyyMMddHHmmss;注意:最短失效时间间隔必须大于5分钟 非必填项goodsTag
- 商品标记,代金券或立减优惠功能的参数 非必填项limitPay
- 指定支付方式:no_credit--指定不能使用信用卡支付 非必填项subOpenId
- 用户在子商户appid下的唯一标识 非必填 openid和sub_openid可以选传其中之一,如果选择传sub_openid ,则必须传sub_appid
-
-
Method Detail
-
getTradeType
public String getTradeType()
Deprecated.
-
getFeeType
public String getFeeType()
Deprecated.
-
getOpenId
public String getOpenId()
Deprecated.
-
getAuthCode
public String getAuthCode()
Deprecated.
-
getProductId
public String getProductId()
Deprecated.
-
getLimitPay
public String getLimitPay()
Deprecated.
-
setLimitPay
public void setLimitPay(String limitPay)
Deprecated.
-
getSubOpenId
public String getSubOpenId()
Deprecated.
-
setSubOpenId
public void setSubOpenId(String subOpenId)
Deprecated.
-
getSceneInfo
public String getSceneInfo()
Deprecated.
-
setSceneInfo
public void setSceneInfo(String sceneInfo)
Deprecated.
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classPayPackage
-
-