cn.felord.payment.wechat.v3

## 类 WechatPayClient

- java.lang.Object
- - cn.felord.payment.wechat.v3.WechatPayClient

    public class WechatPayClient
    extends Object

The type Wechat pay client.

从以下版本开始:
  1.0.0.RELEASE
作者:
  felord.cn

### 嵌套类概要

嵌套类
`static class` `WechatPayClient.Executor<M>` The type Executor.

### 字段概要

字段
`private org.springframework.web.client.RestOperations` `restOperations` The Rest operations.
`private SignatureProvider` `signatureProvider` The Signature provider.

### 构造器概要

构造器
构造器和说明
`WechatPayClient(SignatureProvider signatureProvider)` Instantiates a new Wechat pay service.

### 方法概要

所有方法 实例方法 具体方法
`private void` `applyDefaultRestTemplate()` Apply default rest template.
`SignatureProvider` `signatureProvider()` Signature provider signature provider.
`<M> WechatPayClient.Executor<M>` `withType(WechatPayV3Type wechatPayV3Type, M m)` 构造 `WechatRequestEntity`.

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 字段详细资料

#### signatureProvider

    private final SignatureProvider signatureProvider

The Signature provider.

#### restOperations

    private org.springframework.web.client.RestOperations restOperations

The Rest operations.

### 构造器详细资料

#### WechatPayClient

    public WechatPayClient(SignatureProvider signatureProvider)

Instantiates a new Wechat pay service.

参数:
  `signatureProvider` - the signature provider

### 方法详细资料

#### withType

    public <M> WechatPayClient.Executor<M> withType(WechatPayV3Type wechatPayV3Type,
                                                    M m)

构造 `WechatRequestEntity`.

类型参数:
  `M` - the type parameter
参数:
  `wechatPayV3Type` - the v 3 pay type
  `m` - the m
返回:
  the executor

#### signatureProvider

    public SignatureProvider signatureProvider()

Signature provider signature provider.

返回:
  the signature provider

#### applyDefaultRestTemplate

    private void applyDefaultRestTemplate()

Apply default rest template.