All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.binarywang.wxpay.bean.coupon.WxPayCouponStockQueryResult Maven / Gradle / Ivy

There is a newer version: 4.6.9.B
Show newest version
package com.github.binarywang.wxpay.bean.coupon;

import com.github.binarywang.wxpay.bean.result.WxPayBaseResult;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 
 * 查询代金券批次响应结果类
 * Created by Binary Wang on 2017-7-15.
 * 
* * @author Binary Wang */ @XStreamAlias("xml") public class WxPayCouponStockQueryResult extends WxPayBaseResult { /** *
   * 字段名:设备号
   * 变量名:device_info
   * 是否必填:否
   * 示例值:123456sb
   * 类型:String(32)
   * 说明:微信支付分配的终端设备号
   * 
*/ @XStreamAlias("device_info") private String deviceInfo; /** *
   * 字段名:代金券批次ID
   * 变量名:coupon_stock_id
   * 是否必填:是
   * 示例值:1757
   * 类型:String
   * 说明:代金券批次Id
   * 
*/ @XStreamAlias("coupon_stock_id") private String couponStockId; /** *
   * 字段名:代金券名称
   * 变量名:coupon_name
   * 是否必填:否
   * 示例值:测试代金券
   * 类型:String
   * 说明:代金券名称
   * 
*/ @XStreamAlias("coupon_name") private String couponName; /** *
   * 字段名:代金券面额
   * 变量名:coupon_value
   * 是否必填:是
   * 示例值:5
   * 类型:Unsinged int
   * 说明:代金券面值,单位是分
   * 
*/ @XStreamAlias("coupon_value") private Integer couponValue; /** *
   * 字段名:代金券使用最低限额
   * 变量名:coupon_mininumn
   * 是否必填:否
   * 示例值:10
   * 类型:Unsinged int
   * 说明:代金券使用最低限额,单位是分
   * 
*/ @XStreamAlias("coupon_mininumn") private Integer couponMininumn; /** *
   * 字段名:代金券批次状态
   * 变量名:coupon_stock_status
   * 是否必填:是
   * 示例值:4
   * 类型:int
   * 说明:批次状态: 1-未激活;2-审批中;4-已激活;8-已作废;16-中止发放;
   * 
*/ @XStreamAlias("coupon_stock_status") private Integer couponStockStatus; /** *
   * 字段名:代金券数量
   * 变量名:coupon_total
   * 是否必填:是
   * 示例值:100
   * 类型:Unsigned int
   * 说明:代金券数量
   * 
*/ @XStreamAlias("coupon_total") private Integer couponTotal; /** *
   * 字段名:代金券最大领取数量
   * 变量名:max_quota
   * 是否必填:否
   * 示例值:1
   * 类型:Unsigned int
   * 说明:代金券每个人最多能领取的数量, 如果为0,则表示没有限制
   * 
*/ @XStreamAlias("max_quota") private Integer maxQuota; /** *
   * 字段名:代金券已经发送的数量
   * 变量名:is_send_num
   * 是否必填:否
   * 示例值:0
   * 类型:Unsigned int
   * 说明:代金券已经发送的数量
   * 
*/ @XStreamAlias("is_send_num") private Integer isSendNum; /** *
   * 字段名:生效开始时间
   * 变量名:begin_time
   * 是否必填:是
   * 示例值:1943787483
   * 类型:String
   * 说明:格式为时间戳
   * 
*/ @XStreamAlias("begin_time") private String beginTime; /** *
   * 字段名:生效结束时间
   * 变量名:end_time
   * 是否必填:是
   * 示例值:1943787490
   * 类型:String
   * 说明:格式为时间戳
   * 
*/ @XStreamAlias("end_time") private String endTime; /** *
   * 字段名:创建时间
   * 变量名:create_time
   * 是否必填:是
   * 示例值:1943787420
   * 类型:String
   * 说明:格式为时间戳
   * 
*/ @XStreamAlias("create_time") private String createTime; /** *
   * 字段名:代金券预算额度
   * 变量名:coupon_budget
   * 是否必填:否
   * 示例值:500
   * 类型:Unsigned int
   * 说明:代金券预算额度
   * 
*/ @XStreamAlias("coupon_budget") private Integer couponBudget; public String getDeviceInfo() { return this.deviceInfo; } public void setDeviceInfo(String deviceInfo) { this.deviceInfo = deviceInfo; } public String getCouponStockId() { return this.couponStockId; } public void setCouponStockId(String couponStockId) { this.couponStockId = couponStockId; } public String getCouponName() { return this.couponName; } public void setCouponName(String couponName) { this.couponName = couponName; } public Integer getCouponValue() { return this.couponValue; } public void setCouponValue(Integer couponValue) { this.couponValue = couponValue; } public Integer getCouponMininumn() { return this.couponMininumn; } public void setCouponMininumn(Integer couponMininumn) { this.couponMininumn = couponMininumn; } public Integer getCouponStockStatus() { return this.couponStockStatus; } public void setCouponStockStatus(Integer couponStockStatus) { this.couponStockStatus = couponStockStatus; } public Integer getCouponTotal() { return this.couponTotal; } public void setCouponTotal(Integer couponTotal) { this.couponTotal = couponTotal; } public Integer getMaxQuota() { return this.maxQuota; } public void setMaxQuota(Integer maxQuota) { this.maxQuota = maxQuota; } public Integer getIsSendNum() { return this.isSendNum; } public void setIsSendNum(Integer isSendNum) { this.isSendNum = isSendNum; } public String getBeginTime() { return this.beginTime; } public void setBeginTime(String beginTime) { this.beginTime = beginTime; } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public String getCreateTime() { return this.createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } public Integer getCouponBudget() { return this.couponBudget; } public void setCouponBudget(Integer couponBudget) { this.couponBudget = couponBudget; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy