Package com.adyen.model.marketpayfund
Class AccountTransactionList
- java.lang.Object
-
- com.adyen.model.marketpayfund.AccountTransactionList
-
public class AccountTransactionList extends Object
AccountTransactionList
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_CODEstatic StringJSON_PROPERTY_HAS_NEXT_PAGEstatic StringJSON_PROPERTY_TRANSACTIONS
-
Constructor Summary
Constructors Constructor Description AccountTransactionList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountTransactionListaccountCode(String accountCode)AccountTransactionListaddTransactionsItem(Transaction transactionsItem)booleanequals(Object o)Return true if this AccountTransactionList object is equal to o.static AccountTransactionListfromJson(String jsonString)Create an instance of AccountTransactionList given an JSON stringStringgetAccountCode()The code of the account.BooleangetHasNextPage()Indicates whether there is a next page of transactions available.List<Transaction>getTransactions()The list of transactions.inthashCode()AccountTransactionListhasNextPage(Boolean hasNextPage)voidsetAccountCode(String accountCode)voidsetHasNextPage(Boolean hasNextPage)voidsetTransactions(List<Transaction> transactions)StringtoJson()Convert an instance of AccountTransactionList to an JSON stringStringtoString()AccountTransactionListtransactions(List<Transaction> transactions)
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_CODE
public static final String JSON_PROPERTY_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HAS_NEXT_PAGE
public static final String JSON_PROPERTY_HAS_NEXT_PAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSACTIONS
public static final String JSON_PROPERTY_TRANSACTIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountCode
public AccountTransactionList accountCode(String accountCode)
-
getAccountCode
public String getAccountCode()
The code of the account.- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
-
hasNextPage
public AccountTransactionList hasNextPage(Boolean hasNextPage)
-
getHasNextPage
public Boolean getHasNextPage()
Indicates whether there is a next page of transactions available.- Returns:
- hasNextPage
-
setHasNextPage
public void setHasNextPage(Boolean hasNextPage)
-
transactions
public AccountTransactionList transactions(List<Transaction> transactions)
-
addTransactionsItem
public AccountTransactionList addTransactionsItem(Transaction transactionsItem)
-
getTransactions
public List<Transaction> getTransactions()
The list of transactions.- Returns:
- transactions
-
setTransactions
public void setTransactions(List<Transaction> transactions)
-
equals
public boolean equals(Object o)
Return true if this AccountTransactionList object is equal to o.
-
fromJson
public static AccountTransactionList fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountTransactionList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountTransactionList
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountTransactionList
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountTransactionList to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-