Class VerifiedAccount


  • public class VerifiedAccount
    extends Object
    VerifiedAccount
    • Constructor Detail

      • VerifiedAccount

        public VerifiedAccount()
    • Method Detail

      • accountId

        public VerifiedAccount accountId​(String accountId)
        The unique identifier for the bank account.
        Parameters:
        accountId - The unique identifier for the bank account.
        Returns:
        the current VerifiedAccount instance, allowing for method chaining
      • getAccountId

        public String getAccountId()
        The unique identifier for the bank account.
        Returns:
        accountId The unique identifier for the bank account.
      • setAccountId

        public void setAccountId​(String accountId)
        The unique identifier for the bank account.
        Parameters:
        accountId - The unique identifier for the bank account.
      • accountName

        public VerifiedAccount accountName​(String accountName)
        The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.
        Parameters:
        accountName - The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.
        Returns:
        the current VerifiedAccount instance, allowing for method chaining
      • getAccountName

        public String getAccountName()
        The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.
        Returns:
        accountName The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.
      • setAccountName

        public void setAccountName​(String accountName)
        The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.
        Parameters:
        accountName - The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.
      • accountNumber

        public VerifiedAccount accountNumber​(String accountNumber)
        The account number of the bank account.
        Parameters:
        accountNumber - The account number of the bank account.
        Returns:
        the current VerifiedAccount instance, allowing for method chaining
      • getAccountNumber

        public String getAccountNumber()
        The account number of the bank account.
        Returns:
        accountNumber The account number of the bank account.
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
        The account number of the bank account.
        Parameters:
        accountNumber - The account number of the bank account.
      • accountType

        public VerifiedAccount accountType​(AccountType accountType)
        accountType
        Parameters:
        accountType -
        Returns:
        the current VerifiedAccount instance, allowing for method chaining
      • getAccountType

        public AccountType getAccountType()
        Get accountType
        Returns:
        accountType
      • setAccountType

        public void setAccountType​(AccountType accountType)
        accountType
        Parameters:
        accountType -
      • bankName

        public VerifiedAccount bankName​(String bankName)
        The name of the banking institution where the bank account is held.
        Parameters:
        bankName - The name of the banking institution where the bank account is held.
        Returns:
        the current VerifiedAccount instance, allowing for method chaining
      • getBankName

        public String getBankName()
        The name of the banking institution where the bank account is held.
        Returns:
        bankName The name of the banking institution where the bank account is held.
      • setBankName

        public void setBankName​(String bankName)
        The name of the banking institution where the bank account is held.
        Parameters:
        bankName - The name of the banking institution where the bank account is held.
      • currency

        public VerifiedAccount currency​(String currency)
        The currency of the funds in the bank account.
        Parameters:
        currency - The currency of the funds in the bank account.
        Returns:
        the current VerifiedAccount instance, allowing for method chaining
      • getCurrency

        public String getCurrency()
        The currency of the funds in the bank account.
        Returns:
        currency The currency of the funds in the bank account.
      • setCurrency

        public void setCurrency​(String currency)
        The currency of the funds in the bank account.
        Parameters:
        currency - The currency of the funds in the bank account.
      • identifiers

        public VerifiedAccount identifiers​(AccountIdentifiers identifiers)
        identifiers
        Parameters:
        identifiers -
        Returns:
        the current VerifiedAccount instance, allowing for method chaining
      • getIdentifiers

        public AccountIdentifiers getIdentifiers()
        Get identifiers
        Returns:
        identifiers
      • setIdentifiers

        public void setIdentifiers​(AccountIdentifiers identifiers)
        identifiers
        Parameters:
        identifiers -
      • parties

        public VerifiedAccount parties​(List<AccountParty> parties)
        Contains details of all parties associated with the report.
        Parameters:
        parties - Contains details of all parties associated with the report.
        Returns:
        the current VerifiedAccount instance, allowing for method chaining
      • getParties

        public List<AccountParty> getParties()
        Contains details of all parties associated with the report.
        Returns:
        parties Contains details of all parties associated with the report.
      • setParties

        public void setParties​(List<AccountParty> parties)
        Contains details of all parties associated with the report.
        Parameters:
        parties - Contains details of all parties associated with the report.
      • equals

        public boolean equals​(Object o)
        Return true if this VerifiedAccount object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static VerifiedAccount fromJson​(String jsonString)
                                        throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of VerifiedAccount given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of VerifiedAccount
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to VerifiedAccount
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of VerifiedAccount to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException