Class AccountDetails


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2021-05-24T13:41:46.273636+03:00[Europe/Kiev]")
    public class AccountDetails
    extends Object
    The ASPSP shall give at least one of the account reference identifiers: - iban - bban - pan - maskedPan - msisdn If the account is a multicurrency account currency code in \"currency\" is set to \"XXX\".
    • Constructor Detail

      • AccountDetails

        public AccountDetails()
    • Method Detail

      • getResourceId

        public String getResourceId()
        This shall be filled, if addressable resource are created by the ASPSP on the /accounts or /card-accounts endpoint.
        Returns:
        resourceId
      • setResourceId

        public void setResourceId​(String resourceId)
      • getIban

        @Pattern(regexp="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}")
        public @Pattern(regexp="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}") String getIban()
        Get iban
        Returns:
        iban
      • setIban

        public void setIban​(String iban)
      • getBban

        @Pattern(regexp="[a-zA-Z0-9]{1,30}")
        public @Pattern(regexp="[a-zA-Z0-9]{1,30}") String getBban()
        Get bban
        Returns:
        bban
      • setBban

        public void setBban​(String bban)
      • getMsisdn

        @Size(max=35)
        public @Size(max=35) String getMsisdn()
        Get msisdn
        Returns:
        msisdn
      • setMsisdn

        public void setMsisdn​(String msisdn)
      • getCurrency

        @NotNull
        @Pattern(regexp="[A-Z]{3}")
        public @NotNull @Pattern(regexp="[A-Z]{3}") String getCurrency()
        Get currency
        Returns:
        currency
      • setCurrency

        public void setCurrency​(String currency)
      • getName

        @Size(max=70)
        public @Size(max=70) String getName()
        Name of the account, as assigned by the ASPSP, in agreement with the account owner in order to provide an additional means of identification of the account.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getDisplayName

        @Size(max=70)
        public @Size(max=70) String getDisplayName()
        Get displayName
        Returns:
        displayName
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getProduct

        @Size(max=35)
        public @Size(max=35) String getProduct()
        Product name of the bank for this account, proprietary definition.
        Returns:
        product
      • setProduct

        public void setProduct​(String product)
      • getCashAccountType

        public String getCashAccountType()
        Get cashAccountType
        Returns:
        cashAccountType
      • setCashAccountType

        public void setCashAccountType​(String cashAccountType)
      • getStatus

        @Valid
        public @Valid AccountStatus getStatus()
        Get status
        Returns:
        status
      • getBic

        @Pattern(regexp="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}")
        public @Pattern(regexp="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}") String getBic()
        Get bic
        Returns:
        bic
      • setBic

        public void setBic​(String bic)
      • getLinkedAccounts

        @Size(max=70)
        public @Size(max=70) String getLinkedAccounts()
        Case of a set of pending card transactions, the APSP will provide the relevant cash account the card is set up on.
        Returns:
        linkedAccounts
      • setLinkedAccounts

        public void setLinkedAccounts​(String linkedAccounts)
      • getUsage

        @Size(max=4)
        public @Size(max=4) AccountDetails.UsageEnum getUsage()
        Specifies the usage of the account: * PRIV: private personal account * ORGA: professional account
        Returns:
        usage
      • getDetails

        @Size(max=500)
        public @Size(max=500) String getDetails()
        Specifications that might be provided by the ASPSP: - characteristics of the account - characteristics of the relevant card
        Returns:
        details
      • setDetails

        public void setDetails​(String details)
      • getBalances

        @Valid
        public @Valid BalanceList getBalances()
        Get balances
        Returns:
        balances
      • setBalances

        public void setBalances​(BalanceList balances)
      • getLinks

        @Valid
        public @Valid Map getLinks()
        Get _links
        Returns:
        _links
      • setLinks

        public void setLinks​(Map _links)
      • getOwnerName

        @Size(max=140)
        public @Size(max=140) String getOwnerName()
        Get ownerName
        Returns:
        ownerName
      • setOwnerName

        public void setOwnerName​(String ownerName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object