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

cn.binarywang.wx.miniapp.bean.xpay.WxMaXPayQueryUploadGoodsResponse Maven / Gradle / Ivy

The newest version!
package cn.binarywang.wx.miniapp.bean.xpay;

import cn.binarywang.wx.miniapp.bean.WxMaBaseResponse;
import cn.binarywang.wx.miniapp.json.WxMaGsonBuilder;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaXPayQueryUploadGoodsResponse extends WxMaBaseResponse implements Serializable {
  private static final long serialVersionUID = 7495157056049312108L;
  @SerializedName("status")
  private Integer status;
  @SerializedName("upload_item")
  private List uploadItem;

  public String toJson() {
    return WxMaGsonBuilder.create().toJson(this);
  }

  @Data
  public static class UploadItem {
    @SerializedName("id")
    private String id;
    @SerializedName("name")
    private String name;
    @SerializedName("price")
    private Integer price;
    @SerializedName("remark")
    private String remark;
    @SerializedName("item_url")
    private String itemUrl;
    @SerializedName("upload_status")
    private Integer uploadStatus;
    @SerializedName("errmsg")
    private String errmsg;

  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy