# WechatBatchTransferApi (payment-spring-boot-autoconfigure 1.0.6.RELEASE API)
Date: 2021-02-04

cn.felord.payment.wechat.v3

## 类 WechatBatchTransferApi

- java.lang.Object
- - cn.felord.payment.wechat.v3.AbstractApi
  - - cn.felord.payment.wechat.v3.WechatBatchTransferApi

    public class WechatBatchTransferApi
    extends AbstractApi

批量转账到零钱

从以下版本开始:
  1.0.6.RELEASE
作者:
  felord.cn

### 构造器概要

构造器
构造器和说明
`WechatBatchTransferApi(WechatPayClient wechatPayClient, String tenantId)` Instantiates a new Abstract api.

### 方法概要

所有方法 实例方法 具体方法
`WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>` `batchTransfer(CreateBatchTransferParams createBatchTransferParams)` 发起批量转账API
`private org.springframework.http.RequestEntity<?>` `batchTransferFunction(WechatPayV3Type type, CreateBatchTransferParams createBatchTransferParams)`
`org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>` `downloadBill(String outBatchNo)` 查询并下载转账电子回单API
`WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>` `queryBatchByBatchId(QueryBatchTransferParams queryBatchTransferParams)` 微信批次单号查询批次单API
`WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>` `queryBatchByOutBatchNo(QueryBatchTransferParams queryBatchTransferParams)` 微信批次单号查询批次单API
`WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>` `queryBatchDetailByMch(QueryBatchTransferDetailParams queryBatchTransferDetailParams)` 商家明细单号查询明细单API
`WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>` `queryBatchDetailByWechat(QueryBatchTransferDetailParams queryBatchTransferDetailParams)` 微信明细单号查询明细单API
`WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>` `receiptBill(String outBatchNo)` 转账电子回单申请受理API

### 从类继承的方法 cn.felord.payment.wechat.v3.AbstractApi

`billDownload, billResource, client, container, downloadFundFlowBill, downloadTradeBill, Get, getMapper, Post, tenantId, wechatMetaBean`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 构造器详细资料

#### WechatBatchTransferApi

    public WechatBatchTransferApi(WechatPayClient wechatPayClient,
                                  String tenantId)

Instantiates a new Abstract api.

参数:
  `wechatPayClient` - the wechat pay client
  `tenantId` - the tenant id

### 方法详细资料

#### batchTransfer

    public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> batchTransfer(CreateBatchTransferParams createBatchTransferParams)

发起批量转账API

参数:
  `createBatchTransferParams` - the batchTransferParams
返回:
  the wechat response entity
从以下版本开始:
  1.0.6.RELEASE

#### batchTransferFunction

    private org.springframework.http.RequestEntity<?> batchTransferFunction(WechatPayV3Type type,
                                                                            CreateBatchTransferParams createBatchTransferParams)

#### queryBatchByBatchId

    public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryBatchByBatchId(QueryBatchTransferParams queryBatchTransferParams)

微信批次单号查询批次单API

参数:
  `queryBatchTransferParams` - the queryBatchTransferParams
返回:
  the wechat response entity
从以下版本开始:
  1.0.6.RELEASE

#### queryBatchDetailByWechat

    public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryBatchDetailByWechat(QueryBatchTransferDetailParams queryBatchTransferDetailParams)

微信明细单号查询明细单API

参数:
  `queryBatchTransferDetailParams` - the queryBatchTransferDetailParams
返回:
  the wechat response entity
从以下版本开始:
  1.0.6.RELEASE

#### queryBatchByOutBatchNo

    public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryBatchByOutBatchNo(QueryBatchTransferParams queryBatchTransferParams)

微信批次单号查询批次单API

参数:
  `queryBatchTransferParams` - the queryBatchTransferParams
返回:
  the wechat response entity
从以下版本开始:
  1.0.6.RELEASE

#### queryBatchDetailByMch

    public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryBatchDetailByMch(QueryBatchTransferDetailParams queryBatchTransferDetailParams)

商家明细单号查询明细单API

参数:
  `queryBatchTransferDetailParams` - the queryBatchTransferDetailParams
返回:
  the wechat response entity
从以下版本开始:
  1.0.6.RELEASE

#### receiptBill

    public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> receiptBill(String outBatchNo)

转账电子回单申请受理API

参数:
  `outBatchNo` - the outBatchNo
返回:
  the wechat response entity
从以下版本开始:
  1.0.6.RELEASE

#### downloadBill

    public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadBill(String outBatchNo)

查询并下载转账电子回单API

参数:
  `outBatchNo` - the outBatchNo
返回:
  the wechat response entity
从以下版本开始:
  1.0.6.RELEASE