Class AccountReference


  • public class AccountReference
    extends Object
    • Constructor Detail

      • AccountReference

        public AccountReference​(AccountReferenceType accountReferenceType,
                                String accountReferenceValue,
                                Currency currency)
        This constructor should be used for storing initial accounts data (as it was requested by TPP)
        Parameters:
        accountReferenceType - Account identifier type
        accountReferenceValue - Account identifier value
        currency - Currency Type
      • AccountReference

        public AccountReference​(AccountReferenceType accountReferenceType,
                                String accountReferenceValue,
                                Currency currency,
                                String resourceId,
                                String aspspAccountId)
        This constructor should be used for storing accounts data received from aspsp
        Parameters:
        accountReferenceType - Account identifier type
        accountReferenceValue - Account identifier value
        currency - Currency Type
        resourceId - The identification that denotes the addressed account
        aspspAccountId - Bank specific account ID
      • AccountReference

        public AccountReference()
    • Method Detail

      • isNotCardAccount

        public boolean isNotCardAccount()
      • isNotIbanAccount

        public boolean isNotIbanAccount()
      • getAspspAccountId

        public String getAspspAccountId()
      • getResourceId

        public String getResourceId()
      • getIban

        public String getIban()
      • getBban

        public String getBban()
      • getPan

        public String getPan()
      • getMaskedPan

        public String getMaskedPan()
      • getMsisdn

        public String getMsisdn()
      • getCurrency

        public Currency getCurrency()
      • getOtherAccountIdentification

        public String getOtherAccountIdentification()
      • setAspspAccountId

        public void setAspspAccountId​(String aspspAccountId)
      • setResourceId

        public void setResourceId​(String resourceId)
      • setIban

        public void setIban​(String iban)
      • setBban

        public void setBban​(String bban)
      • setPan

        public void setPan​(String pan)
      • setMaskedPan

        public void setMaskedPan​(String maskedPan)
      • setMsisdn

        public void setMsisdn​(String msisdn)
      • setCurrency

        public void setCurrency​(Currency currency)
      • setOtherAccountIdentification

        public void setOtherAccountIdentification​(String otherAccountIdentification)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object