Class AccountReference


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2020-12-15T15:15:03.911267+02:00[Europe/Kiev]")
    public class AccountReference
    extends Object
    Reference to an account by either: * IBAN, of a payment accounts, or * BBAN, for payment accounts if there is no IBAN, or * the Primary Account Number (PAN) of a card, can be tokenised by the ASPSP due to PCI DSS requirements, or * the Primary Account Number (PAN) of a card in a masked form, or * an alias to access a payment account via a registered mobile phone number (MSISDN).
    • Constructor Detail

      • AccountReference

        public AccountReference()
    • Method Detail

      • 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)
      • getPan

        @Size(max=35)
        public @Size(max=35) String getPan()
        Get pan
        Returns:
        pan
      • setPan

        public void setPan​(String pan)
      • getMaskedPan

        @Size(max=35)
        public @Size(max=35) String getMaskedPan()
        Get maskedPan
        Returns:
        maskedPan
      • setMaskedPan

        public void setMaskedPan​(String maskedPan)
      • getMsisdn

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

        public void setMsisdn​(String msisdn)
      • getCurrency

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

        public void setCurrency​(String currency)
      • otherAccountIdentification

        public AccountReference otherAccountIdentification​(String otherAccountIdentification)
      • getOtherAccountIdentification

        public String getOtherAccountIdentification()
        Get otherAccountIdentification
        Returns:
        otherAccountIdentification
      • setOtherAccountIdentification

        public void setOtherAccountIdentification​(String otherAccountIdentification)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object