Package com.adyen.model.marketpayfund
Class TransactionListForAccount
- java.lang.Object
-
- com.adyen.model.marketpayfund.TransactionListForAccount
-
public class TransactionListForAccount extends Object
TransactionListForAccount
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_CODEstatic StringJSON_PROPERTY_PAGE
-
Constructor Summary
Constructors Constructor Description TransactionListForAccount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionListForAccountaccountCode(String accountCode)booleanequals(Object o)Return true if this TransactionListForAccount object is equal to o.static TransactionListForAccountfromJson(String jsonString)Create an instance of TransactionListForAccount given an JSON stringStringgetAccountCode()The account for which to retrieve the transactions.IntegergetPage()The page of transactions to retrieve.inthashCode()TransactionListForAccountpage(Integer page)voidsetAccountCode(String accountCode)voidsetPage(Integer page)StringtoJson()Convert an instance of TransactionListForAccount to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_CODE
public static final String JSON_PROPERTY_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE
public static final String JSON_PROPERTY_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountCode
public TransactionListForAccount accountCode(String accountCode)
-
getAccountCode
public String getAccountCode()
The account for which to retrieve the transactions.- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
-
page
public TransactionListForAccount page(Integer page)
-
getPage
public Integer getPage()
The page of transactions to retrieve. Each page lists fifty (50) transactions. The most recent transactions are included on page 1.- Returns:
- page
-
setPage
public void setPage(Integer page)
-
equals
public boolean equals(Object o)
Return true if this TransactionListForAccount object is equal to o.
-
fromJson
public static TransactionListForAccount fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransactionListForAccount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransactionListForAccount
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransactionListForAccount
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransactionListForAccount to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-