mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🐛 #2338 【微信支付】营销代金券接口修复pause和restart实现的问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user