Package com.adyen.model.marketpayaccount
Class CloseStoresRequest
- java.lang.Object
-
- com.adyen.model.marketpayaccount.CloseStoresRequest
-
public class CloseStoresRequest extends Object
CloseStoresRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_STORES
-
Constructor Summary
Constructors Constructor Description CloseStoresRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CloseStoresRequestaccountHolderCode(String accountHolderCode)CloseStoresRequestaddStoresItem(String storesItem)booleanequals(Object o)Return true if this CloseStoresRequest object is equal to o.static CloseStoresRequestfromJson(String jsonString)Create an instance of CloseStoresRequest given an JSON stringStringgetAccountHolderCode()The code of the account holder.List<String>getStores()List of stores to be closed.inthashCode()voidsetAccountHolderCode(String accountHolderCode)voidsetStores(List<String> stores)CloseStoresRequeststores(List<String> stores)StringtoJson()Convert an instance of CloseStoresRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORES
public static final String JSON_PROPERTY_STORES
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderCode
public CloseStoresRequest accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the account holder.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
stores
public CloseStoresRequest stores(List<String> stores)
-
addStoresItem
public CloseStoresRequest addStoresItem(String storesItem)
-
equals
public boolean equals(Object o)
Return true if this CloseStoresRequest object is equal to o.
-
fromJson
public static CloseStoresRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CloseStoresRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CloseStoresRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CloseStoresRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CloseStoresRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-