|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxinmy.weixin4j.http.weixin.XmlResult
com.foxinmy.weixin4j.payment.mch.MerchantResult
com.foxinmy.weixin4j.payment.PayPackage
com.foxinmy.weixin4j.mp.oldpayment.PayPackageV2
public class PayPackageV2
V2支付的订单详情
,
Serialized Form| Constructor Summary | |
|---|---|
PayPackageV2(String partner,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp)
支付信息 |
|
PayPackageV2(String partner,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach,
Date timeStart,
Date timeExpire,
double transportFee,
double productFee,
String goodsTag)
支付信息 完整参数 |
|
| Method Summary | |
|---|---|
String |
getBankType()
|
String |
getFeeType()
|
double |
getFormatProductFee()
调用接口获取单位为分,get方法转换为元方便使用 |
double |
getFormatTransportFee()
调用接口获取单位为分,get方法转换为元方便使用 |
String |
getInputCharset()
|
String |
getPartner()
|
Integer |
getProductFee()
|
Integer |
getTransportFee()
|
void |
setPartner(String partner)
|
void |
setProductFee(double productFee)
单位为元,自动格式化为分 |
void |
setTransportFee(double transportFee)
单位为元,自动格式化为分 |
String |
toString()
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PayPackageV2(String partner,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp)
partner - 商户号 必填body - 支付详情 必填outTradeNo - 订单号 必填totalFee - 订单总额(元) 必填notifyUrl - 支付回调URL 必填createIp - 订单生成的机器 IP 必填
public PayPackageV2(String partner,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach,
Date timeStart,
Date timeExpire,
double transportFee,
double productFee,
String goodsTag)
partner - 商户号 必填body - 支付详情 必填outTradeNo - 订单号 必填totalFee - 订单总额(元) 必填notifyUrl - 支付回调URL 必填createIp - 订单生成的机器 IP 必填attach - 附加数据,在查询API和支付通知中原样返回,该字段主要用于商户携带订单的自定义数据timeStart - 订单生成时间,格式为yyyyMMddHHmmsstimeExpire - 订单失效时间,格式为yyyyMMddHHmmss;注意:最短失效时间间隔必须大于5分钟transportFee - 物流费用 如有值 必须保证 transportFee+productFee=totalFeetransportFee - 商品费用 如有值 必须保证 transportFee+productFee=totalFeegoodsTag - 商品标记,代金券或立减优惠功能的参数| Method Detail |
|---|
public String getBankType()
public String getPartner()
public void setPartner(String partner)
public String getFeeType()
public Integer getTransportFee()
public double getFormatTransportFee()
public void setTransportFee(double transportFee)
transportFee - 物流费用 单位为元public Integer getProductFee()
public double getFormatProductFee()
public void setProductFee(double productFee)
productFee - 商品 单位为元public String getInputCharset()
public String toString()
toString in class PayPackage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||