Giải pháp chuyển đổi số trọn gói cho doanh nghiệp Việt
Nơi tạo file java/com/vantinviet/adayroionline/ApiResponse
Tên file cần tạo: ApiResponseGetItemList
Nội dung file
package com.vantinviet.adayroionline.ApiResponse;
import com.google.gson.annotations.SerializedName;
import com.vantinviet.adayroionline.viewobject.Item;
import java.util.List;
public class ApiResponseGetItemList {
@SerializedName("result")
public String result;
@SerializedName("code")
public String code;
@SerializedName("errorMessage")
public String errorMessage;
@SerializedName("list_order")
public List<Item> itemList;
public ApiResponseGetItemList(String result, String code, String errorMessage, List<Item> itemList) {
this.result = result;
this.code = code;
this.errorMessage = errorMessage;
this.itemList = itemList;
}
@Override
public String toString() {
return "ApiResponseGetItemList{" +
"result='" + result + '\'' +
", code='" + code + '\'' +
", errorMessage='" + errorMessage + '\'' +
", itemList=" + itemList +
'}';
}
}
Chưa có câu hỏi nào cho bài này.