From 9d4d809d6a49fe56d129c963b238dfe6e7b801b1 Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Tue, 15 Oct 2024 19:56:39 +0000 Subject: [PATCH] style(internal): move Handlers.kt and HttpRequestBodies.kt to core --- .../com/lithic/api/client/LithicClientAsyncImpl.kt | 6 +++--- .../kotlin/com/lithic/api/client/LithicClientImpl.kt | 6 +++--- .../com/lithic/api/{services => core}/Handlers.kt | 2 +- .../lithic/api/{services => core}/HttpRequestBodies.kt | 5 +---- .../services/async/AccountHolderServiceAsyncImpl.kt | 8 ++++---- .../api/services/async/AccountServiceAsyncImpl.kt | 8 ++++---- .../services/async/AggregateBalanceServiceAsyncImpl.kt | 6 +++--- .../api/services/async/AuthRuleServiceAsyncImpl.kt | 8 ++++---- .../async/AuthStreamEnrollmentServiceAsyncImpl.kt | 10 +++++----- .../api/services/async/BalanceServiceAsyncImpl.kt | 6 +++--- .../api/services/async/BookTransferServiceAsyncImpl.kt | 8 ++++---- .../api/services/async/CardProgramServiceAsyncImpl.kt | 6 +++--- .../lithic/api/services/async/CardServiceAsyncImpl.kt | 10 +++++----- .../services/async/CreditProductServiceAsyncImpl.kt | 2 +- .../services/async/DigitalCardArtServiceAsyncImpl.kt | 6 +++--- .../api/services/async/DisputeServiceAsyncImpl.kt | 8 ++++---- .../lithic/api/services/async/EventServiceAsyncImpl.kt | 6 +++--- .../async/ExternalBankAccountServiceAsyncImpl.kt | 8 ++++---- .../services/async/ExternalPaymentServiceAsyncImpl.kt | 8 ++++---- .../services/async/FinancialAccountServiceAsyncImpl.kt | 8 ++++---- .../async/ManagementOperationServiceAsyncImpl.kt | 8 ++++---- .../api/services/async/PaymentServiceAsyncImpl.kt | 8 ++++---- .../api/services/async/ReportServiceAsyncImpl.kt | 2 +- .../async/ResponderEndpointServiceAsyncImpl.kt | 10 +++++----- .../api/services/async/ThreeDSServiceAsyncImpl.kt | 2 +- .../async/TokenizationDecisioningServiceAsyncImpl.kt | 8 ++++---- .../api/services/async/TokenizationServiceAsyncImpl.kt | 10 +++++----- .../api/services/async/TransactionServiceAsyncImpl.kt | 8 ++++---- .../api/services/async/TransferServiceAsyncImpl.kt | 8 ++++---- .../api/services/async/authRules/V2ServiceAsyncImpl.kt | 8 ++++---- .../async/cards/AggregateBalanceServiceAsyncImpl.kt | 6 +++--- .../services/async/cards/BalanceServiceAsyncImpl.kt | 6 +++--- .../cards/FinancialTransactionServiceAsyncImpl.kt | 6 +++--- .../creditProducts/ExtendedCreditServiceAsyncImpl.kt | 6 +++--- .../async/events/SubscriptionServiceAsyncImpl.kt | 10 +++++----- .../MicroDepositServiceAsyncImpl.kt | 8 ++++---- .../async/financialAccounts/BalanceServiceAsyncImpl.kt | 6 +++--- .../CreditConfigurationServiceAsyncImpl.kt | 8 ++++---- .../FinancialTransactionServiceAsyncImpl.kt | 6 +++--- .../financialAccounts/LoanTapeServiceAsyncImpl.kt | 6 +++--- .../financialAccounts/StatementServiceAsyncImpl.kt | 6 +++--- .../statements/LineItemServiceAsyncImpl.kt | 6 +++--- .../async/reports/SettlementServiceAsyncImpl.kt | 6 +++--- .../async/threeDS/AuthenticationServiceAsyncImpl.kt | 8 ++++---- .../async/threeDS/DecisioningServiceAsyncImpl.kt | 10 +++++----- .../EnhancedCommercialDataServiceAsyncImpl.kt | 6 +++--- .../async/transactions/EventServiceAsyncImpl.kt | 2 +- .../events/EnhancedCommercialDataServiceAsyncImpl.kt | 6 +++--- .../api/services/blocking/AccountHolderServiceImpl.kt | 8 ++++---- .../lithic/api/services/blocking/AccountServiceImpl.kt | 8 ++++---- .../services/blocking/AggregateBalanceServiceImpl.kt | 6 +++--- .../api/services/blocking/AuthRuleServiceImpl.kt | 8 ++++---- .../blocking/AuthStreamEnrollmentServiceImpl.kt | 10 +++++----- .../lithic/api/services/blocking/BalanceServiceImpl.kt | 6 +++--- .../api/services/blocking/BookTransferServiceImpl.kt | 8 ++++---- .../api/services/blocking/CardProgramServiceImpl.kt | 6 +++--- .../lithic/api/services/blocking/CardServiceImpl.kt | 10 +++++----- .../api/services/blocking/CreditProductServiceImpl.kt | 2 +- .../api/services/blocking/DigitalCardArtServiceImpl.kt | 6 +++--- .../lithic/api/services/blocking/DisputeServiceImpl.kt | 8 ++++---- .../lithic/api/services/blocking/EventServiceImpl.kt | 6 +++--- .../blocking/ExternalBankAccountServiceImpl.kt | 8 ++++---- .../services/blocking/ExternalPaymentServiceImpl.kt | 8 ++++---- .../services/blocking/FinancialAccountServiceImpl.kt | 8 ++++---- .../blocking/ManagementOperationServiceImpl.kt | 8 ++++---- .../lithic/api/services/blocking/PaymentServiceImpl.kt | 8 ++++---- .../lithic/api/services/blocking/ReportServiceImpl.kt | 2 +- .../services/blocking/ResponderEndpointServiceImpl.kt | 10 +++++----- .../lithic/api/services/blocking/ThreeDSServiceImpl.kt | 2 +- .../blocking/TokenizationDecisioningServiceImpl.kt | 8 ++++---- .../api/services/blocking/TokenizationServiceImpl.kt | 10 +++++----- .../api/services/blocking/TransactionServiceImpl.kt | 8 ++++---- .../api/services/blocking/TransferServiceImpl.kt | 8 ++++---- .../api/services/blocking/authRules/V2ServiceImpl.kt | 8 ++++---- .../blocking/cards/AggregateBalanceServiceImpl.kt | 6 +++--- .../api/services/blocking/cards/BalanceServiceImpl.kt | 6 +++--- .../blocking/cards/FinancialTransactionServiceImpl.kt | 6 +++--- .../creditProducts/ExtendedCreditServiceImpl.kt | 6 +++--- .../blocking/events/SubscriptionServiceImpl.kt | 10 +++++----- .../externalBankAccounts/MicroDepositServiceImpl.kt | 8 ++++---- .../blocking/financialAccounts/BalanceServiceImpl.kt | 6 +++--- .../CreditConfigurationServiceImpl.kt | 8 ++++---- .../FinancialTransactionServiceImpl.kt | 6 +++--- .../blocking/financialAccounts/LoanTapeServiceImpl.kt | 6 +++--- .../blocking/financialAccounts/StatementServiceImpl.kt | 6 +++--- .../statements/LineItemServiceImpl.kt | 6 +++--- .../services/blocking/reports/SettlementServiceImpl.kt | 6 +++--- .../blocking/threeDS/AuthenticationServiceImpl.kt | 8 ++++---- .../blocking/threeDS/DecisioningServiceImpl.kt | 10 +++++----- .../transactions/EnhancedCommercialDataServiceImpl.kt | 6 +++--- .../services/blocking/transactions/EventServiceImpl.kt | 2 +- .../events/EnhancedCommercialDataServiceImpl.kt | 6 +++--- 92 files changed, 314 insertions(+), 317 deletions(-) rename lithic-kotlin-core/src/main/kotlin/com/lithic/api/{services => core}/Handlers.kt (99%) rename lithic-kotlin-core/src/main/kotlin/com/lithic/api/{services => core}/HttpRequestBodies.kt (96%) diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/client/LithicClientAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/client/LithicClientAsyncImpl.kt index 46bd3f5a..968d03f0 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/client/LithicClientAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/client/LithicClientAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.client import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.* import com.lithic.api.services.async.* -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class LithicClientAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/client/LithicClientImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/client/LithicClientImpl.kt index af317bf5..18025c73 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/client/LithicClientImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/client/LithicClientImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.client import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.* import com.lithic.api.services.blocking.* -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class LithicClientImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/Handlers.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/core/Handlers.kt similarity index 99% rename from lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/Handlers.kt rename to lithic-kotlin-core/src/main/kotlin/com/lithic/api/core/Handlers.kt index f38cfeb8..49cd4784 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/Handlers.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/core/Handlers.kt @@ -1,6 +1,6 @@ @file:JvmName("Handlers") -package com.lithic.api.services +package com.lithic.api.core import com.fasterxml.jackson.databind.json.JsonMapper import com.fasterxml.jackson.module.kotlin.jacksonTypeRef diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/HttpRequestBodies.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/core/HttpRequestBodies.kt similarity index 96% rename from lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/HttpRequestBodies.kt rename to lithic-kotlin-core/src/main/kotlin/com/lithic/api/core/HttpRequestBodies.kt index 20c52620..6a6fba6c 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/HttpRequestBodies.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/core/HttpRequestBodies.kt @@ -1,11 +1,8 @@ @file:JvmName("HttpRequestBodies") -package com.lithic.api.services +package com.lithic.api.core import com.fasterxml.jackson.databind.json.JsonMapper -import com.lithic.api.core.Enum -import com.lithic.api.core.JsonValue -import com.lithic.api.core.MultipartFormValue import com.lithic.api.core.http.HttpRequestBody import com.lithic.api.errors.LithicException import java.io.ByteArrayOutputStream diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AccountHolderServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AccountHolderServiceAsyncImpl.kt index 3ff27c4d..bf6f8892 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AccountHolderServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AccountHolderServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AccountHolder import com.lithic.api.models.AccountHolderCreateParams @@ -25,10 +29,6 @@ import com.lithic.api.models.AccountHolderUpdateParams import com.lithic.api.models.AccountHolderUpdateResponse import com.lithic.api.models.AccountHolderUploadDocumentParams import com.lithic.api.models.Document -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler import java.time.Duration class AccountHolderServiceAsyncImpl diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AccountServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AccountServiceAsyncImpl.kt index 275d4bc5..62d3ae14 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AccountServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AccountServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Account import com.lithic.api.models.AccountListPageAsync @@ -15,10 +19,6 @@ import com.lithic.api.models.AccountRetrieveParams import com.lithic.api.models.AccountRetrieveSpendLimitsParams import com.lithic.api.models.AccountSpendLimits import com.lithic.api.models.AccountUpdateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AccountServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AggregateBalanceServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AggregateBalanceServiceAsyncImpl.kt index 637d11b8..5e9a5536 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AggregateBalanceServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AggregateBalanceServiceAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AggregateBalanceListPageAsync import com.lithic.api.models.AggregateBalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AggregateBalanceServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AuthRuleServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AuthRuleServiceAsyncImpl.kt index 3c24dc8f..51000115 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AuthRuleServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AuthRuleServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AuthRule import com.lithic.api.models.AuthRuleApplyParams @@ -21,10 +25,6 @@ import com.lithic.api.models.AuthRuleRetrieveResponse import com.lithic.api.models.AuthRuleUpdateParams import com.lithic.api.services.async.authRules.V2ServiceAsync import com.lithic.api.services.async.authRules.V2ServiceAsyncImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AuthRuleServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AuthStreamEnrollmentServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AuthStreamEnrollmentServiceAsyncImpl.kt index 63319a84..065dc1e8 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AuthStreamEnrollmentServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/AuthStreamEnrollmentServiceAsyncImpl.kt @@ -4,18 +4,18 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AuthStreamEnrollmentRetrieveSecretParams import com.lithic.api.models.AuthStreamEnrollmentRotateSecretParams import com.lithic.api.models.AuthStreamSecret -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AuthStreamEnrollmentServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/BalanceServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/BalanceServiceAsyncImpl.kt index 3d0d31e3..ff08a06a 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/BalanceServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/BalanceServiceAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.BalanceListPageAsync import com.lithic.api.models.BalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class BalanceServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/BookTransferServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/BookTransferServiceAsyncImpl.kt index ab85ecb4..99a6db20 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/BookTransferServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/BookTransferServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.BookTransferCreateParams import com.lithic.api.models.BookTransferListPageAsync @@ -14,10 +18,6 @@ import com.lithic.api.models.BookTransferListParams import com.lithic.api.models.BookTransferResponse import com.lithic.api.models.BookTransferRetrieveParams import com.lithic.api.models.BookTransferReverseParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class BookTransferServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CardProgramServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CardProgramServiceAsyncImpl.kt index ec38ae65..f2776c2c 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CardProgramServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CardProgramServiceAsyncImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CardProgram import com.lithic.api.models.CardProgramListPageAsync import com.lithic.api.models.CardProgramListParams import com.lithic.api.models.CardProgramRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class CardProgramServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CardServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CardServiceAsyncImpl.kt index dee25f23..7a51c782 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CardServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CardServiceAsyncImpl.kt @@ -4,9 +4,14 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.stringHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Card import com.lithic.api.models.CardCreateParams @@ -28,11 +33,6 @@ import com.lithic.api.services.async.cards.BalanceServiceAsync import com.lithic.api.services.async.cards.BalanceServiceAsyncImpl import com.lithic.api.services.async.cards.FinancialTransactionServiceAsync import com.lithic.api.services.async.cards.FinancialTransactionServiceAsyncImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.stringHandler -import com.lithic.api.services.withErrorHandler class CardServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CreditProductServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CreditProductServiceAsyncImpl.kt index bd29500a..fd1da3aa 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CreditProductServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/CreditProductServiceAsyncImpl.kt @@ -3,11 +3,11 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpResponse.Handler import com.lithic.api.errors.LithicError import com.lithic.api.services.async.creditProducts.ExtendedCreditServiceAsync import com.lithic.api.services.async.creditProducts.ExtendedCreditServiceAsyncImpl -import com.lithic.api.services.errorHandler class CreditProductServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/DigitalCardArtServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/DigitalCardArtServiceAsyncImpl.kt index 3558d8c6..c8fdf2fe 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/DigitalCardArtServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/DigitalCardArtServiceAsyncImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.DigitalCardArt import com.lithic.api.models.DigitalCardArtListPageAsync import com.lithic.api.models.DigitalCardArtListParams import com.lithic.api.models.DigitalCardArtRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class DigitalCardArtServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/DisputeServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/DisputeServiceAsyncImpl.kt index 362916d4..d75be830 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/DisputeServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/DisputeServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Dispute import com.lithic.api.models.DisputeCreateParams @@ -21,10 +25,6 @@ import com.lithic.api.models.DisputeListParams import com.lithic.api.models.DisputeRetrieveEvidenceParams import com.lithic.api.models.DisputeRetrieveParams import com.lithic.api.models.DisputeUpdateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class DisputeServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/EventServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/EventServiceAsyncImpl.kt index 6e8be8de..b301e754 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/EventServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/EventServiceAsyncImpl.kt @@ -4,9 +4,12 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Event import com.lithic.api.models.EventListAttemptsPageAsync @@ -16,9 +19,6 @@ import com.lithic.api.models.EventListParams import com.lithic.api.models.EventRetrieveParams import com.lithic.api.services.async.events.SubscriptionServiceAsync import com.lithic.api.services.async.events.SubscriptionServiceAsyncImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class EventServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ExternalBankAccountServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ExternalBankAccountServiceAsyncImpl.kt index 759c7503..e9975207 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ExternalBankAccountServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ExternalBankAccountServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ExternalBankAccountCreateParams import com.lithic.api.models.ExternalBankAccountCreateResponse @@ -22,10 +26,6 @@ import com.lithic.api.models.ExternalBankAccountUpdateParams import com.lithic.api.models.ExternalBankAccountUpdateResponse import com.lithic.api.services.async.externalBankAccounts.MicroDepositServiceAsync import com.lithic.api.services.async.externalBankAccounts.MicroDepositServiceAsyncImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ExternalBankAccountServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ExternalPaymentServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ExternalPaymentServiceAsyncImpl.kt index 5facfbd3..783ad842 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ExternalPaymentServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ExternalPaymentServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ExternalPayment import com.lithic.api.models.ExternalPaymentCancelParams @@ -17,10 +21,6 @@ import com.lithic.api.models.ExternalPaymentReleaseParams import com.lithic.api.models.ExternalPaymentRetrieveParams import com.lithic.api.models.ExternalPaymentReverseParams import com.lithic.api.models.ExternalPaymentSettleParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ExternalPaymentServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/FinancialAccountServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/FinancialAccountServiceAsyncImpl.kt index 7b7a19dd..ee846d28 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/FinancialAccountServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/FinancialAccountServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccount import com.lithic.api.models.FinancialAccountCreateParams @@ -24,10 +28,6 @@ import com.lithic.api.services.async.financialAccounts.LoanTapeServiceAsync import com.lithic.api.services.async.financialAccounts.LoanTapeServiceAsyncImpl import com.lithic.api.services.async.financialAccounts.StatementServiceAsync import com.lithic.api.services.async.financialAccounts.StatementServiceAsyncImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class FinancialAccountServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ManagementOperationServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ManagementOperationServiceAsyncImpl.kt index 874bae9f..602c334a 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ManagementOperationServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ManagementOperationServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ManagementOperationCreateParams import com.lithic.api.models.ManagementOperationListPageAsync @@ -14,10 +18,6 @@ import com.lithic.api.models.ManagementOperationListParams import com.lithic.api.models.ManagementOperationRetrieveParams import com.lithic.api.models.ManagementOperationReverseParams import com.lithic.api.models.ManagementOperationTransaction -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ManagementOperationServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/PaymentServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/PaymentServiceAsyncImpl.kt index 33d5ef5c..5760d51b 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/PaymentServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/PaymentServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Payment import com.lithic.api.models.PaymentCreateParams @@ -24,10 +28,6 @@ import com.lithic.api.models.PaymentSimulateReleaseParams import com.lithic.api.models.PaymentSimulateReleaseResponse import com.lithic.api.models.PaymentSimulateReturnParams import com.lithic.api.models.PaymentSimulateReturnResponse -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class PaymentServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ReportServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ReportServiceAsyncImpl.kt index 7d27843f..ebfc197c 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ReportServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ReportServiceAsyncImpl.kt @@ -3,11 +3,11 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpResponse.Handler import com.lithic.api.errors.LithicError import com.lithic.api.services.async.reports.SettlementServiceAsync import com.lithic.api.services.async.reports.SettlementServiceAsyncImpl -import com.lithic.api.services.errorHandler class ReportServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ResponderEndpointServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ResponderEndpointServiceAsyncImpl.kt index 332980ba..35f0899d 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ResponderEndpointServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ResponderEndpointServiceAsyncImpl.kt @@ -4,20 +4,20 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ResponderEndpointCheckStatusParams import com.lithic.api.models.ResponderEndpointCreateParams import com.lithic.api.models.ResponderEndpointCreateResponse import com.lithic.api.models.ResponderEndpointDeleteParams import com.lithic.api.models.ResponderEndpointStatus -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ResponderEndpointServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ThreeDSServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ThreeDSServiceAsyncImpl.kt index 764b32b1..ef76f2b2 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ThreeDSServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/ThreeDSServiceAsyncImpl.kt @@ -3,13 +3,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpResponse.Handler import com.lithic.api.errors.LithicError import com.lithic.api.services.async.threeDS.AuthenticationServiceAsync import com.lithic.api.services.async.threeDS.AuthenticationServiceAsyncImpl import com.lithic.api.services.async.threeDS.DecisioningServiceAsync import com.lithic.api.services.async.threeDS.DecisioningServiceAsyncImpl -import com.lithic.api.services.errorHandler class ThreeDSServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TokenizationDecisioningServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TokenizationDecisioningServiceAsyncImpl.kt index 6fd4bc36..e92a5845 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TokenizationDecisioningServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TokenizationDecisioningServiceAsyncImpl.kt @@ -4,18 +4,18 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.TokenizationDecisioningRetrieveSecretParams import com.lithic.api.models.TokenizationDecisioningRotateSecretParams import com.lithic.api.models.TokenizationDecisioningRotateSecretResponse import com.lithic.api.models.TokenizationSecret -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class TokenizationDecisioningServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TokenizationServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TokenizationServiceAsyncImpl.kt index 46257f31..289ba7ac 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TokenizationServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TokenizationServiceAsyncImpl.kt @@ -4,9 +4,14 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.TokenizationActivateParams import com.lithic.api.models.TokenizationDeactivateParams @@ -21,11 +26,6 @@ import com.lithic.api.models.TokenizationSimulateResponse import com.lithic.api.models.TokenizationUnpauseParams import com.lithic.api.models.TokenizationUpdateDigitalCardArtParams import com.lithic.api.models.TokenizationUpdateDigitalCardArtResponse -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class TokenizationServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TransactionServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TransactionServiceAsyncImpl.kt index 8b50d09e..6e1ac5af 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TransactionServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TransactionServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Transaction import com.lithic.api.models.TransactionListPageAsync @@ -30,10 +34,6 @@ import com.lithic.api.services.async.transactions.EnhancedCommercialDataServiceA import com.lithic.api.services.async.transactions.EnhancedCommercialDataServiceAsyncImpl import com.lithic.api.services.async.transactions.EventServiceAsync import com.lithic.api.services.async.transactions.EventServiceAsyncImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class TransactionServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TransferServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TransferServiceAsyncImpl.kt index 7ef41a54..04203b8a 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TransferServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/TransferServiceAsyncImpl.kt @@ -4,16 +4,16 @@ package com.lithic.api.services.async import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Transfer import com.lithic.api.models.TransferCreateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class TransferServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/authRules/V2ServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/authRules/V2ServiceAsyncImpl.kt index 50b7b2dd..b91599d9 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/authRules/V2ServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/authRules/V2ServiceAsyncImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.async.authRules import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AuthRuleV2ApplyParams import com.lithic.api.models.AuthRuleV2CreateParams @@ -24,10 +28,6 @@ import com.lithic.api.models.V2PromoteResponse import com.lithic.api.models.V2ReportResponse import com.lithic.api.models.V2RetrieveResponse import com.lithic.api.models.V2UpdateResponse -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class V2ServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/AggregateBalanceServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/AggregateBalanceServiceAsyncImpl.kt index 35ba39c2..a25e074f 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/AggregateBalanceServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/AggregateBalanceServiceAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.async.cards import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CardAggregateBalanceListPageAsync import com.lithic.api.models.CardAggregateBalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AggregateBalanceServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/BalanceServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/BalanceServiceAsyncImpl.kt index f2a51884..1190aa27 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/BalanceServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/BalanceServiceAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.async.cards import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CardBalanceListPageAsync import com.lithic.api.models.CardBalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class BalanceServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/FinancialTransactionServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/FinancialTransactionServiceAsyncImpl.kt index de88071a..23c72915 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/FinancialTransactionServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/cards/FinancialTransactionServiceAsyncImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.async.cards import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CardFinancialTransactionListPageAsync import com.lithic.api.models.CardFinancialTransactionListParams import com.lithic.api.models.CardFinancialTransactionRetrieveParams import com.lithic.api.models.FinancialTransaction -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class FinancialTransactionServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/creditProducts/ExtendedCreditServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/creditProducts/ExtendedCreditServiceAsyncImpl.kt index 07b700b8..52570b92 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/creditProducts/ExtendedCreditServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/creditProducts/ExtendedCreditServiceAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.async.creditProducts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CreditProductExtendedCreditRetrieveParams import com.lithic.api.models.ExtendedCredit -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ExtendedCreditServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/events/SubscriptionServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/events/SubscriptionServiceAsyncImpl.kt index d938312e..ab0af77c 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/events/SubscriptionServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/events/SubscriptionServiceAsyncImpl.kt @@ -4,9 +4,14 @@ package com.lithic.api.services.async.events import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.EventSubscription import com.lithic.api.models.EventSubscriptionCreateParams @@ -23,11 +28,6 @@ import com.lithic.api.models.EventSubscriptionRotateSecretParams import com.lithic.api.models.EventSubscriptionSendSimulatedExampleParams import com.lithic.api.models.EventSubscriptionUpdateParams import com.lithic.api.models.SubscriptionRetrieveSecretResponse -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class SubscriptionServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/externalBankAccounts/MicroDepositServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/externalBankAccounts/MicroDepositServiceAsyncImpl.kt index fd1009a7..3515f5a4 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/externalBankAccounts/MicroDepositServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/externalBankAccounts/MicroDepositServiceAsyncImpl.kt @@ -4,16 +4,16 @@ package com.lithic.api.services.async.externalBankAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ExternalBankAccountMicroDepositCreateParams import com.lithic.api.models.MicroDepositCreateResponse -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class MicroDepositServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/BalanceServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/BalanceServiceAsyncImpl.kt index 8c644d98..19cc60a1 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/BalanceServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/BalanceServiceAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.async.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountBalanceListPageAsync import com.lithic.api.models.FinancialAccountBalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class BalanceServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/CreditConfigurationServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/CreditConfigurationServiceAsyncImpl.kt index c81d5081..61166de8 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/CreditConfigurationServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/CreditConfigurationServiceAsyncImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.async.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountCreditConfig import com.lithic.api.models.FinancialAccountCreditConfigurationRetrieveParams import com.lithic.api.models.FinancialAccountCreditConfigurationUpdateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class CreditConfigurationServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/FinancialTransactionServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/FinancialTransactionServiceAsyncImpl.kt index 492c797b..490c066e 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/FinancialTransactionServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/FinancialTransactionServiceAsyncImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.async.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialTransaction import com.lithic.api.models.FinancialTransactionListPageAsync import com.lithic.api.models.FinancialTransactionListParams import com.lithic.api.models.FinancialTransactionRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class FinancialTransactionServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/LoanTapeServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/LoanTapeServiceAsyncImpl.kt index 9e1299b9..ed9e7002 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/LoanTapeServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/LoanTapeServiceAsyncImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.async.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountLoanTapeListPageAsync import com.lithic.api.models.FinancialAccountLoanTapeListParams import com.lithic.api.models.FinancialAccountLoanTapeRetrieveParams import com.lithic.api.models.LoanTape -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class LoanTapeServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/StatementServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/StatementServiceAsyncImpl.kt index b11105cb..116546f2 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/StatementServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/StatementServiceAsyncImpl.kt @@ -4,9 +4,12 @@ package com.lithic.api.services.async.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountStatementListPageAsync import com.lithic.api.models.FinancialAccountStatementListParams @@ -14,9 +17,6 @@ import com.lithic.api.models.FinancialAccountStatementRetrieveParams import com.lithic.api.models.Statement import com.lithic.api.services.async.financialAccounts.statements.LineItemServiceAsync import com.lithic.api.services.async.financialAccounts.statements.LineItemServiceAsyncImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class StatementServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/statements/LineItemServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/statements/LineItemServiceAsyncImpl.kt index 71fc7d5f..e6158768 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/statements/LineItemServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/financialAccounts/statements/LineItemServiceAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.async.financialAccounts.statements import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountStatementLineItemListPageAsync import com.lithic.api.models.FinancialAccountStatementLineItemListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class LineItemServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/reports/SettlementServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/reports/SettlementServiceAsyncImpl.kt index 89cb3add..0e6fc801 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/reports/SettlementServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/reports/SettlementServiceAsyncImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.async.reports import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ReportSettlementListDetailsPageAsync import com.lithic.api.models.ReportSettlementListDetailsParams import com.lithic.api.models.ReportSettlementSummaryParams import com.lithic.api.models.SettlementReport -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class SettlementServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/threeDS/AuthenticationServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/threeDS/AuthenticationServiceAsyncImpl.kt index 7a0d1ef1..dcea26e8 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/threeDS/AuthenticationServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/threeDS/AuthenticationServiceAsyncImpl.kt @@ -4,18 +4,18 @@ package com.lithic.api.services.async.threeDS import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AuthenticationRetrieveResponse import com.lithic.api.models.AuthenticationSimulateResponse import com.lithic.api.models.ThreeDSAuthenticationRetrieveParams import com.lithic.api.models.ThreeDSAuthenticationSimulateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AuthenticationServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/threeDS/DecisioningServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/threeDS/DecisioningServiceAsyncImpl.kt index 1861f324..b1561a30 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/threeDS/DecisioningServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/threeDS/DecisioningServiceAsyncImpl.kt @@ -4,9 +4,14 @@ package com.lithic.api.services.async.threeDS import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.DecisioningRetrieveSecretResponse import com.lithic.api.models.DecisioningSimulateChallengeResponse @@ -15,11 +20,6 @@ import com.lithic.api.models.ThreeDSDecisioningRetrieveSecretParams import com.lithic.api.models.ThreeDSDecisioningRotateSecretParams import com.lithic.api.models.ThreeDSDecisioningSimulateChallengeParams import com.lithic.api.models.ThreeDSDecisioningSimulateChallengeResponseParams -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class DecisioningServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/EnhancedCommercialDataServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/EnhancedCommercialDataServiceAsyncImpl.kt index c6d5c86e..4de75c8a 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/EnhancedCommercialDataServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/EnhancedCommercialDataServiceAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.async.transactions import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.EnhancedCommercialDataRetrieveResponse import com.lithic.api.models.TransactionEnhancedCommercialDataRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class EnhancedCommercialDataServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/EventServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/EventServiceAsyncImpl.kt index 4d2c67f2..26520c92 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/EventServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/EventServiceAsyncImpl.kt @@ -3,11 +3,11 @@ package com.lithic.api.services.async.transactions import com.lithic.api.core.ClientOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpResponse.Handler import com.lithic.api.errors.LithicError import com.lithic.api.services.async.transactions.events.EnhancedCommercialDataServiceAsync import com.lithic.api.services.async.transactions.events.EnhancedCommercialDataServiceAsyncImpl -import com.lithic.api.services.errorHandler class EventServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/events/EnhancedCommercialDataServiceAsyncImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/events/EnhancedCommercialDataServiceAsyncImpl.kt index ae7b3737..90ef4586 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/events/EnhancedCommercialDataServiceAsyncImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/async/transactions/events/EnhancedCommercialDataServiceAsyncImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.async.transactions.events import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.EnhancedData import com.lithic.api.models.TransactionEventEnhancedCommercialDataRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class EnhancedCommercialDataServiceAsyncImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AccountHolderServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AccountHolderServiceImpl.kt index de2fb494..a4b69136 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AccountHolderServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AccountHolderServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AccountHolder import com.lithic.api.models.AccountHolderCreateParams @@ -25,10 +29,6 @@ import com.lithic.api.models.AccountHolderUpdateParams import com.lithic.api.models.AccountHolderUpdateResponse import com.lithic.api.models.AccountHolderUploadDocumentParams import com.lithic.api.models.Document -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler import java.time.Duration class AccountHolderServiceImpl diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AccountServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AccountServiceImpl.kt index 4c8978c2..9839ee6f 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AccountServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AccountServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Account import com.lithic.api.models.AccountListPage @@ -15,10 +19,6 @@ import com.lithic.api.models.AccountRetrieveParams import com.lithic.api.models.AccountRetrieveSpendLimitsParams import com.lithic.api.models.AccountSpendLimits import com.lithic.api.models.AccountUpdateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AccountServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AggregateBalanceServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AggregateBalanceServiceImpl.kt index 8ad3844c..49acf5c9 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AggregateBalanceServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AggregateBalanceServiceImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AggregateBalanceListPage import com.lithic.api.models.AggregateBalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AggregateBalanceServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AuthRuleServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AuthRuleServiceImpl.kt index ce3be31d..75f4b007 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AuthRuleServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AuthRuleServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AuthRule import com.lithic.api.models.AuthRuleApplyParams @@ -21,10 +25,6 @@ import com.lithic.api.models.AuthRuleRetrieveResponse import com.lithic.api.models.AuthRuleUpdateParams import com.lithic.api.services.blocking.authRules.V2Service import com.lithic.api.services.blocking.authRules.V2ServiceImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AuthRuleServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AuthStreamEnrollmentServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AuthStreamEnrollmentServiceImpl.kt index 40727fd3..d7a6f65f 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AuthStreamEnrollmentServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/AuthStreamEnrollmentServiceImpl.kt @@ -4,18 +4,18 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AuthStreamEnrollmentRetrieveSecretParams import com.lithic.api.models.AuthStreamEnrollmentRotateSecretParams import com.lithic.api.models.AuthStreamSecret -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AuthStreamEnrollmentServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/BalanceServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/BalanceServiceImpl.kt index 7e4fee1e..9941fc34 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/BalanceServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/BalanceServiceImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.BalanceListPage import com.lithic.api.models.BalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class BalanceServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/BookTransferServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/BookTransferServiceImpl.kt index 01d3e4e7..55800f55 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/BookTransferServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/BookTransferServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.BookTransferCreateParams import com.lithic.api.models.BookTransferListPage @@ -14,10 +18,6 @@ import com.lithic.api.models.BookTransferListParams import com.lithic.api.models.BookTransferResponse import com.lithic.api.models.BookTransferRetrieveParams import com.lithic.api.models.BookTransferReverseParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class BookTransferServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CardProgramServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CardProgramServiceImpl.kt index d796ca1f..8ecd85b5 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CardProgramServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CardProgramServiceImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CardProgram import com.lithic.api.models.CardProgramListPage import com.lithic.api.models.CardProgramListParams import com.lithic.api.models.CardProgramRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class CardProgramServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CardServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CardServiceImpl.kt index 635e1373..d909f58a 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CardServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CardServiceImpl.kt @@ -4,9 +4,14 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.stringHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Card import com.lithic.api.models.CardCreateParams @@ -28,11 +33,6 @@ import com.lithic.api.services.blocking.cards.BalanceService import com.lithic.api.services.blocking.cards.BalanceServiceImpl import com.lithic.api.services.blocking.cards.FinancialTransactionService import com.lithic.api.services.blocking.cards.FinancialTransactionServiceImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.stringHandler -import com.lithic.api.services.withErrorHandler class CardServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CreditProductServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CreditProductServiceImpl.kt index fe2e02d9..30e1a718 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CreditProductServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/CreditProductServiceImpl.kt @@ -3,11 +3,11 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpResponse.Handler import com.lithic.api.errors.LithicError import com.lithic.api.services.blocking.creditProducts.ExtendedCreditService import com.lithic.api.services.blocking.creditProducts.ExtendedCreditServiceImpl -import com.lithic.api.services.errorHandler class CreditProductServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/DigitalCardArtServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/DigitalCardArtServiceImpl.kt index 5c7297c7..79896b86 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/DigitalCardArtServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/DigitalCardArtServiceImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.DigitalCardArt import com.lithic.api.models.DigitalCardArtListPage import com.lithic.api.models.DigitalCardArtListParams import com.lithic.api.models.DigitalCardArtRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class DigitalCardArtServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/DisputeServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/DisputeServiceImpl.kt index db1544de..c2ce339e 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/DisputeServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/DisputeServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Dispute import com.lithic.api.models.DisputeCreateParams @@ -21,10 +25,6 @@ import com.lithic.api.models.DisputeListParams import com.lithic.api.models.DisputeRetrieveEvidenceParams import com.lithic.api.models.DisputeRetrieveParams import com.lithic.api.models.DisputeUpdateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class DisputeServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/EventServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/EventServiceImpl.kt index 3273fef6..3e9946d2 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/EventServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/EventServiceImpl.kt @@ -4,9 +4,12 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Event import com.lithic.api.models.EventListAttemptsPage @@ -16,9 +19,6 @@ import com.lithic.api.models.EventListParams import com.lithic.api.models.EventRetrieveParams import com.lithic.api.services.blocking.events.SubscriptionService import com.lithic.api.services.blocking.events.SubscriptionServiceImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class EventServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ExternalBankAccountServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ExternalBankAccountServiceImpl.kt index 038a38b8..832570af 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ExternalBankAccountServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ExternalBankAccountServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ExternalBankAccountCreateParams import com.lithic.api.models.ExternalBankAccountCreateResponse @@ -22,10 +26,6 @@ import com.lithic.api.models.ExternalBankAccountUpdateParams import com.lithic.api.models.ExternalBankAccountUpdateResponse import com.lithic.api.services.blocking.externalBankAccounts.MicroDepositService import com.lithic.api.services.blocking.externalBankAccounts.MicroDepositServiceImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ExternalBankAccountServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ExternalPaymentServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ExternalPaymentServiceImpl.kt index 09086114..cff286a7 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ExternalPaymentServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ExternalPaymentServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ExternalPayment import com.lithic.api.models.ExternalPaymentCancelParams @@ -17,10 +21,6 @@ import com.lithic.api.models.ExternalPaymentReleaseParams import com.lithic.api.models.ExternalPaymentRetrieveParams import com.lithic.api.models.ExternalPaymentReverseParams import com.lithic.api.models.ExternalPaymentSettleParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ExternalPaymentServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/FinancialAccountServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/FinancialAccountServiceImpl.kt index 469420fc..fe11f056 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/FinancialAccountServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/FinancialAccountServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccount import com.lithic.api.models.FinancialAccountCreateParams @@ -24,10 +28,6 @@ import com.lithic.api.services.blocking.financialAccounts.LoanTapeService import com.lithic.api.services.blocking.financialAccounts.LoanTapeServiceImpl import com.lithic.api.services.blocking.financialAccounts.StatementService import com.lithic.api.services.blocking.financialAccounts.StatementServiceImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class FinancialAccountServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ManagementOperationServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ManagementOperationServiceImpl.kt index aafcfbeb..8c8d1486 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ManagementOperationServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ManagementOperationServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ManagementOperationCreateParams import com.lithic.api.models.ManagementOperationListPage @@ -14,10 +18,6 @@ import com.lithic.api.models.ManagementOperationListParams import com.lithic.api.models.ManagementOperationRetrieveParams import com.lithic.api.models.ManagementOperationReverseParams import com.lithic.api.models.ManagementOperationTransaction -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ManagementOperationServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/PaymentServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/PaymentServiceImpl.kt index 7fac66f8..8697f8e7 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/PaymentServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/PaymentServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Payment import com.lithic.api.models.PaymentCreateParams @@ -24,10 +28,6 @@ import com.lithic.api.models.PaymentSimulateReleaseParams import com.lithic.api.models.PaymentSimulateReleaseResponse import com.lithic.api.models.PaymentSimulateReturnParams import com.lithic.api.models.PaymentSimulateReturnResponse -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class PaymentServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ReportServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ReportServiceImpl.kt index a837f2fe..175019ee 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ReportServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ReportServiceImpl.kt @@ -3,11 +3,11 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpResponse.Handler import com.lithic.api.errors.LithicError import com.lithic.api.services.blocking.reports.SettlementService import com.lithic.api.services.blocking.reports.SettlementServiceImpl -import com.lithic.api.services.errorHandler class ReportServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ResponderEndpointServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ResponderEndpointServiceImpl.kt index 0235f022..19f294d3 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ResponderEndpointServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ResponderEndpointServiceImpl.kt @@ -4,20 +4,20 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ResponderEndpointCheckStatusParams import com.lithic.api.models.ResponderEndpointCreateParams import com.lithic.api.models.ResponderEndpointCreateResponse import com.lithic.api.models.ResponderEndpointDeleteParams import com.lithic.api.models.ResponderEndpointStatus -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ResponderEndpointServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ThreeDSServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ThreeDSServiceImpl.kt index 519e9bd0..ddd767f3 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ThreeDSServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/ThreeDSServiceImpl.kt @@ -3,13 +3,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpResponse.Handler import com.lithic.api.errors.LithicError import com.lithic.api.services.blocking.threeDS.AuthenticationService import com.lithic.api.services.blocking.threeDS.AuthenticationServiceImpl import com.lithic.api.services.blocking.threeDS.DecisioningService import com.lithic.api.services.blocking.threeDS.DecisioningServiceImpl -import com.lithic.api.services.errorHandler class ThreeDSServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TokenizationDecisioningServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TokenizationDecisioningServiceImpl.kt index af106453..fbfb6191 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TokenizationDecisioningServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TokenizationDecisioningServiceImpl.kt @@ -4,18 +4,18 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.TokenizationDecisioningRetrieveSecretParams import com.lithic.api.models.TokenizationDecisioningRotateSecretParams import com.lithic.api.models.TokenizationDecisioningRotateSecretResponse import com.lithic.api.models.TokenizationSecret -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class TokenizationDecisioningServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TokenizationServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TokenizationServiceImpl.kt index 848c11d2..c1c2094d 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TokenizationServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TokenizationServiceImpl.kt @@ -4,9 +4,14 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.TokenizationActivateParams import com.lithic.api.models.TokenizationDeactivateParams @@ -21,11 +26,6 @@ import com.lithic.api.models.TokenizationSimulateResponse import com.lithic.api.models.TokenizationUnpauseParams import com.lithic.api.models.TokenizationUpdateDigitalCardArtParams import com.lithic.api.models.TokenizationUpdateDigitalCardArtResponse -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class TokenizationServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TransactionServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TransactionServiceImpl.kt index ab8d9d65..b5a1052c 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TransactionServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TransactionServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Transaction import com.lithic.api.models.TransactionListPage @@ -30,10 +34,6 @@ import com.lithic.api.services.blocking.transactions.EnhancedCommercialDataServi import com.lithic.api.services.blocking.transactions.EnhancedCommercialDataServiceImpl import com.lithic.api.services.blocking.transactions.EventService import com.lithic.api.services.blocking.transactions.EventServiceImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class TransactionServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TransferServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TransferServiceImpl.kt index 9f3e4a55..41c72e3c 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TransferServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/TransferServiceImpl.kt @@ -4,16 +4,16 @@ package com.lithic.api.services.blocking import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.Transfer import com.lithic.api.models.TransferCreateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class TransferServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/authRules/V2ServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/authRules/V2ServiceImpl.kt index ae49d8ec..e4c4d7f9 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/authRules/V2ServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/authRules/V2ServiceImpl.kt @@ -4,9 +4,13 @@ package com.lithic.api.services.blocking.authRules import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AuthRuleV2ApplyParams import com.lithic.api.models.AuthRuleV2CreateParams @@ -24,10 +28,6 @@ import com.lithic.api.models.V2PromoteResponse import com.lithic.api.models.V2ReportResponse import com.lithic.api.models.V2RetrieveResponse import com.lithic.api.models.V2UpdateResponse -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class V2ServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/AggregateBalanceServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/AggregateBalanceServiceImpl.kt index 0dc1d2de..fd872fec 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/AggregateBalanceServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/AggregateBalanceServiceImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.blocking.cards import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CardAggregateBalanceListPage import com.lithic.api.models.CardAggregateBalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AggregateBalanceServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/BalanceServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/BalanceServiceImpl.kt index 93de6f92..4336edd3 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/BalanceServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/BalanceServiceImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.blocking.cards import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CardBalanceListPage import com.lithic.api.models.CardBalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class BalanceServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/FinancialTransactionServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/FinancialTransactionServiceImpl.kt index 53d6dd51..ebdd5a2e 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/FinancialTransactionServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/cards/FinancialTransactionServiceImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.blocking.cards import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CardFinancialTransactionListPage import com.lithic.api.models.CardFinancialTransactionListParams import com.lithic.api.models.CardFinancialTransactionRetrieveParams import com.lithic.api.models.FinancialTransaction -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class FinancialTransactionServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/creditProducts/ExtendedCreditServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/creditProducts/ExtendedCreditServiceImpl.kt index 491738d0..52ea767c 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/creditProducts/ExtendedCreditServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/creditProducts/ExtendedCreditServiceImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.blocking.creditProducts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.CreditProductExtendedCreditRetrieveParams import com.lithic.api.models.ExtendedCredit -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class ExtendedCreditServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/events/SubscriptionServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/events/SubscriptionServiceImpl.kt index 16a105ee..f47c89d9 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/events/SubscriptionServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/events/SubscriptionServiceImpl.kt @@ -4,9 +4,14 @@ package com.lithic.api.services.blocking.events import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.EventSubscription import com.lithic.api.models.EventSubscriptionCreateParams @@ -23,11 +28,6 @@ import com.lithic.api.models.EventSubscriptionRotateSecretParams import com.lithic.api.models.EventSubscriptionSendSimulatedExampleParams import com.lithic.api.models.EventSubscriptionUpdateParams import com.lithic.api.models.SubscriptionRetrieveSecretResponse -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class SubscriptionServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/externalBankAccounts/MicroDepositServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/externalBankAccounts/MicroDepositServiceImpl.kt index 37759ef3..16f3c43a 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/externalBankAccounts/MicroDepositServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/externalBankAccounts/MicroDepositServiceImpl.kt @@ -4,16 +4,16 @@ package com.lithic.api.services.blocking.externalBankAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ExternalBankAccountMicroDepositCreateParams import com.lithic.api.models.MicroDepositCreateResponse -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class MicroDepositServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/BalanceServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/BalanceServiceImpl.kt index b6f0e796..0f4bda40 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/BalanceServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/BalanceServiceImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.blocking.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountBalanceListPage import com.lithic.api.models.FinancialAccountBalanceListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class BalanceServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/CreditConfigurationServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/CreditConfigurationServiceImpl.kt index d12ffb5e..a751ded7 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/CreditConfigurationServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/CreditConfigurationServiceImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.blocking.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountCreditConfig import com.lithic.api.models.FinancialAccountCreditConfigurationRetrieveParams import com.lithic.api.models.FinancialAccountCreditConfigurationUpdateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class CreditConfigurationServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/FinancialTransactionServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/FinancialTransactionServiceImpl.kt index a2cb272e..3d5d1637 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/FinancialTransactionServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/FinancialTransactionServiceImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.blocking.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialTransaction import com.lithic.api.models.FinancialTransactionListPage import com.lithic.api.models.FinancialTransactionListParams import com.lithic.api.models.FinancialTransactionRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class FinancialTransactionServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/LoanTapeServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/LoanTapeServiceImpl.kt index 46bea715..9956a014 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/LoanTapeServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/LoanTapeServiceImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.blocking.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountLoanTapeListPage import com.lithic.api.models.FinancialAccountLoanTapeListParams import com.lithic.api.models.FinancialAccountLoanTapeRetrieveParams import com.lithic.api.models.LoanTape -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class LoanTapeServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/StatementServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/StatementServiceImpl.kt index 2ef23bae..4abad0e5 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/StatementServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/StatementServiceImpl.kt @@ -4,9 +4,12 @@ package com.lithic.api.services.blocking.financialAccounts import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountStatementListPage import com.lithic.api.models.FinancialAccountStatementListParams @@ -14,9 +17,6 @@ import com.lithic.api.models.FinancialAccountStatementRetrieveParams import com.lithic.api.models.Statement import com.lithic.api.services.blocking.financialAccounts.statements.LineItemService import com.lithic.api.services.blocking.financialAccounts.statements.LineItemServiceImpl -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class StatementServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/statements/LineItemServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/statements/LineItemServiceImpl.kt index de0578f4..be8d382c 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/statements/LineItemServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/financialAccounts/statements/LineItemServiceImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.blocking.financialAccounts.statements import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.FinancialAccountStatementLineItemListPage import com.lithic.api.models.FinancialAccountStatementLineItemListParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class LineItemServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/reports/SettlementServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/reports/SettlementServiceImpl.kt index dfae48aa..f6e7dc87 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/reports/SettlementServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/reports/SettlementServiceImpl.kt @@ -4,17 +4,17 @@ package com.lithic.api.services.blocking.reports import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.ReportSettlementListDetailsPage import com.lithic.api.models.ReportSettlementListDetailsParams import com.lithic.api.models.ReportSettlementSummaryParams import com.lithic.api.models.SettlementReport -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class SettlementServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/threeDS/AuthenticationServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/threeDS/AuthenticationServiceImpl.kt index 237f94f5..61714d88 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/threeDS/AuthenticationServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/threeDS/AuthenticationServiceImpl.kt @@ -4,18 +4,18 @@ package com.lithic.api.services.blocking.threeDS import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.AuthenticationRetrieveResponse import com.lithic.api.models.AuthenticationSimulateResponse import com.lithic.api.models.ThreeDSAuthenticationRetrieveParams import com.lithic.api.models.ThreeDSAuthenticationSimulateParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class AuthenticationServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/threeDS/DecisioningServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/threeDS/DecisioningServiceImpl.kt index 8cfe9a54..a8758c22 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/threeDS/DecisioningServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/threeDS/DecisioningServiceImpl.kt @@ -4,9 +4,14 @@ package com.lithic.api.services.blocking.threeDS import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.emptyHandler +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.json +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.DecisioningRetrieveSecretResponse import com.lithic.api.models.DecisioningSimulateChallengeResponse @@ -15,11 +20,6 @@ import com.lithic.api.models.ThreeDSDecisioningRetrieveSecretParams import com.lithic.api.models.ThreeDSDecisioningRotateSecretParams import com.lithic.api.models.ThreeDSDecisioningSimulateChallengeParams import com.lithic.api.models.ThreeDSDecisioningSimulateChallengeResponseParams -import com.lithic.api.services.emptyHandler -import com.lithic.api.services.errorHandler -import com.lithic.api.services.json -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class DecisioningServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/EnhancedCommercialDataServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/EnhancedCommercialDataServiceImpl.kt index 5c09eeef..62b1e909 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/EnhancedCommercialDataServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/EnhancedCommercialDataServiceImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.blocking.transactions import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.EnhancedCommercialDataRetrieveResponse import com.lithic.api.models.TransactionEnhancedCommercialDataRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class EnhancedCommercialDataServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/EventServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/EventServiceImpl.kt index c6ad74c3..ebbcd244 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/EventServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/EventServiceImpl.kt @@ -3,11 +3,11 @@ package com.lithic.api.services.blocking.transactions import com.lithic.api.core.ClientOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpResponse.Handler import com.lithic.api.errors.LithicError import com.lithic.api.services.blocking.transactions.events.EnhancedCommercialDataService import com.lithic.api.services.blocking.transactions.events.EnhancedCommercialDataServiceImpl -import com.lithic.api.services.errorHandler class EventServiceImpl constructor( diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/events/EnhancedCommercialDataServiceImpl.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/events/EnhancedCommercialDataServiceImpl.kt index 9d7dfbf2..036a4b96 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/events/EnhancedCommercialDataServiceImpl.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/services/blocking/transactions/events/EnhancedCommercialDataServiceImpl.kt @@ -4,15 +4,15 @@ package com.lithic.api.services.blocking.transactions.events import com.lithic.api.core.ClientOptions import com.lithic.api.core.RequestOptions +import com.lithic.api.core.errorHandler import com.lithic.api.core.http.HttpMethod import com.lithic.api.core.http.HttpRequest import com.lithic.api.core.http.HttpResponse.Handler +import com.lithic.api.core.jsonHandler +import com.lithic.api.core.withErrorHandler import com.lithic.api.errors.LithicError import com.lithic.api.models.EnhancedData import com.lithic.api.models.TransactionEventEnhancedCommercialDataRetrieveParams -import com.lithic.api.services.errorHandler -import com.lithic.api.services.jsonHandler -import com.lithic.api.services.withErrorHandler class EnhancedCommercialDataServiceImpl constructor(