class WechatAuthorizationInterceptor extends AbstractAuthorizationInterceptor
| Modifier and Type | Field and Description |
|---|---|
private TenpayCertificateService |
tenpayCertificateService |
| Constructor and Description |
|---|
WechatAuthorizationInterceptor(AppMerchant appMerchant,
TenpayCertificateService tenpayCertificateService)
Instantiates a new Wechat authorization interceptor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
verifyResponse(okhttp3.Response response)
Consume.
|
interceptprivate final TenpayCertificateService tenpayCertificateService
WechatAuthorizationInterceptor(AppMerchant appMerchant, TenpayCertificateService tenpayCertificateService)
appMerchant - the app merchanttenpayCertificateService - the tenpay certificate apiprotected void verifyResponse(okhttp3.Response response)
throws PayException
AbstractAuthorizationInterceptorverifyResponse in class AbstractAuthorizationInterceptorresponse - the responsePayException - the pay exceptionCopyright © 2023. All rights reserved.