@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call editBankConnectionValidateBeforeCall(Long id, EditBankConnectionParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'id' is set if (id == null) { throw new ApiException("Missing the required parameter 'id' when calling editBankConnection(Async)"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling editBankConnection(Async)"); } com.squareup.okhttp.Call call = editBankConnectionCall(id, body, progressListener, progressRequestListener); return call; }
private void authorizeClient() { try { clientToken = new AuthorizationApi(createApiClient()).getToken("client_credentials", finapiClientId, finapiSecret, null, null, null); } catch (ApiException e) { LOG.error(e.getMessage(), e); } } }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call getTokenValidateBeforeCall(String grantType, String clientId, String clientSecret, String refreshToken, String username, String password, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'grantType' is set if (grantType == null) { throw new ApiException("Missing the required parameter 'grantType' when calling getToken(Async)"); } // verify the required parameter 'clientId' is set if (clientId == null) { throw new ApiException("Missing the required parameter 'clientId' when calling getToken(Async)"); } // verify the required parameter 'clientSecret' is set if (clientSecret == null) { throw new ApiException("Missing the required parameter 'clientSecret' when calling getToken(Async)"); } com.squareup.okhttp.Call call = getTokenCall(grantType, clientId, clientSecret, refreshToken, username, password, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call editLabelValidateBeforeCall(Long id, LabelParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'id' is set if (id == null) { throw new ApiException("Missing the required parameter 'id' when calling editLabel(Async)"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling editLabel(Async)"); } com.squareup.okhttp.Call call = editLabelCall(id, body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call editTransactionValidateBeforeCall(Long id, UpdateTransactionsParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'id' is set if (id == null) { throw new ApiException("Missing the required parameter 'id' when calling editTransaction(Async)"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling editTransaction(Async)"); } com.squareup.okhttp.Call call = editTransactionCall(id, body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call splitTransactionValidateBeforeCall(Long id, SplitTransactionsParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'id' is set if (id == null) { throw new ApiException("Missing the required parameter 'id' when calling splitTransaction(Async)"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling splitTransaction(Async)"); } com.squareup.okhttp.Call call = splitTransactionCall(id, body, progressListener, progressRequestListener); return call; }
@Deprecated @SuppressWarnings("rawtypes") private com.squareup.okhttp.Call editMultipleTransactionsDeprecatedValidateBeforeCall(List<Long> ids, UpdateTransactionsParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'ids' is set if (ids == null) { throw new ApiException("Missing the required parameter 'ids' when calling editMultipleTransactionsDeprecated(Async)"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling editMultipleTransactionsDeprecated(Async)"); } com.squareup.okhttp.Call call = editMultipleTransactionsDeprecatedCall(ids, body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call revokeTokenValidateBeforeCall(String token, String tokenTypeHint, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'token' is set if (token == null) { throw new ApiException("Missing the required parameter 'token' when calling revokeToken(Async)"); } com.squareup.okhttp.Call call = revokeTokenCall(token, tokenTypeHint, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call changeClientCredentialsValidateBeforeCall(ChangeClientCredentialsParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling changeClientCredentials(Async)"); } com.squareup.okhttp.Call call = changeClientCredentialsCall(body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call editAccountValidateBeforeCall(Long id, AccountParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'id' is set if (id == null) { throw new ApiException("Missing the required parameter 'id' when calling editAccount(Async)"); } com.squareup.okhttp.Call call = editAccountCall(id, body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call mockBatchUpdateValidateBeforeCall(MockBatchUpdateParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling mockBatchUpdate(Async)"); } com.squareup.okhttp.Call call = mockBatchUpdateCall(body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call getBankValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'id' is set if (id == null) { throw new ApiException("Missing the required parameter 'id' when calling getBank(Async)"); } com.squareup.okhttp.Call call = getBankCall(id, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call createNotificationRuleValidateBeforeCall(NotificationRuleParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling createNotificationRule(Async)"); } com.squareup.okhttp.Call call = createNotificationRuleCall(body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call getTransactionValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'id' is set if (id == null) { throw new ApiException("Missing the required parameter 'id' when calling getTransaction(Async)"); } com.squareup.okhttp.Call call = getTransactionCall(id, progressListener, progressRequestListener); return call; }
@Deprecated @SuppressWarnings("rawtypes") private com.squareup.okhttp.Call getMultipleBankConnectionsValidateBeforeCall(List<Long> ids, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'ids' is set if (ids == null) { throw new ApiException("Missing the required parameter 'ids' when calling getMultipleBankConnections(Async)"); } com.squareup.okhttp.Call call = getMultipleBankConnectionsCall(ids, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call getSecurityValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'id' is set if (id == null) { throw new ApiException("Missing the required parameter 'id' when calling getSecurity(Async)"); } com.squareup.okhttp.Call call = getSecurityCall(id, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call createUserValidateBeforeCall(UserCreateParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling createUser(Async)"); } com.squareup.okhttp.Call call = createUserCall(body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call createIbanRulesValidateBeforeCall(IbanRulesParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling createIbanRules(Async)"); } com.squareup.okhttp.Call call = createIbanRulesCall(body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call deleteUsersValidateBeforeCall(UserIdentifiersParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling deleteUsers(Async)"); } com.squareup.okhttp.Call call = deleteUsersCall(body, progressListener, progressRequestListener); return call; }
@SuppressWarnings("rawtypes") private com.squareup.okhttp.Call executeSepaDirectDebitValidateBeforeCall(ExecuteSepaDirectDebitParams body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { throw new ApiException("Missing the required parameter 'body' when calling executeSepaDirectDebit(Async)"); } com.squareup.okhttp.Call call = executeSepaDirectDebitCall(body, progressListener, progressRequestListener); return call; }