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