public class ProfitsharingService
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProfitsharingService.Builder
ProfitsharingService构造器
|
| Modifier and Type | Method and Description |
|---|---|
AddReceiverResponse |
addReceiver(AddReceiverRequest request)
添加分账接收方API
|
OrdersEntity |
createOrder(CreateOrderRequest request)
请求分账API
|
ReturnOrdersEntity |
createReturnOrder(CreateReturnOrderRequest request)
请求分账回退API
|
DeleteReceiverResponse |
deleteReceiver(DeleteReceiverRequest request)
删除分账接收方API
|
QueryMerchantRatioResponse |
queryMerchantRatio(QueryMerchantRatioRequest request)
查询最大分账比例API
|
OrdersEntity |
queryOrder(QueryOrderRequest request)
查询分账结果API
|
QueryOrderAmountResponse |
queryOrderAmount(QueryOrderAmountRequest request)
查询剩余待分金额API
|
ReturnOrdersEntity |
queryReturnOrder(QueryReturnOrderRequest request)
查询分账回退结果API
|
SplitBillResponse |
splitBill(SplitBillRequest request)
获取分账账单文件下载地址
|
OrdersEntity |
unfreezeOrder(UnfreezeOrderRequest request)
解冻剩余资金API
|
public SplitBillResponse splitBill(SplitBillRequest request)
request - 请求参数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、解析返回体失败。public QueryMerchantRatioResponse queryMerchantRatio(QueryMerchantRatioRequest request)
request - 请求参数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、解析返回体失败。public OrdersEntity createOrder(CreateOrderRequest request)
request - 请求参数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、解析返回体失败。public OrdersEntity queryOrder(QueryOrderRequest request)
request - 请求参数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、解析返回体失败。public OrdersEntity unfreezeOrder(UnfreezeOrderRequest request)
request - 请求参数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、解析返回体失败。public AddReceiverResponse addReceiver(AddReceiverRequest request)
request - 请求参数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、解析返回体失败。public DeleteReceiverResponse deleteReceiver(DeleteReceiverRequest request)
request - 请求参数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、解析返回体失败。public ReturnOrdersEntity createReturnOrder(CreateReturnOrderRequest request)
request - 请求参数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、解析返回体失败。public ReturnOrdersEntity queryReturnOrder(QueryReturnOrderRequest request)
request - 请求参数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、解析返回体失败。public QueryOrderAmountResponse queryOrderAmount(QueryOrderAmountRequest request)
request - 请求参数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、解析返回体失败。