Class AccountAccess


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2021-05-24T13:41:46.273636+03:00[Europe/Kiev]")
    public class AccountAccess
    extends Object
    Requested access services for a consent.
    • Constructor Detail

      • AccountAccess

        public AccountAccess()
    • Method Detail

      • getAccounts

        @Valid
        public @Valid List<AccountReference> getAccounts()
        Is asking for detailed account information. If the array is empty in a request, the TPP is asking for an accessible account list. This may be restricted in a PSU/ASPSP authorization dialogue. If the array is empty, also the arrays for balances, additionalInformation sub attributes or transactions shall be empty, if used.
        Returns:
        accounts
      • getBalances

        @Valid
        public @Valid List<AccountReference> getBalances()
        Is asking for balances of the addressed accounts. If the array is empty in the request, the TPP is asking for the balances of all accessible account lists. This may be restricted in a PSU/ASPSP authorization dialogue. If the array is empty, also the arrays for accounts, additionalInformation sub attributes or transactions shall be empty, if used.
        Returns:
        balances
      • getTransactions

        @Valid
        public @Valid List<AccountReference> getTransactions()
        Is asking for transactions of the addressed accounts. If the array is empty in the request, the TPP is asking for the transactions of all accessible account lists. This may be restricted in a PSU/ASPSP authorization dialogue. If the array is empty, also the arrays for accounts, additionalInformation sub attributes or balances shall be empty, if used.
        Returns:
        transactions
      • getAdditionalInformation

        @Valid
        public @Valid AdditionalInformationAccess getAdditionalInformation()
        Get additionalInformation
        Returns:
        additionalInformation
      • getAvailableAccounts

        public AccountAccess.AvailableAccountsEnum getAvailableAccounts()
        Optional if supported by API provider. The values \"allAccounts\" and \"allAccountsWithOwnerName\" are admitted. The support of the \"allAccountsWithOwnerName\" value by the ASPSP is optional.
        Returns:
        availableAccounts
      • getAvailableAccountsWithBalance

        public AccountAccess.AvailableAccountsWithBalanceEnum getAvailableAccountsWithBalance()
        Optional if supported by API provider. The values \"allAccounts\" and \"allAccountsWithOwnerName\" are admitted. The support of the \"allAccountsWithOwnerName\" value by the ASPSP is optional.
        Returns:
        availableAccountsWithBalance
      • getAllPsd2

        public AccountAccess.AllPsd2Enum getAllPsd2()
        Optional if supported by API provider. The values \"allAccounts\" and \"allAccountsWithOwnerName\" are admitted. The support of the \"allAccountsWithOwnerName\" value by the ASPSP is optional.
        Returns:
        allPsd2
      • getRestrictedTo

        public List<String> getRestrictedTo()
        If the TPP requests access to accounts via availableAccounts (List of available accounts), global or bank driven consents, the TPP may include this element to restrict access to the referred account types. Absence of the element is interpreted as \"no restriction\" (therefore access to accounts of all types is requested). The element may only occur, if each of the elements - accounts - balances - transactions is either not present or contains an empty array.
        Returns:
        restrictedTo
      • setRestrictedTo

        public void setRestrictedTo​(List<String> restrictedTo)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object