-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
169 additions
and
0 deletions.
There are no files selected for viewing
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; | ||
|
||
|
||
} |
32 changes: 32 additions & 0 deletions
32
...pay/src/main/java/com/github/binarywang/wxpay/bean/ecommerce/enums/SpAccountTypeEnum.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,32 @@ | ||
package com.github.binarywang.wxpay.bean.ecommerce.enums; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
/** | ||
* 服务商账户类型 | ||
* @author: f00lish | ||
* @date: 2020/09/12 | ||
*/ | ||
@Getter | ||
@AllArgsConstructor | ||
public enum SpAccountTypeEnum { | ||
|
||
/** | ||
* 基本账户 | ||
*/ | ||
BASIC("BASIC"), | ||
/** | ||
* 运营账户 | ||
*/ | ||
OPERATION("OPERATION"), | ||
/** | ||
* 手续费账户 | ||
*/ | ||
FEES("FEES"); | ||
|
||
/** | ||
* 账户类型 | ||
*/ | ||
private final String value; | ||
} |
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