|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of WeixinException in com.foxinmy.weixin4j.api |
|---|
| Methods in com.foxinmy.weixin4j.api that throw WeixinException | |
|---|---|
RefundResult |
PayApi.applyRefund(IdQuery idQuery,
String outRefundNo,
double totalFee)
退款申请(全额退款) |
RefundResult |
PayApi.applyRefund(IdQuery idQuery,
String outRefundNo,
double totalFee,
double refundFee,
CurrencyType refundFeeType,
String opUserId,
String refundDesc,
RefundAccountType refundAccountType)
申请退款(请求需要双向证书) |
OpenIdResult |
PayApi.authCode2openId(String authCode)
授权码查询OPENID接口 |
MerchantResult |
PayApi.closeOrder(String outTradeNo)
关闭订单 |
MchPayRequest |
PayApi.createAppPayRequest(String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建APP支付请求对象 |
MchPayRequest |
PayApi.createJSPayRequest(String openId,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建JSAPI支付请求对象 |
MchPayRequest |
PayApi.createMicroPayRequest(String authCode,
String body,
String outTradeNo,
double totalFee,
String createIp,
String attach)
提交被扫支付 |
MchPayRequest |
PayApi.createNativePayRequest(String productId,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建Native支付(扫码支付)链接【模式二】 |
NativePayResponse |
PayApi.createNativePayResponse(String productId,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建Native支付(扫码支付)回调对象【模式一】 |
MchPayRequest |
PayApi.createPayRequest(MchPayPackage payPackage)
创建支付请求对象 |
PrePay |
PayApi.createPrePay(MchPayPackage payPackage)
统一下单接口 除被扫支付场景以外,商户系统先调用该接口在微信支付服务后台生成预支付交易单,返回正确的预支付交易回话标识后再按扫码、JSAPI 、APP等不同场景生成交易串调起支付。 |
MchPayRequest |
PayApi.createWapPayRequest(String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建WAP支付请求对象:正常流程用户支付完成后会返回至发起支付的页面,如需返回至指定页面, 则可以在MWEB_URL后拼接上redirect_url参数,来指定回调页面 |
CustomsOrderResult |
CustomsApi.declareCustomsOrder(CustomsOrder customsOrder)
订单附加信息提交 |
void |
PayApi.downloadBill(Date billDate,
BillType billType,
OutputStream outputStream,
TarType tarType)
下载对账单 1.微信侧未成功下单的交易不会出现在对账单中。支付成功后撤销的交易会出现在对账 单中,跟原支付单订单号一致,bill_type 为 REVOKED; 2.微信在次日 9 点启动生成前一天的对账单,建议商户 9 点半后再获取; 3.对账单中涉及金额的字段单位为“元”。 |
String |
PayApi.getShorturl(String url)
native支付URL转短链接:用于扫码原生支付模式一中的二维码链接转成短链接(weixin://wxpay/s/XXXXXX),减小二维码数据量 ,提升扫描速度和精确度。 |
CorpPaymentRecord |
CashApi.queryCorpPayment(String outTradeNo)
企业付款查询 用于商户的企业付款操作进行结果查询,返回付款操作详细结果 |
CouponDetail |
CouponApi.queryCouponDetail(String openId,
String couponId,
String stockId)
查询代金券详细 |
CouponStock |
CouponApi.queryCouponStock(String couponStockId)
查询代金券批次 |
CustomsOrderRecord |
CustomsApi.queryCustomsOrder(IdQuery idQuery,
CustomsCity customsCity)
订单附加信息查询 |
double |
CashApi.queryExchageRate(CurrencyType currencyType,
Date date)
查询汇率 |
Order |
PayApi.queryOrder(IdQuery idQuery)
订单查询 |
RedpacketRecord |
CashApi.queryRedpack(String outTradeNo)
查询红包记录 |
RefundRecord |
PayApi.queryRefund(IdQuery idQuery)
退款查询 |
SettlementRecord |
CashApi.querySettlement(boolean status,
Pageable pageable,
Date start,
Date end)
查询结算资金 |
XmlResult |
PayApi.reportInterface(String interfaceUrl,
int executeTime,
String outTradeNo,
String ip,
Date time,
XmlResult returnXml)
接口上报 |
MerchantResult |
PayApi.reverseOrder(IdQuery idQuery)
冲正订单(需要证书) 当支付返回失败,或收银系统超时需要取消交易,可以调用该接口 接口逻辑:支 付失败的关单,支付成功的撤销支付 7天以内的单可撤销,其他正常支付的单 如需实现相同功能请调用退款接口 调用扣款接口后请勿立即调用撤销,需要等待5秒以上。先调用查单接口,如果没有确切的返回,再调用撤销 |
CorpPaymentResult |
CashApi.sendCorpPayment(CorpPayment payment)
企业付款 实现企业向个人付款,针对部分有开发能力的商户, 提供通过API完成企业付款的功能。 比如目前的保险行业向客户退保、给付、理赔。 |
CouponResult |
CouponApi.sendCoupon(String couponStockId,
String partnerTradeNo,
String openId,
String opUserId)
发放代金券(需要证书) |
RedpacketSendResult |
CashApi.sendRedpack(Redpacket redpacket)
发放红包 企业向微信用户个人发现金红包 |
| Uses of WeixinException in com.foxinmy.weixin4j.cache |
|---|
| Methods in com.foxinmy.weixin4j.cache that throw WeixinException | |
|---|---|
T |
CacheCreator.create()
创建Cache |
T |
CacheManager.getCache()
获取缓存对象 |
T |
CacheManager.refreshCache()
刷新缓存对象 |
| Uses of WeixinException in com.foxinmy.weixin4j.http.weixin |
|---|
| Methods in com.foxinmy.weixin4j.http.weixin that throw WeixinException | |
|---|---|
WeixinRequestExecutor |
WeixinRequestExecutor.createSSLRequestExecutor(String password,
InputStream inputStream)
创建 SSL微信请求对象 |
WeixinResponse |
WeixinRequestExecutor.doRequest(HttpRequest request)
执行微信请求 |
WeixinResponse |
WeixinRequestExecutor.get(String url,
URLParameter... parameters)
Get方法执行微信请求 |
WeixinResponse |
WeixinRequestExecutor.post(String url,
FormBodyPart... bodyParts)
Post方法执行微信请求,用于文件上传 |
WeixinResponse |
WeixinRequestExecutor.post(String url,
String body)
Post方法执行微信请求 |
| Uses of WeixinException in com.foxinmy.weixin4j.jssdk |
|---|
| Methods in com.foxinmy.weixin4j.jssdk that throw WeixinException | |
|---|---|
String |
JSSDKConfigurator.toJSONConfig(String url)
生成config配置JSON串 |
| Uses of WeixinException in com.foxinmy.weixin4j.payment |
|---|
| Methods in com.foxinmy.weixin4j.payment that throw WeixinException | |
|---|---|
RefundResult |
WeixinPayProxy.applyRefund(IdQuery idQuery,
String outRefundNo,
double totalFee)
退款申请(全额退款) |
RefundResult |
WeixinPayProxy.applyRefund(IdQuery idQuery,
String outRefundNo,
double totalFee,
double refundFee,
CurrencyType refundFeeType,
String opUserId,
String refundDesc,
RefundAccountType refundAccountType)
申请退款(请求需要双向证书) |
OpenIdResult |
WeixinPayProxy.authCode2openId(String authCode)
授权码查询OPENID |
MerchantResult |
WeixinPayProxy.closeOrder(String outTradeNo)
关闭订单 |
MchPayRequest |
WeixinPayProxy.createAppPayRequest(String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建APP支付请求对象 |
MchPayRequest |
WeixinPayProxy.createJSPayRequest(String openId,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建JSAPI支付请求对象 |
MchPayRequest |
WeixinPayProxy.createMicroPayRequest(String authCode,
String body,
String outTradeNo,
double totalFee,
String createIp,
String attach)
提交被扫支付 |
MchPayRequest |
WeixinPayProxy.createNativePayRequest(String productId,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建Native支付(扫码支付)链接【模式二】 |
NativePayResponse |
WeixinPayProxy.createNativePayResponse(String productId,
String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建Native支付(扫码支付)回调对象【模式一】 |
MchPayRequest |
WeixinPayProxy.createPayRequest(MchPayPackage payPackage)
创建支付请求对象 |
PrePay |
WeixinPayProxy.createPrePay(MchPayPackage payPackage)
统一下单接口 除被扫支付场景以外,商户系统先调用该接口在微信支付服务后台生成预支付交易单,返回正确的预支付交易回话标识后再按扫码、JSAPI 、APP等不同场景生成交易串调起支付。 |
MchPayRequest |
WeixinPayProxy.createWapPayRequest(String body,
String outTradeNo,
double totalFee,
String notifyUrl,
String createIp,
String attach)
创建WAP支付请求对象 |
CustomsOrderResult |
WeixinPayProxy.declareCustomsOrder(CustomsOrder customsOrder)
订单附加信息提交 |
void |
WeixinPayProxy.downloadBill(Date billDate,
BillType billType,
OutputStream outputStream,
TarType tarType)
下载对账单 1.微信侧未成功下单的交易不会出现在对账单中。支付成功后撤销的交易会出现在对账 单中,跟原支付单订单号一致,bill_type 为 REVOKED; 2.微信在次日 9 点启动生成前一天的对账单,建议商户 9 点半后再获取; 3.对账单中涉及金额的字段单位为“元”。 |
String |
WeixinPayProxy.getPayShorturl(String url)
native支付URL转短链接:用于扫码原生支付模式一中的二维码链接转成短链接(weixin://wxpay/s/XXXXXX),减小二维码数据量 ,提升扫描速度和精确度。 |
CorpPaymentRecord |
WeixinPayProxy.queryCorpPayment(String outTradeNo)
企业付款查询 用于商户的企业付款操作进行结果查询,返回付款操作详细结果 |
CouponDetail |
WeixinPayProxy.queryCouponDetail(String openId,
String couponId,
String stockId)
查询代金券详细 |
CouponStock |
WeixinPayProxy.queryCouponStock(String couponStockId)
查询代金券批次 |
CustomsOrderRecord |
WeixinPayProxy.queryCustomsOrder(IdQuery idQuery,
CustomsCity customsCity)
订单附加信息查询 |
double |
WeixinPayProxy.queryExchageRate(CurrencyType currencyType,
Date date)
查询汇率 |
Order |
WeixinPayProxy.queryOrder(IdQuery idQuery)
订单查询 |
RedpacketRecord |
WeixinPayProxy.queryRedpack(String outTradeNo)
查询红包记录 |
RefundRecord |
WeixinPayProxy.queryRefund(IdQuery idQuery)
退款查询 |
SettlementRecord |
WeixinPayProxy.querySettlement(boolean status,
Pageable pageable,
Date start,
Date end)
查询结算资金 |
XmlResult |
WeixinPayProxy.reportInterface(String interfaceUrl,
int executeTime,
String outTradeNo,
String ip,
Date time,
XmlResult returnXml)
接口上报 |
MerchantResult |
WeixinPayProxy.reverseOrder(IdQuery idQuery)
冲正订单(需要证书) 当支付返回失败,或收银系统超时需要取消交易,可以调用该接口 接口逻辑:支 付失败的关单,支付成功的撤销支付 7天以内的单可撤销,其他正常支付的单 如需实现相同功能请调用退款接口 调用扣款接口后请勿立即调用撤销,需要等待5秒以上。先调用查单接口,如果没有确切的返回,再调用撤销 |
CorpPaymentResult |
WeixinPayProxy.sendCorpPayment(CorpPayment payment)
企业付款 实现企业向个人付款,针对部分有开发能力的商户, 提供通过API完成企业付款的功能。 比如目前的保险行业向客户退保、给付、理赔。 |
CouponResult |
WeixinPayProxy.sendCoupon(String couponStockId,
String partnerTradeNo,
String openId,
String opUserId)
发放代金券(需要证书) |
RedpacketSendResult |
WeixinPayProxy.sendRedpack(Redpacket redpacket)
发放红包 企业向微信用户个人发现金红包 |
| Uses of WeixinException in com.foxinmy.weixin4j.token |
|---|
| Methods in com.foxinmy.weixin4j.token that throw WeixinException | |
|---|---|
void |
TicketManager.cachingTicket(String ticket)
缓存ticket |
String |
TicketManager.getAccessTicket()
获取ticket |
String |
TokenManager.getAccessToken()
获取token字符串 |
Token |
TicketManager.getTicket()
获取ticket对象 |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||