Class BankAccountAuthorizer


  • public class BankAccountAuthorizer
    extends java.lang.Object
    A helper tool used to generate bank account authorizations for linking with the Token System.
    • Constructor Summary

      Constructors 
      Constructor Description
      BankAccountAuthorizer​(java.lang.String bankId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.token.proto.banklink.Banklink.BankAuthorization createAuthorization​(java.lang.String memberId, java.util.List<NamedAccount> accounts)
      Creates a new bank account linking authorization.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BankAccountAuthorizer

        public BankAccountAuthorizer​(java.lang.String bankId)
    • Method Detail

      • createAuthorization

        public io.token.proto.banklink.Banklink.BankAuthorization createAuthorization​(java.lang.String memberId,
                                                                                      java.util.List<NamedAccount> accounts)
        Creates a new bank account linking authorization.
        Parameters:
        memberId - the token memberId to be authorized
        accounts - a list of accounts to be linked with the member ID
        Returns:
        a bank account linking authorization