类 WechatPartnerPayApi


  • public class WechatPartnerPayApi
    extends AbstractApi
    普通支付-服务商模式
    作者:
    youta
    • 构造器详细资料

      • WechatPartnerPayApi

        public WechatPartnerPayApi​(WechatPayClient wechatPayClient,
                                   String tenantId)
        Instantiates a new Abstract api.
        参数:
        wechatPayClient - the wechat pay client
        tenantId - the tenant id
    • 方法详细资料

      • appPay

        public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> appPay​(PartnerPayParams partnerPayParams)
        APP下单API
        参数:
        partnerPayParams - the partner pay params
        返回:
        the wechat response entity
      • jsPay

        public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> jsPay​(PartnerPayParams partnerPayParams)
        JSAPI/小程序下单API
        参数:
        partnerPayParams - the pay params
        返回:
        wechat response entity
      • nativePay

        public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> nativePay​(PartnerPayParams partnerPayParams)
        Native下单API
        参数:
        partnerPayParams - the pay params
        返回:
        wechat response entity
      • h5Pay

        public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> h5Pay​(PartnerPayParams partnerPayParams)
        H5下单API
        参数:
        partnerPayParams - the partner pay params
        返回:
        wechat response entity
      • queryTransactionById

        public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryTransactionById​(TransactionQueryParams params)
        微信支付订单号查询API
        参数:
        params - the params
        返回:
        the wechat response entity
      • queryTransactionByOutTradeNo

        public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryTransactionByOutTradeNo​(TransactionQueryParams params)
        商户订单号查询API
        参数:
        params - the params
        返回:
        the wechat response entity
      • close

        public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> close​(CloseTransParams closeTransParams)
        关单API
        参数:
        closeTransParams - the closeTransParams
        返回:
        the wechat response entity
      • closeByOutTradeNoFunction

        private org.springframework.http.RequestEntity<?> closeByOutTradeNoFunction​(WechatPayV3Type type,
                                                                                    CloseTransParams closeTransParams)