public class WeixinPayScanAndRideService
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WeixinPayScanAndRideService.Builder
WeixinPayScanAndRideService构造器
|
| Modifier and Type | Method and Description |
|---|---|
TransactionsEntity |
createTransaction(CreateTransactionRequest request)
扣费受理
|
TransactionsEntity |
queryTransaction(QueryTransactionRequest request)
查询订单
|
UserServiceEntity |
queryUserService(QueryUserServiceRequest request)
查询用户服务可用信息
|
public TransactionsEntity createTransaction(CreateTransactionRequest 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 TransactionsEntity queryTransaction(QueryTransactionRequest 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 UserServiceEntity queryUserService(QueryUserServiceRequest 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、解析返回体失败。