Class TransferBatchService

java.lang.Object
com.wechat.pay.java.service.transferbatch.TransferBatchService

public class TransferBatchService extends Object
TransferBatchService服务
  • Method Details

    • getTransferBatchByNo

      public TransferBatchEntity getTransferBatchByNo(GetTransferBatchByNoRequest request)
      通过微信批次单号查询批次单
      Parameters:
      request - 请求参数
      Returns:
      TransferBatchEntity
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • getTransferBatchByOutNo

      public TransferBatchEntity getTransferBatchByOutNo(GetTransferBatchByOutNoRequest request)
      通过商家批次单号查询批次单
      Parameters:
      request - 请求参数
      Returns:
      TransferBatchEntity
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • initiateBatchTransfer

      public InitiateBatchTransferResponse initiateBatchTransfer(InitiateBatchTransferRequest request)
      发起商家转账
      Parameters:
      request - 请求参数
      Returns:
      InitiateBatchTransferResponse
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • getTransferDetailByNo

      public TransferDetailEntity getTransferDetailByNo(GetTransferDetailByNoRequest request)
      通过微信明细单号查询明细单
      Parameters:
      request - 请求参数
      Returns:
      TransferDetailEntity
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • getTransferDetailByOutNo

      public TransferDetailEntity getTransferDetailByOutNo(GetTransferDetailByOutNoRequest request)
      通过商家明细单号查询明细单
      Parameters:
      request - 请求参数
      Returns:
      TransferDetailEntity
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。