cn.felord.payment.wechat.v2

## 类 WechatAllocationApi

- java.lang.Object
- - cn.felord.payment.wechat.v2.WechatAllocationApi

-     public class WechatAllocationApi
      extends Object

  微信支付分账

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

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `private static com.fasterxml.jackson.databind.ObjectMapper` | `MAPPER` The constant MAPPER.
    `private WechatV2Client` | `wechatV2Client`

  - ### 构造器概要

    构造器
    构造器和说明
    `WechatAllocationApi(WechatV2Client wechatV2Client)` Instantiates a new Wechat allocation api.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `com.fasterxml.jackson.databind.JsonNode` | `multiProfitSharing(MultiProfitSharingModel multiProfitSharingModel)` 请求单次分账
    `com.fasterxml.jackson.databind.JsonNode` | `profitSharing(ProfitSharingModel profitSharingModel)` 请求单次分账
    `com.fasterxml.jackson.databind.JsonNode` | `profitSharingAddReceiver(ProfitSharingAddReceiverModel profitSharingAddReceiverModel)` 添加分账接收方
    `com.fasterxml.jackson.databind.JsonNode` | `profitSharingFinish(ProfitSharingFinishModel profitSharingFinishModel)` 完结分账
    `com.fasterxml.jackson.databind.JsonNode` | `profitSharingOrderAmountQuery(ProfitSharingOrderAmountQueryModel profitSharingOrderAmountQueryModel)` 查询订单待分账金额
    `com.fasterxml.jackson.databind.JsonNode` | `profitSharingQuery(ProfitSharingQueryModel profitSharingQueryModel)` 查询分账结果
    `com.fasterxml.jackson.databind.JsonNode` | `profitSharingRemoveReceiver(ProfitSharingRemoveReceiverModel profitSharingRemoveReceiverModel)` 删除分账接收方
    `com.fasterxml.jackson.databind.JsonNode` | `profitSharingReturn(ProfitSharingReturnModel profitSharingReturnModel)` 分账回退
    `com.fasterxml.jackson.databind.JsonNode` | `profitSharingReturnQuery(ProfitSharingReturnQueryModel profitSharingReturnQueryModel)` 回退结果查询

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

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

- - ### 字段详细资料

    - #### MAPPER

          private static final com.fasterxml.jackson.databind.ObjectMapper MAPPER

      The constant MAPPER.

    - #### wechatV2Client

          private final WechatV2Client wechatV2Client

  - ### 构造器详细资料

    - #### WechatAllocationApi

          public WechatAllocationApi(WechatV2Client wechatV2Client)

      Instantiates a new Wechat allocation api.
      参数:
        `wechatV2Client` - the wechat v 2 client

  - ### 方法详细资料

    - #### profitSharing

          public com.fasterxml.jackson.databind.JsonNode profitSharing(ProfitSharingModel profitSharingModel)

      请求单次分账
      参数:
        `profitSharingModel` - the profit sharing model
      返回:
        json node

    - #### multiProfitSharing

          public com.fasterxml.jackson.databind.JsonNode multiProfitSharing(MultiProfitSharingModel multiProfitSharingModel)

      请求单次分账
      参数:
        `multiProfitSharingModel` - the multi profit sharing model
      返回:
        json node

    - #### profitSharingQuery

          public com.fasterxml.jackson.databind.JsonNode profitSharingQuery(ProfitSharingQueryModel profitSharingQueryModel)

      查询分账结果
      参数:
        `profitSharingQueryModel` - the profit sharing query model
      返回:
        json node

    - #### profitSharingAddReceiver

          public com.fasterxml.jackson.databind.JsonNode profitSharingAddReceiver(ProfitSharingAddReceiverModel profitSharingAddReceiverModel)

      添加分账接收方
      参数:
        `profitSharingAddReceiverModel` - the profit sharing add receiver model
      返回:
        json node

    - #### profitSharingRemoveReceiver

          public com.fasterxml.jackson.databind.JsonNode profitSharingRemoveReceiver(ProfitSharingRemoveReceiverModel profitSharingRemoveReceiverModel)

      删除分账接收方
      参数:
        `profitSharingRemoveReceiverModel` - the profit sharing remove receiver model
      返回:
        json node

    - #### profitSharingFinish

          public com.fasterxml.jackson.databind.JsonNode profitSharingFinish(ProfitSharingFinishModel profitSharingFinishModel)

      完结分账
      参数:
        `profitSharingFinishModel` - the profit sharing finish model
      返回:
        json node

    - #### profitSharingOrderAmountQuery

          public com.fasterxml.jackson.databind.JsonNode profitSharingOrderAmountQuery(ProfitSharingOrderAmountQueryModel profitSharingOrderAmountQueryModel)

      查询订单待分账金额
      参数:
        `profitSharingOrderAmountQueryModel` - the profit sharing order amount query model
      返回:
        json node

    - #### profitSharingReturn

          public com.fasterxml.jackson.databind.JsonNode profitSharingReturn(ProfitSharingReturnModel profitSharingReturnModel)

      分账回退
      参数:
        `profitSharingReturnModel` - the profit sharing return model
      返回:
        json node

    - #### profitSharingReturnQuery

          public com.fasterxml.jackson.databind.JsonNode profitSharingReturnQuery(ProfitSharingReturnQueryModel profitSharingReturnQueryModel)

      回退结果查询
      参数:
        `profitSharingReturnQueryModel` - the profit sharing return query model
      返回:
        json node

Copyright © 2022. All rights reserved.