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

com.github.binarywang.wxpay.bean.result.WxPayRedpackQueryResult Maven / Gradle / Ivy

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

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 
 *   注释中各行对应含义:
 *   字段名
 *   字段
 *   必填
 *   示例值
 *   类型
 *   说明
 * Created by Binary Wang on 2016-11-28.
 * @author binarywang(Binary Wang)
 * 
*/ @XStreamAlias("xml") public class WxPayRedpackQueryResult extends WxPayBaseResult { /** *
   * 商户订单号
   * mch_billno
   * 是
   * 10000098201411111234567890
   * String(28)
   * 商户使用查询API填写的商户单号的原路返回
   * 
*/ @XStreamAlias("mch_billno") private String mchBillNo; /** *
   * 红包单号
   * detail_id
   * 是
   * 1000000000201503283103439304
   * String(32)
   * 使用API发放现金红包时返回的红包单号
   * 
*/ @XStreamAlias("detail_id") private String detailId; /** *
   * 红包状态
   * status
   * 是
   * RECEIVED
   * string(16)
   * SENDING:发放中,
   * SENT:已发放待领取,
   * FAILED:发放失败,
   * RECEIVED:已领取,
   * RFUND_ING:退款中,
   * REFUND:已退款
   * 
*/ @XStreamAlias("status") private String status; /** *
   * 发放类型
   * send_type
   * 是
   * API
   * String(32)
   *  API:通过API接口发放,
   *  UPLOAD:通过上传文件方式发放,
   *  ACTIVITY:通过活动方式发放
   * 
*/ @XStreamAlias("send_type") private String sendType; /** *
   * 红包类型
   * hb_type
   * 是
   * GROUP
   * String(32)
   *  GROUP:裂变红包,
   *  NORMAL:普通红包
   * 
*/ @XStreamAlias("hb_type") private String hbType; /** *
   * 红包个数
   * total_num
   * 是
   * 1
   * int
   * 红包个数
   * 
*/ @XStreamAlias("total_num") private Integer totalNum; /** *
   * 红包金额
   * total_amount
   * 是
   * 5000
   * int
   * 红包总金额(单位分)
   * 
*/ @XStreamAlias("total_amount") private Integer totalAmount; /** *
   * 失败原因
   * reason
   * 否
   * 余额不足
   * String(32)
   * 发送失败原因
   * 
*/ @XStreamAlias("reason") private String reason; /** *
   * 红包发送时间
   * send_time
   * 是
   * 2015-04-21 20:00:00
   * String(32)
   * 红包的发送时间
   * 
*/ @XStreamAlias("send_time") private String sendTime; /** *
   * 红包退款时间
   * refund_time
   * 否
   * 2015-04-21 23:03:00
   * String(32)
   * 红包的退款时间(如果其未领取的退款)
   * 
*/ @XStreamAlias("refund_time") private String refundTime; /** *
   * 红包退款金额
   * refund_amount
   * 否
   * 8000
   * Int
   * 红包退款金额
   * 
*/ @XStreamAlias("refund_amount") private Integer refundAmount; /** *
   * 祝福语
   * wishing
   * 否
   * 新年快乐
   * String(128)
   * 祝福语
   * 
*/ @XStreamAlias("wishing") private String wishing; /** *
   * 活动描述
   * remark
   * 否
   * 新年红包
   * String(256)
   * 活动描述,低版本微信可见
   * 
*/ @XStreamAlias("remark") private String remark; /** *
   * 活动名称
   * act_name
   * 否
   * 新年红包
   * String(32)
   * 发红包的活动名称
   * 
*/ @XStreamAlias("act_name") private String actName; /** *
   * 裂变红包领取列表
   * hblist
   * 否
   *
   *
   * 裂变红包的领取列表
   * 
*/ @XStreamAlias("hblist") private String hblist; /** *
   * 领取红包的Openid
   * openid
   * 是
   * ohO4GtzOAAYMp2yapORH3dQB3W18
   * String(32)
   * 领取红包的openid
   * 
*/ @XStreamAlias("openid") private String openid; /** *
   * 金额
   * amount
   * 是
   * 100
   * int
   * 领取金额
   * 
*/ @XStreamAlias("amount") private Integer amount; /** *
   * 接收时间
   * rcv_time
   * 是
   * 2015-04-21 20:00:00
   * String(32)
   * 领取红包的时间
   * 
*/ @XStreamAlias("rcv_time") private String receiveTime; public String getMchBillNo() { return mchBillNo; } public void setMchBillNo(String mchBillNo) { this.mchBillNo = mchBillNo; } public String getDetailId() { return detailId; } public void setDetailId(String detailId) { this.detailId = detailId; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getSendType() { return sendType; } public void setSendType(String sendType) { this.sendType = sendType; } public String getHbType() { return hbType; } public void setHbType(String hbType) { this.hbType = hbType; } public Integer getTotalNum() { return totalNum; } public void setTotalNum(Integer totalNum) { this.totalNum = totalNum; } public Integer getTotalAmount() { return totalAmount; } public void setTotalAmount(Integer totalAmount) { this.totalAmount = totalAmount; } public String getReason() { return reason; } public void setReason(String reason) { this.reason = reason; } public String getSendTime() { return sendTime; } public void setSendTime(String sendTime) { this.sendTime = sendTime; } public String getRefundTime() { return refundTime; } public void setRefundTime(String refundTime) { this.refundTime = refundTime; } public Integer getRefundAmount() { return refundAmount; } public void setRefundAmount(Integer refundAmount) { this.refundAmount = refundAmount; } public String getWishing() { return wishing; } public void setWishing(String wishing) { this.wishing = wishing; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public String getActName() { return actName; } public void setActName(String actName) { this.actName = actName; } public String getHblist() { return hblist; } public void setHblist(String hblist) { this.hblist = hblist; } public String getOpenid() { return openid; } public void setOpenid(String openid) { this.openid = openid; } public Integer getAmount() { return amount; } public void setAmount(Integer amount) { this.amount = amount; } public String getReceiveTime() { return receiveTime; } public void setReceiveTime(String receiveTime) { this.receiveTime = receiveTime; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy