資源簡(jiǎn)介
微信支付(預(yù)訂單、查詢、退款等接口demo)完整版
代碼片段和文件信息
/**
?*?Funball.com?Inc.
?*?Copyright?(c)?2015-2025?All?Rights?Reserved.
?*/
package?com.wolf.model.req;
import?com.wolf.util.StringUtil;
/**
?*?
?*?@author?White?Wolf
?*?@version?$Id:?PrepayIdRequestReqModel.java?v?0.1?2015-11-5?下午8:52:22?White?Wolf?Exp?$
?*/
public?class?PrepayIdRequestReqModel??{
????/**必填,公眾賬號(hào)Id?*/
????private?String?appId;
????/**必填,商戶號(hào)Id?*/
????private?String?mchId;
????/**非必填,終端設(shè)備號(hào)(門店號(hào)或收銀設(shè)備ID),注意:PC網(wǎng)頁(yè)或公眾號(hào)內(nèi)支付請(qǐng)傳“WEB“?*/
????private?String?deviceInfo;
????/**必填,隨機(jī)字符串?*/
????private?String?nonceStr;
????/**必填,簽名*/
????private?String?sign;
????/**必填,商品或支付單簡(jiǎn)要描述?32字符*/
????private?String?body;
????/**非必填,商品名稱明細(xì)列表*/
????private?String?detail;
????/**非必填,附加數(shù)據(jù),在查詢API和支付通知中原樣返回,該字段主要用于商戶攜帶訂單的自定義數(shù)據(jù)*/
????private?String?attach;
????/**必填,商戶系統(tǒng)內(nèi)部的訂單號(hào)32個(gè)字符內(nèi)、可包含字母?其他說(shuō)明見商戶訂單號(hào)*/
????private?String?outTradeNo;
????/**非必填,符合ISO?4217標(biāo)準(zhǔn)的三位字母代碼,默認(rèn)人民幣:CNY*/
????private?String?feeType;
????/**必填,訂單總金額,單位為分*/
????private?String?totalFee;
????/**必填,APP和網(wǎng)頁(yè)支付提交用戶端ip,Native支付填調(diào)用微信支付API的機(jī)器IP*/
????private?String?spbillCreateIp;
????/**非必填,訂單生成時(shí)間,格式為yyyyMMddHHmmss,如2009年12月25日9點(diǎn)10分10秒表示為20091225091010*/
????private?String?timeExpire;
????/**非必填,商品標(biāo)記,代金券或立減優(yōu)惠功能的參數(shù)*/
????private?String?goodsTag;
????/**必填,接收微信支付異步通知回調(diào)地址*/
????private?String?notifyUrl;
????/**必填,取值如下:JSAPI,NATIVE,APP,*/
????private?String?tradeType;
????/**非必填,trade_type=NATIVE,此參數(shù)必傳。此id為二維碼中包含的商品ID,商戶自行定義。*/
????private?String?productId;
????/**非必填,no_credit--指定不能使用信用卡支付*/
????private?String?limitPay;
????/**非必填,trade_type=JSAPI,此參數(shù)必傳,用戶在商戶appid下的唯一標(biāo)識(shí)*/
????private?String?openId;
????/**
?????*?Getter?method?for?property?appId.
?????*?
?????*?@return?property?value?of?appId
?????*/
????public?String?getAppId()?{
????????return?appId;
????}
????/**
?????*?Setter?method?for?property?appId.
?????*?
?????*?@param?appId?value?to?be?assigned?to?property?appId
?????*/
????public?void?setAppId(String?appId)?{
????????this.appId?=?appId;
????}
????/**
?????*?Getter?method?for?property?mchId.
?????*?
?????*?@return?property?value?of?mchId
?????*/
????public?String?getMchId()?{
????????return?mchId;
????}
????/**
?????*?Setter?method?for?property?mchId.
?????*?
?????*?@param?mchId?value?to?be?assigned?to?property?mchId
?????*/
????public?void?setMchId(String?mchId)?{
????????this.mchId?=?mchId;
????}
????/**
?????*?Getter?method?for?property?deviceInfo.
?????*?
?????*?@return?property?value?of?deviceInfo
?????*/
????public?String?getDeviceInfo()?{
????????return?deviceInfo;
????}
????/**
?????*?Setter?method?for?property?deviceInfo.
?????*?
?????*?@param?deviceInfo?value?to?be?assigned?to?property?deviceInfo
?????*/
????public?void?setDeviceInfo(String?deviceInfo)?{
????????this.deviceInfo?=?deviceInfo;
????}
????/**
?????*?Getter?method?for?property?nonceStr.
?????*?
?????*?@return?property?value?of?nonceStr
?????*/
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????709??2015-12-14?18:25??weChatPay\.classpath
?????文件????????844??2015-12-14?18:25??weChatPay\.project
?????文件????????664??2015-12-14?18:37??weChatPay\.settings\org.eclipse.jdt.core.prefs
?????文件?????????90??2015-12-14?17:34??weChatPay\.settings\org.eclipse.m2e.core.prefs
?????文件????????218??2015-12-14?18:25??weChatPay\.settings\org.maven.ide.eclipse.prefs
?????文件???????1336??2015-12-14?18:27??weChatPay\pom.xm
?????文件??????11170??2015-12-14?17:50??weChatPay\src\main\java\com\wolf\model\req\PrepayIdRequestReqModel.java
?????文件???????3439??2015-12-14?17:43??weChatPay\src\main\java\com\wolf\model\req\QueryWeChatPayOrderReqModel.java
?????文件??????14157??2015-12-14?17:41??weChatPay\src\main\java\com\wolf\model\req\WeChatPayReturnResultReqModel.java
?????文件???????6798??2015-12-14?17:41??weChatPay\src\main\java\com\wolf\model\req\WeChatRefundReqModel.java
?????文件???????5615??2015-12-14?18:15??weChatPay\src\main\java\com\wolf\model\res\PrepayIdRequestResModel.java
?????文件??????14180??2015-12-14?18:15??weChatPay\src\main\java\com\wolf\model\res\QueryWeChatPayOrderResModel.java
?????文件??????12389??2015-12-14?17:41??weChatPay\src\main\java\com\wolf\model\res\WeChatRefundResModel.java
?????文件??????10351??2015-12-14?18:37??weChatPay\src\main\java\com\wolf\service\impl\WeChatPayServiceImpl.java
?????文件???????1029??2015-12-14?18:36??weChatPay\src\main\java\com\wolf\service\WeChatPayService.java
?????文件???????3203??2015-12-14?17:37??weChatPay\src\main\java\com\wolf\util\ClientCustomSSL.java
?????文件???????1834??2015-12-14?18:30??weChatPay\src\main\java\com\wolf\util\GlobEnvUtil.java
?????文件???????8717??2015-12-14?17:37??weChatPay\src\main\java\com\wolf\util\HttpClientUtil.java
?????文件????????931??2015-12-14?18:34??weChatPay\src\main\java\com\wolf\util\MD5Util.java
?????文件????????639??2015-12-14?18:31??weChatPay\src\main\java\com\wolf\util\PropertiesUtil.java
?????文件???????2193??2015-12-14?18:30??weChatPay\src\main\java\com\wolf\util\StringUtil.java
?????文件???????3964??2015-12-14?18:18??weChatPay\src\main\java\com\wolf\util\SystemCfg.java
?????文件??????11386??2015-12-14?17:38??weChatPay\src\main\java\com\wolf\util\WeChatUtil.java
?????文件???????3096??2015-12-14?17:38??weChatPay\src\main\java\com\wolf\util\xm
?????文件???????4845??2015-12-14?18:37??weChatPay\target\classes\com\wolf\model\req\PrepayIdRequestReqModel.class
?????文件???????1877??2015-12-14?18:37??weChatPay\target\classes\com\wolf\model\req\QueryWeChatPayOrderReqModel.class
?????文件???????6182??2015-12-14?18:37??weChatPay\target\classes\com\wolf\model\req\WeChatPayReturnResultReqModel.class
?????文件???????3244??2015-12-14?18:37??weChatPay\target\classes\com\wolf\model\req\WeChatRefundReqModel.class
?????文件???????2522??2015-12-14?18:37??weChatPay\target\classes\com\wolf\model\res\PrepayIdRequestResModel.class
?????文件???????6131??2015-12-14?18:37??weChatPay\target\classes\com\wolf\model\res\QueryWeChatPayOrderResModel.class
............此處省略43個(gè)文件信息
評(píng)論
共有 條評(píng)論