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

com.foxinmy.weixin4j.model.qr.QRResult Maven / Gradle / Ivy

There is a newer version: 1.10.2
Show newest version
package com.foxinmy.weixin4j.model.qr;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 二维码
 * 
 * @className QRResult
 * @author jinyu([email protected])
 * @date 2015年7月29日
 * @since JDK 1.6
 * @see
 */
public class QRResult implements Serializable {

	private static final long serialVersionUID = 7730781702153258151L;

	private String ticket;
	private String url;
	@JSONField(name = "show_qrcode_url")
	private String showUrl;
	@JSONField(name = "expire_seconds")
	private int expireSeconds;
	private byte[] content;

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getShowUrl() {
		return showUrl;
	}

	public void setShowUrl(String showUrl) {
		this.showUrl = showUrl;
	}

	public int getExpireSeconds() {
		return expireSeconds;
	}

	public void setExpireSeconds(int expireSeconds) {
		this.expireSeconds = expireSeconds;
	}

	public byte[] getContent() {
		return content;
	}

	public void setContent(byte[] content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "QRResult [ticket=" + ticket + ", url=" + url + ", showUrl="
				+ showUrl + ", expireSeconds=" + expireSeconds
				+ ", content=..." + "]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy