Skip to content

2.0.0: Salt Edge API V5

Compare
Choose a tag to compare
@ConstantinKV ConstantinKV released this 01 Apr 10:34
· 91 commits to master since this release
2f76902

Added

  • Added prefix SE to all base models (e.g. SEProvider, SEConnection, SEAccount, SETransaction, SEStage, SEAttempt, SEApiError)
  • Added Saltbridge class
  • Added returnUrl and locale to SEAttempt
  • Added definition Consent (class SEConsent)
  • Added SERequestManager.fetchConsents(String customerSecret, String connectionSecret, FetchConsentsResult callback)
  • Added SERequestManager.revokeConsent(String customerSecret, String connectionSecret, String consentId, DeleteEntryResult callback)

Changed

  • Upgraded library to use Saltedge API v5

  • Renamed all occurrences of definition Login to Connection

  • Renamed all occurrences of definition Token to Connect Session

  • Modified SERequestManager methods:

    • createToken(String providerCode, String[] scopes, String returnTo, String customerSecret, TokenConnectionResult callback)
      to createConnectSession(String customerSecret, String providerCode, String[] consentScopes, String localeCode, String returnToUrl, ConnectSessionResult callback)
    • createToken(Map<String, Object> dataMap, String customerSecret, TokenConnectionResult callback)
      to createConnectSession(String customerSecret, Map<String, Object> dataMap, ConnectSessionResult callback)
    • reconnectToken(String localeCode, String returnTo, String loginSecret, String customerSecret, TokenConnectionResult callback)
      to createReconnectSession(String customerSecret, String connectionSecret, String[] consentScopes, String localeCode, String returnToUrl, ConnectSessionResult callback)
    • reconnectToken(String localeCode, String returnTo, String loginSecret, String customerSecret, boolean overrideCredentials, TokenConnectionResult callback)
      to createReconnectSession(String customerSecret, String connectionSecret, String[] consentScopes, String localeCode, String returnToUrl, boolean overrideCredentials, ConnectSessionResult callback)
    • refreshToken(String localeCode, String returnTo, String loginSecret, String customerSecret, TokenConnectionResult callback)
      to createRefreshSession(String customerSecret, String connectionSecret, String localeCode, String returnToUrl, ConnectSessionResult callback)
    • refreshLoginWithSecret(tring customerSecret, LoginData loginData, String[] refreshScopes, RefreshLoginResult callback)
      to refreshConnectionWithSecret(String customerSecret, SEConnection connectionData, String[] refreshScopes, RefreshConnectionResult callback)
    • fetchLogin(String customerSecret, String loginSecret, FetchLoginsResult callback)
      to fetchConnection(String customerSecret, String connectionSecret, FetchConnectionsResult callback)
    • fetchLogin(String customerSecret, String[] loginSecretsArray, FetchLoginsResult callback)
      to fetchConnection(String customerSecret, String[] connectionsSecretsArray, FetchConnectionsResult callback)
    • deleteLogin(String customerSecret, String loginSecret, DeleteLoginResult callback)
      to deleteConnection(String customerSecret, String connectionSecret, DeleteEntryResult callback)
    • fetchAccounts(String customerSecret, String loginSecret, FetchAccountsResult callback)
      to fetchAccounts(String customerSecret, String connectionSecret, FetchAccountsResult callback)
    • fetchAllTransactions(String customerSecret, String loginSecret, String accountId, FetchTransactionsResult callback)
      to fetchAllTransactions(String customerSecret, String connectionSecret, String accountId, FetchTransactionsResult callback)
    • fetchAllTransactions(String customerSecret, String loginSecret, String accountId, String fromTransactionId, FetchTransactionsResult callback)
      to fetchAllTransactions(String customerSecret, String connectionSecret, String accountId, String fromTransactionId, FetchTransactionsResult callback)
    • fetchTransactions(String customerSecret, String loginSecret, String accountId, String fromTransactionId, FetchTransactionsResult callback)
      to fetchTransactions(String customerSecret, String connectionSecret, String accountId, String fromTransactionId, FetchTransactionsResult callback)
    • fetchTransactions(String customerSecret, String loginSecret, String accountId, String fromTransactionId, boolean fetchPendingTransactions, boolean fetchAllTransactionsFromId, FetchTransactionsResult callback)
      to fetchTransactions(String customerSecret, String connectionSecret, String accountId, String fromTransactionId, boolean fetchPendingTransactions, boolean fetchAllTransactionsFromId, FetchTransactionsResult callback)
    • fetchPendingTransactionsOfAccount(String customerSecret, String loginSecret, String accountId, FetchTransactionsResult callback)
      to fetchPendingTransactionsOfAccount(String customerSecret, String connectionSecret, String accountId, FetchTransactionsResult callback)
  • Modified WebViewRedirectListener methods:

    • onLoginSecretFetchSuccess(String statusResponse, String loginId, String loginSecret)
      to onConnectSessionSuccess(String connectionId, String connectionSecret, String stage)
    • onLoginSecretFetchError(String statusResponse)
      to onConnectSessionError(String stage)
    • onLoginRefreshSuccess() to onConnectionUpdate()
    • onLoginFetchingStage(String loginId, String loginSecret)
      to onConnectSessionStageChange(String connectionId, String connectionSecret, String stage, String apiStage).

Removed

  • CreateTokenRequest model
  • SERequestManager.fetchTransactionsOfAccount