me.chanjar.weixin.mp.bean.result

## 类 WxMpQrCodeTicket

- java.lang.Object
- - me.chanjar.weixin.mp.bean.result.WxMpQrCodeTicket

所有已实现的接口:
  Serializable

    public class WxMpQrCodeTicket
    extends Object
    implements Serializable

换取二维码的Ticket

作者:
  chanjarster
另请参阅:
  序列化表格

### 字段概要

字段
`protected int` `expire_seconds`
`protected String` `ticket`
`protected String` `url`

### 构造器概要

构造器
构造器和说明
`WxMpQrCodeTicket()`

### 方法概要

方法
`static WxMpQrCodeTicket` `fromJson(String json)`
`int` `getExpire_seconds()` 如果返回-1说明是永久
`String` `getTicket()`
`String` `getUrl()`
`void` `setExpire_seconds(int expire_seconds)`
`void` `setTicket(String ticket)`
`void` `setUrl(String url)`
`String` `toString()`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### 字段详细资料

#### ticket

    protected String ticket

#### expire_seconds

    protected int expire_seconds

#### url

    protected String url

### 构造器详细资料

#### WxMpQrCodeTicket

    public WxMpQrCodeTicket()

### 方法详细资料

#### getTicket

    public String getTicket()

#### setTicket

    public void setTicket(String ticket)

#### getExpire_seconds

    public int getExpire_seconds()

如果返回-1说明是永久

#### setExpire_seconds

    public void setExpire_seconds(int expire_seconds)

#### getUrl

    public String getUrl()

#### setUrl

    public void setUrl(String url)

#### fromJson

    public static WxMpQrCodeTicket fromJson(String json)

#### toString

    public String toString()

覆盖:
  `toString` 在类中 `Object`