forked from Wechat-Group/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.
Fix issue Wechat-Group#2338: 修复了营销代金券接口的bug
- Loading branch information
Showing
5 changed files
with
86 additions
and
12 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
...-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksPauseResult.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,37 @@ | ||
package com.github.binarywang.wxpay.bean.marketing; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* 暂停代金券批次返回结果对象 | ||
* | ||
* @author lichuang | ||
*/ | ||
@NoArgsConstructor | ||
@Data | ||
public class FavorStocksPauseResult implements Serializable { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
/** | ||
* 生效时间 | ||
* <p> | ||
* 生效时间,遵循rfc3339标准格式,格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE,YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss.sss表示时分秒毫秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。例如:2015-05-20T13:29:35.120+08:00表示,北京时间2015年5月20日 13点29分35秒。 | ||
* 示例值:2015-05-20T13:29:35.120+08:00 | ||
*/ | ||
@SerializedName("pause_time") | ||
private String pauseTime; | ||
|
||
/** | ||
* 批次号 | ||
* <p> | ||
* 微信为每个代金券批次分配的唯一ID。 | ||
* 示例值:98065001 | ||
*/ | ||
@SerializedName("stock_id") | ||
private String stockId; | ||
} |
37 changes: 37 additions & 0 deletions
37
...ay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksRestartResult.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,37 @@ | ||
package com.github.binarywang.wxpay.bean.marketing; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* 重启代金券批次返回结果对象 | ||
* | ||
* @author lichuang | ||
*/ | ||
@NoArgsConstructor | ||
@Data | ||
public class FavorStocksRestartResult implements Serializable { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
/** | ||
* 生效时间 | ||
* <p> | ||
* 生效时间,遵循rfc3339标准格式,格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE,YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss.sss表示时分秒毫秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。例如:2015-05-20T13:29:35.120+08:00表示,北京时间2015年5月20日 13点29分35秒。 | ||
* 示例值:2015-05-20T13:29:35.120+08:00 | ||
*/ | ||
@SerializedName("restart_time") | ||
private String restartTime; | ||
|
||
/** | ||
* 批次号 | ||
* <p> | ||
* 微信为每个代金券批次分配的唯一ID。 | ||
* 示例值:98065001 | ||
*/ | ||
@SerializedName("stock_id") | ||
private String stockId; | ||
} |
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