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

me.chanjar.weixin.mp.bean.card.WxMpCardCodeCheckcodeResult Maven / Gradle / Ivy

The newest version!
package me.chanjar.weixin.mp.bean.card;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;

import java.io.Serializable;
import java.util.List;


@Data
public class WxMpCardCodeCheckcodeResult implements Serializable {
  private static final long serialVersionUID = -5128692403997016750L;

  /**
   * 已经成功存入的code数目
   */
  @SerializedName("exist_code")
  private List existCode;

  @SerializedName("not_exist_code")
  private List notExistCode;


  public static WxMpCardCodeCheckcodeResult fromJson(String json) {
    return WxMpGsonBuilder.create().fromJson(json, WxMpCardCodeCheckcodeResult.class);
  }


  @Override
  public String toString() {
    return WxMpGsonBuilder.create().toJson(this);
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy