| Package | Description |
|---|---|
| cn.felord.payment.wechat.v3.crypto | |
| cn.felord.payment.wechat.v3.retrofit |
| Modifier and Type | Method and Description |
|---|---|
AppMerchant |
AppMerchantService.loadMerchant(String appid)
Load merchant merchant.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
WechatPaySigner.sign(AppMerchant appMerchant,
String... orderedComponents)
Sign string.
|
static String |
WechatPaySigner.sign(AppMerchant appMerchant,
URI uri,
String httpMethod,
String body)
Sign string.
|
| Modifier and Type | Field and Description |
|---|---|
private AppMerchant |
AbstractAuthorizationInterceptor.appMerchant |
private AppMerchant |
TenpayCertificateService.appMerchant |
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Retrofit |
TenpayCertificateService.TenpayCertificateRetrofitFactory.app(AppMerchant appMerchant)
带拦截器的Retrofit客户端
|
retrofit2.Retrofit |
WechatPayRetrofitFactory.app(AppMerchant appMerchant)
带拦截器的Retrofit客户端
|
private static okhttp3.OkHttpClient |
TenpayCertificateService.TenpayCertificateRetrofitFactory.okHttpClient(AppMerchant appMerchant,
okhttp3.ConnectionPool connectionPool,
okhttp3.logging.HttpLoggingInterceptor.Level level) |
private static okhttp3.OkHttpClient |
WechatPayRetrofitFactory.okHttpClient(String baseUrl,
AppMerchant appMerchant,
TenpayKeyCache tenpayKeyCache,
okhttp3.ConnectionPool connectionPool,
okhttp3.logging.HttpLoggingInterceptor.Level level) |
| Constructor and Description |
|---|
AbstractAuthorizationInterceptor(AppMerchant appMerchant)
Instantiates a new Abstract authorization interceptor.
|
TenpayCertificateAuthorizationInterceptor(AppMerchant appMerchant)
Instantiates a new Tenpay certificate authorization interceptor.
|
TenpayCertificateService(String baseUrl,
AppMerchant appMerchant,
TenpayKeyCache tenpayKeyCache)
Instantiates a new Tenpay certificate api.
|
WechatAuthorizationInterceptor(AppMerchant appMerchant,
TenpayCertificateService tenpayCertificateService)
Instantiates a new Wechat authorization interceptor.
|
Copyright © 2023. All rights reserved.