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

me.chanjar.weixin.open.bean.WxOpenGetResult Maven / Gradle / Ivy

The newest version!
package me.chanjar.weixin.open.bean;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.chanjar.weixin.common.util.json.WxGsonBuilder;
import me.chanjar.weixin.open.bean.result.WxOpenResult;

import java.io.Serializable;

/**
 * 文档地址:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/account/get.html
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WxOpenGetResult extends WxOpenResult implements Serializable {

  private static final long serialVersionUID = -1196242565823312696L;

  @SerializedName("open_appid")
  private String openAppid;

  public static WxOpenGetResult fromJson(String json) {
    return WxGsonBuilder.create().fromJson(json, WxOpenGetResult.class);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy