Class GetStoresUnderAccountRequest
- java.lang.Object
-
- com.adyen.model.posterminalmanagement.GetStoresUnderAccountRequest
-
public class GetStoresUnderAccountRequest extends Object
GetStoresUnderAccountRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetStoresUnderAccountRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COMPANY_ACCOUNTstatic StringSERIALIZED_NAME_MERCHANT_ACCOUNT
-
Constructor Summary
Constructors Constructor Description GetStoresUnderAccountRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetStoresUnderAccountRequestcompanyAccount(String companyAccount)booleanequals(Object o)static GetStoresUnderAccountRequestfromJson(String jsonString)Create an instance of GetStoresUnderAccountRequest given an JSON stringStringgetCompanyAccount()The company account.StringgetMerchantAccount()The merchant account.inthashCode()GetStoresUnderAccountRequestmerchantAccount(String merchantAccount)voidsetCompanyAccount(String companyAccount)voidsetMerchantAccount(String merchantAccount)StringtoJson()Convert an instance of GetStoresUnderAccountRequest 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_COMPANY_ACCOUNT
public static final String SERIALIZED_NAME_COMPANY_ACCOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_ACCOUNT
public static final String SERIALIZED_NAME_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
companyAccount
public GetStoresUnderAccountRequest companyAccount(String companyAccount)
-
getCompanyAccount
public String getCompanyAccount()
The company account. If you only specify this parameter, the response includes the stores of all merchant accounts that are associated with the company account.- Returns:
- companyAccount
-
setCompanyAccount
public void setCompanyAccount(String companyAccount)
-
merchantAccount
public GetStoresUnderAccountRequest merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The merchant account. With this parameter, the response only includes the stores of the specified merchant account.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
-
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 GetStoresUnderAccountRequest
-
fromJson
public static GetStoresUnderAccountRequest fromJson(String jsonString) throws IOException
Create an instance of GetStoresUnderAccountRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetStoresUnderAccountRequest
- Throws:
IOException- if the JSON string is invalid with respect to GetStoresUnderAccountRequest
-
toJson
public String toJson()
Convert an instance of GetStoresUnderAccountRequest to an JSON string- Returns:
- JSON string
-
-