Package com.adyen.model.balanceplatform
Class PaginatedAccountHoldersResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.PaginatedAccountHoldersResponse
-
public class PaginatedAccountHoldersResponse extends Object
PaginatedAccountHoldersResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDERSstatic StringJSON_PROPERTY_HAS_NEXTstatic StringJSON_PROPERTY_HAS_PREVIOUS
-
Constructor Summary
Constructors Constructor Description PaginatedAccountHoldersResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginatedAccountHoldersResponseaccountHolders(List<AccountHolder> accountHolders)PaginatedAccountHoldersResponseaddAccountHoldersItem(AccountHolder accountHoldersItem)booleanequals(Object o)Return true if this PaginatedAccountHoldersResponse object is equal to o.static PaginatedAccountHoldersResponsefromJson(String jsonString)Create an instance of PaginatedAccountHoldersResponse given an JSON stringList<AccountHolder>getAccountHolders()List of account holders.BooleangetHasNext()Indicates whether there are more items on the next page.BooleangetHasPrevious()Indicates whether there are more items on the previous page.inthashCode()PaginatedAccountHoldersResponsehasNext(Boolean hasNext)PaginatedAccountHoldersResponsehasPrevious(Boolean hasPrevious)voidsetAccountHolders(List<AccountHolder> accountHolders)List of account holders.voidsetHasNext(Boolean hasNext)Indicates whether there are more items on the next page.voidsetHasPrevious(Boolean hasPrevious)Indicates whether there are more items on the previous page.StringtoJson()Convert an instance of PaginatedAccountHoldersResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDERS
public static final String JSON_PROPERTY_ACCOUNT_HOLDERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HAS_NEXT
public static final String JSON_PROPERTY_HAS_NEXT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HAS_PREVIOUS
public static final String JSON_PROPERTY_HAS_PREVIOUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolders
public PaginatedAccountHoldersResponse accountHolders(List<AccountHolder> accountHolders)
-
addAccountHoldersItem
public PaginatedAccountHoldersResponse addAccountHoldersItem(AccountHolder accountHoldersItem)
-
getAccountHolders
public List<AccountHolder> getAccountHolders()
List of account holders.- Returns:
- accountHolders
-
setAccountHolders
public void setAccountHolders(List<AccountHolder> accountHolders)
List of account holders.- Parameters:
accountHolders-
-
hasNext
public PaginatedAccountHoldersResponse hasNext(Boolean hasNext)
-
getHasNext
public Boolean getHasNext()
Indicates whether there are more items on the next page.- Returns:
- hasNext
-
setHasNext
public void setHasNext(Boolean hasNext)
Indicates whether there are more items on the next page.- Parameters:
hasNext-
-
hasPrevious
public PaginatedAccountHoldersResponse hasPrevious(Boolean hasPrevious)
-
getHasPrevious
public Boolean getHasPrevious()
Indicates whether there are more items on the previous page.- Returns:
- hasPrevious
-
setHasPrevious
public void setHasPrevious(Boolean hasPrevious)
Indicates whether there are more items on the previous page.- Parameters:
hasPrevious-
-
equals
public boolean equals(Object o)
Return true if this PaginatedAccountHoldersResponse object is equal to o.
-
fromJson
public static PaginatedAccountHoldersResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaginatedAccountHoldersResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaginatedAccountHoldersResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaginatedAccountHoldersResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaginatedAccountHoldersResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-