Class PayrollCardService
java.lang.Object
com.wechat.pay.java.service.payrollcard.PayrollCardService
PayrollCardService服务
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncreateToken
(CreateTokenRequest request) 生成授权token发起批量转账获取核身结果getRelation
(GetRelationRequest request) 查询微工卡授权关系查询核身记录微工卡核身预下单微工卡核身预下单(流程中完成授权)
-
Method Details
-
getAuthentication
获取核身结果- Parameters:
request
- 请求参数- Returns:
- AuthenticationEntity
- 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、解析返回体失败。
-
listAuthentications
查询核身记录- Parameters:
request
- 请求参数- Returns:
- ListAuthenticationsResponse
- 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、解析返回体失败。
-
preOrderAuthentication
微工卡核身预下单- Parameters:
request
- 请求参数- Returns:
- PreOrderAuthenticationResponse
- 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、解析返回体失败。
-
preOrderAuthenticationWithAuth
public PreOrderAuthenticationWithAuthResponse preOrderAuthenticationWithAuth(PreOrderAuthenticationWithAuthRequest request) 微工卡核身预下单(流程中完成授权)- Parameters:
request
- 请求参数- Returns:
- PreOrderAuthenticationWithAuthResponse
- 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、解析返回体失败。
-
getRelation
查询微工卡授权关系- Parameters:
request
- 请求参数- Returns:
- RelationEntity
- 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、解析返回体失败。
-
createToken
生成授权token- Parameters:
request
- 请求参数- Returns:
- TokenEntity
- 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、解析返回体失败。
-
createTransferBatch
发起批量转账- 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、解析返回体失败。
-