Package com.adyen.model.marketpayfund
Class AccountHolderTransactionListRequest
- java.lang.Object
-
- com.adyen.model.marketpayfund.AccountHolderTransactionListRequest
-
public class AccountHolderTransactionListRequest extends Object
AccountHolderTransactionListRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountHolderTransactionListRequest.TransactionStatusesEnumGets or Sets transactionStatuses
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_TRANSACTION_LISTS_PER_ACCOUNTstatic StringJSON_PROPERTY_TRANSACTION_STATUSES
-
Constructor Summary
Constructors Constructor Description AccountHolderTransactionListRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSACTION_LISTS_PER_ACCOUNT
public static final String JSON_PROPERTY_TRANSACTION_LISTS_PER_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSACTION_STATUSES
public static final String JSON_PROPERTY_TRANSACTION_STATUSES
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderCode
public AccountHolderTransactionListRequest accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the account holder that owns the account(s) of which retrieve the transaction list.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
transactionListsPerAccount
public AccountHolderTransactionListRequest transactionListsPerAccount(List<TransactionListForAccount> transactionListsPerAccount)
-
addTransactionListsPerAccountItem
public AccountHolderTransactionListRequest addTransactionListsPerAccountItem(TransactionListForAccount transactionListsPerAccountItem)
-
getTransactionListsPerAccount
public List<TransactionListForAccount> getTransactionListsPerAccount()
A list of accounts to include in the transaction list. If left blank, the last fifty (50) transactions for all accounts of the account holder will be included.- Returns:
- transactionListsPerAccount
-
setTransactionListsPerAccount
public void setTransactionListsPerAccount(List<TransactionListForAccount> transactionListsPerAccount)
-
transactionStatuses
public AccountHolderTransactionListRequest transactionStatuses(List<AccountHolderTransactionListRequest.TransactionStatusesEnum> transactionStatuses)
-
addTransactionStatusesItem
public AccountHolderTransactionListRequest addTransactionStatusesItem(AccountHolderTransactionListRequest.TransactionStatusesEnum transactionStatusesItem)
-
getTransactionStatuses
public List<AccountHolderTransactionListRequest.TransactionStatusesEnum> getTransactionStatuses()
A list of statuses to include in the transaction list. If left blank, all transactions will be included. >Permitted values: >* `PendingCredit` - a pending balance credit. >* `CreditFailed` - a pending credit failure; the balance will not be credited. >* `Credited` - a credited balance. >* `PendingDebit` - a pending balance debit (e.g., a refund). >* `CreditClosed` - a pending credit closed; the balance will not be credited. >* `CreditSuspended` - a pending credit closed; the balance will not be credited. >* `DebitFailed` - a pending debit failure; the balance will not be debited. >* `Debited` - a debited balance (e.g., a refund). >* `DebitReversedReceived` - a pending refund reversal. >* `DebitedReversed` - a reversed refund. >* `ChargebackReceived` - a received chargeback request. >* `Chargeback` - a processed chargeback. >* `ChargebackReversedReceived` - a pending chargeback reversal. >* `ChargebackReversed` - a reversed chargeback. >* `Converted` - converted. >* `ManualCorrected` - manual booking/adjustment by Adyen. >* `Payout` - a payout. >* `PayoutReversed` - a reversed payout. >* `PendingFundTransfer` - a pending transfer of funds from one account to another. >* `FundTransfer` - a transfer of funds from one account to another.- Returns:
- transactionStatuses
-
setTransactionStatuses
public void setTransactionStatuses(List<AccountHolderTransactionListRequest.TransactionStatusesEnum> transactionStatuses)
-
equals
public boolean equals(Object o)
Return true if this AccountHolderTransactionListRequest object is equal to o.
-
fromJson
public static AccountHolderTransactionListRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountHolderTransactionListRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountHolderTransactionListRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountHolderTransactionListRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountHolderTransactionListRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-