Class ProfitsharingService

java.lang.Object
com.wechat.pay.java.service.profitsharing.ProfitsharingService

public class ProfitsharingService extends Object
ProfitsharingService服务
  • Method Details

    • splitBill

      public SplitBillResponse splitBill(SplitBillRequest request)
      获取分账账单文件下载地址
      Parameters:
      request - 请求参数
      Returns:
      SplitBillResponse
      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、解析返回体失败。
    • queryMerchantRatio

      public QueryMerchantRatioResponse queryMerchantRatio(QueryMerchantRatioRequest request)
      查询最大分账比例API
      Parameters:
      request - 请求参数
      Returns:
      QueryMerchantRatioResponse
      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、解析返回体失败。
    • createOrder

      public OrdersEntity createOrder(CreateOrderRequest request)
      请求分账API
      Parameters:
      request - 请求参数
      Returns:
      OrdersEntity
      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、解析返回体失败。
    • queryOrder

      public OrdersEntity queryOrder(QueryOrderRequest request)
      查询分账结果API
      Parameters:
      request - 请求参数
      Returns:
      OrdersEntity
      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、解析返回体失败。
    • unfreezeOrder

      public OrdersEntity unfreezeOrder(UnfreezeOrderRequest request)
      解冻剩余资金API
      Parameters:
      request - 请求参数
      Returns:
      OrdersEntity
      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、解析返回体失败。
    • addReceiver

      public AddReceiverResponse addReceiver(AddReceiverRequest request)
      添加分账接收方API
      Parameters:
      request - 请求参数
      Returns:
      AddReceiverResponse
      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、解析返回体失败。
    • deleteReceiver

      public DeleteReceiverResponse deleteReceiver(DeleteReceiverRequest request)
      删除分账接收方API
      Parameters:
      request - 请求参数
      Returns:
      DeleteReceiverResponse
      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、解析返回体失败。
    • createReturnOrder

      public ReturnOrdersEntity createReturnOrder(CreateReturnOrderRequest request)
      请求分账回退API
      Parameters:
      request - 请求参数
      Returns:
      ReturnOrdersEntity
      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、解析返回体失败。
    • queryReturnOrder

      public ReturnOrdersEntity queryReturnOrder(QueryReturnOrderRequest request)
      查询分账回退结果API
      Parameters:
      request - 请求参数
      Returns:
      ReturnOrdersEntity
      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、解析返回体失败。
    • queryOrderAmount

      public QueryOrderAmountResponse queryOrderAmount(QueryOrderAmountRequest request)
      查询剩余待分金额API
      Parameters:
      request - 请求参数
      Returns:
      QueryOrderAmountResponse
      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、解析返回体失败。