Package com.adyen.model.management
Class ListStoresResponse
- java.lang.Object
-
- com.adyen.model.management.ListStoresResponse
-
public class ListStoresResponse extends Object
ListStoresResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListStoresResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DATAstatic StringSERIALIZED_NAME_ITEMS_TOTALstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_PAGES_TOTAL
-
Constructor Summary
Constructors Constructor Description ListStoresResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStoresResponseaddDataItem(Store dataItem)ListStoresResponsedata(List<Store> data)booleanequals(Object o)static ListStoresResponsefromJson(String jsonString)Create an instance of ListStoresResponse given an JSON stringList<Store>getData()List of storesIntegergetItemsTotal()Total number of items.PaginationLinksgetLinks()Get linksIntegergetPagesTotal()Total number of pages.inthashCode()ListStoresResponseitemsTotal(Integer itemsTotal)ListStoresResponselinks(PaginationLinks links)ListStoresResponsepagesTotal(Integer pagesTotal)voidsetData(List<Store> data)voidsetItemsTotal(Integer itemsTotal)voidsetLinks(PaginationLinks links)voidsetPagesTotal(Integer pagesTotal)StringtoJson()Convert an instance of ListStoresResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATA
public static final String SERIALIZED_NAME_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ITEMS_TOTAL
public static final String SERIALIZED_NAME_ITEMS_TOTAL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAGES_TOTAL
public static final String SERIALIZED_NAME_PAGES_TOTAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
links
public ListStoresResponse links(PaginationLinks links)
-
getLinks
public PaginationLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(PaginationLinks links)
-
data
public ListStoresResponse data(List<Store> data)
-
addDataItem
public ListStoresResponse addDataItem(Store dataItem)
-
itemsTotal
public ListStoresResponse itemsTotal(Integer itemsTotal)
-
getItemsTotal
public Integer getItemsTotal()
Total number of items.- Returns:
- itemsTotal
-
setItemsTotal
public void setItemsTotal(Integer itemsTotal)
-
pagesTotal
public ListStoresResponse pagesTotal(Integer pagesTotal)
-
getPagesTotal
public Integer getPagesTotal()
Total number of pages.- Returns:
- pagesTotal
-
setPagesTotal
public void setPagesTotal(Integer pagesTotal)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ListStoresResponse
-
fromJson
public static ListStoresResponse fromJson(String jsonString) throws IOException
Create an instance of ListStoresResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListStoresResponse
- Throws:
IOException- if the JSON string is invalid with respect to ListStoresResponse
-
toJson
public String toJson()
Convert an instance of ListStoresResponse to an JSON string- Returns:
- JSON string
-
-