public static class RefundService.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RefundService |
build()
构造服务
|
RefundService.Builder |
config(com.wechat.pay.java.core.Config config)
设置请求配置,以该配置构造默认的httpClient,若未调用httpClient()方法,则必须调用该方法
|
RefundService.Builder |
hostName(com.wechat.pay.java.core.http.HostName hostName)
设置微信支付域名,可选,默认为api.mch.weixin.qq.com
|
RefundService.Builder |
httpClient(com.wechat.pay.java.core.http.HttpClient httpClient)
设置自定义httpClient,若未调用config(),则必须调用该方法
|
public RefundService.Builder config(com.wechat.pay.java.core.Config config)
config
- 请求配置public RefundService.Builder hostName(com.wechat.pay.java.core.http.HostName hostName)
hostName
- 微信支付域名public RefundService.Builder httpClient(com.wechat.pay.java.core.http.HttpClient httpClient)
httpClient
- httpClientpublic RefundService build()