Class AccountState

    • Constructor Detail

      • AccountState

        public AccountState​(AccountState.Warning... warnings)
        Creates a new account state.
        Parameters:
        warnings - associated with the account
      • AccountState

        public AccountState​(AccountState.Error... errors)
        Creates a new account state.
        Parameters:
        errors - associated with the account
    • Method Detail

      • getWarnings

        public AccountState.Warning[] getWarnings()
        Returns the account state warnings.
        Returns:
        account state warnings
      • getWarning

        public AccountState.Warning getWarning()
        Returns the first account state warning or null if no warnings exist.
        Returns:
        first account state warning
      • getErrors

        public AccountState.Error[] getErrors()
        Returns the account state errors.
        Returns:
        account state errors
      • getError

        public AccountState.Error getError()
        Returns the first account state error or null if no errors exist.
        Returns:
        first account state error