Class GetStoresUnderAccountRequest
- java.lang.Object
-
- com.adyen.model.posterminalmanagement.GetStoresUnderAccountRequest
-
public class GetStoresUnderAccountRequest extends Object
GetStoresUnderAccountRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COMPANY_ACCOUNTstatic StringJSON_PROPERTY_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)The company account.booleanequals(Object o)Return true if this GetStoresUnderAccountRequest object is equal to 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)The merchant account.voidsetCompanyAccount(String companyAccount)The company account.voidsetMerchantAccount(String merchantAccount)The merchant account.StringtoJson()Convert an instance of GetStoresUnderAccountRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COMPANY_ACCOUNT
public static final String JSON_PROPERTY_COMPANY_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ACCOUNT
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
companyAccount
public GetStoresUnderAccountRequest companyAccount(String companyAccount)
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.- Parameters:
companyAccount-- Returns:
- the current
GetStoresUnderAccountRequestinstance, allowing for method chaining
-
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)
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.- Parameters:
companyAccount-
-
merchantAccount
public GetStoresUnderAccountRequest merchantAccount(String merchantAccount)
The merchant account. With this parameter, the response only includes the stores of the specified merchant account.- Parameters:
merchantAccount-- Returns:
- the current
GetStoresUnderAccountRequestinstance, allowing for method chaining
-
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)
The merchant account. With this parameter, the response only includes the stores of the specified merchant account.- Parameters:
merchantAccount-
-
equals
public boolean equals(Object o)
Return true if this GetStoresUnderAccountRequest object is equal to o.
-
fromJson
public static GetStoresUnderAccountRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GetStoresUnderAccountRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetStoresUnderAccountRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GetStoresUnderAccountRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GetStoresUnderAccountRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-