Class GetStoresUnderAccountResponse
- java.lang.Object
-
- com.adyen.model.posterminalmanagement.GetStoresUnderAccountResponse
-
public class GetStoresUnderAccountResponse extends Object
GetStoresUnderAccountResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetStoresUnderAccountResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_STORES
-
Constructor Summary
Constructors Constructor Description GetStoresUnderAccountResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetStoresUnderAccountResponseaddStoresItem(Store storesItem)booleanequals(Object o)static GetStoresUnderAccountResponsefromJson(String jsonString)Create an instance of GetStoresUnderAccountResponse given an JSON stringList<Store>getStores()Array that returns a list of all stores for the specified merchant account, or for all merchant accounts under the company account.inthashCode()voidsetStores(List<Store> stores)GetStoresUnderAccountResponsestores(List<Store> stores)StringtoJson()Convert an instance of GetStoresUnderAccountResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
stores
public GetStoresUnderAccountResponse stores(List<Store> stores)
-
addStoresItem
public GetStoresUnderAccountResponse addStoresItem(Store storesItem)
-
getStores
public List<Store> getStores()
Array that returns a list of all stores for the specified merchant account, or for all merchant accounts under the company account.- Returns:
- stores
-
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 GetStoresUnderAccountResponse
-
fromJson
public static GetStoresUnderAccountResponse fromJson(String jsonString) throws IOException
Create an instance of GetStoresUnderAccountResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetStoresUnderAccountResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetStoresUnderAccountResponse
-
toJson
public String toJson()
Convert an instance of GetStoresUnderAccountResponse to an JSON string- Returns:
- JSON string
-
-