forked from binarywang/WxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Wechat-Group/develop
Develop
- Loading branch information
Showing
24 changed files
with
588 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...in-java-cp/src/main/java/me/chanjar/weixin/cp/bean/message/WxCpMessageSendStatistics.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package me.chanjar.weixin.cp.bean.message; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* 应用消息发送统计信息. | ||
* | ||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | ||
* @date 2020-09-13 | ||
*/ | ||
@Data | ||
public class WxCpMessageSendStatistics { | ||
public static WxCpMessageSendStatistics fromJson(String json) { | ||
return WxCpGsonBuilder.create().fromJson(json, WxCpMessageSendStatistics.class); | ||
} | ||
|
||
private List<StatisticItem> statistics; | ||
|
||
@Data | ||
public static class StatisticItem { | ||
/** | ||
* 应用名 | ||
*/ | ||
@SerializedName("app_name") | ||
private String appName; | ||
|
||
/** | ||
* 应用id | ||
*/ | ||
@SerializedName("agentid") | ||
private Integer agentId; | ||
|
||
/** | ||
* 发消息成功人次 | ||
*/ | ||
@SerializedName("count") | ||
private Integer count; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
...-java-pay/src/main/java/com/github/binarywang/wxpay/bean/ecommerce/FundBalanceResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
package com.github.binarywang.wxpay.bean.ecommerce; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
/** | ||
* @author: f00lish | ||
* @date: 2020/09/12 | ||
*/ | ||
@Data | ||
@NoArgsConstructor | ||
public class FundBalanceResult { | ||
/** | ||
* <pre> | ||
* 字段名:二级商户号 | ||
* 变量名:sub_mchid | ||
* 是否必填:是 | ||
* 类型:string(32) | ||
* 描述: | ||
* 电商平台二级商户号,由微信支付生成并下发。 | ||
* 示例值:1900000109 | ||
* </pre> | ||
*/ | ||
@SerializedName("sub_mchid") | ||
private String subMchid; | ||
|
||
/** | ||
* <pre> | ||
* 字段名:可用余额 | ||
* 变量名:available_amount | ||
* 是否必填:是 | ||
* 类型:int64 | ||
* 描述: | ||
* 可用余额(单位:分),此余额可做提现操作。 | ||
* 示例值:100 | ||
* </pre> | ||
*/ | ||
@SerializedName("available_amount") | ||
private Integer availableAmount; | ||
|
||
/** | ||
* <pre> | ||
* 字段名:不可用余额 | ||
* 变量名:pending_amount | ||
* 是否必填:否 | ||
* 类型:int64 | ||
* 描述: | ||
* 不可用余额(单位:分)。 | ||
* 示例值:100 | ||
* </pre> | ||
*/ | ||
@SerializedName("pending_amount") | ||
private Integer pendingAmount; | ||
|
||
|
||
} |
Oops, something went wrong.