Skip to content

Commit

Permalink
chore: add back removed code
Browse files Browse the repository at this point in the history
This reverts commit 7796e44.
  • Loading branch information
meorphis committed Mar 14, 2024
1 parent 7796e44 commit 62e2839
Show file tree
Hide file tree
Showing 27 changed files with 1,548 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ interface LithicClient {

fun responderEndpoints(): ResponderEndpointService

fun webhooks(): WebhookService

fun externalBankAccounts(): ExternalBankAccountService

fun payments(): PaymentService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ interface LithicClientAsync {

fun responderEndpoints(): ResponderEndpointServiceAsync

fun webhooks(): WebhookServiceAsync

fun externalBankAccounts(): ExternalBankAccountServiceAsync

fun payments(): PaymentServiceAsync
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ constructor(
ResponderEndpointServiceAsyncImpl(clientOptions)
}

private val webhooks: WebhookServiceAsync by lazy { WebhookServiceAsyncImpl(clientOptions) }

private val externalBankAccounts: ExternalBankAccountServiceAsync by lazy {
ExternalBankAccountServiceAsyncImpl(clientOptions)
}
Expand Down Expand Up @@ -124,6 +126,8 @@ constructor(

override fun responderEndpoints(): ResponderEndpointServiceAsync = responderEndpoints

override fun webhooks(): WebhookServiceAsync = webhooks

override fun externalBankAccounts(): ExternalBankAccountServiceAsync = externalBankAccounts

override fun payments(): PaymentServiceAsync = payments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ constructor(
ResponderEndpointServiceImpl(clientOptions)
}

private val webhooks: WebhookService by lazy { WebhookServiceImpl(clientOptions) }

private val externalBankAccounts: ExternalBankAccountService by lazy {
ExternalBankAccountServiceImpl(clientOptions)
}
Expand Down Expand Up @@ -117,6 +119,8 @@ constructor(

override fun responderEndpoints(): ResponderEndpointService = responderEndpoints

override fun webhooks(): WebhookService = webhooks

override fun externalBankAccounts(): ExternalBankAccountService = externalBankAccounts

override fun payments(): PaymentService = payments
Expand Down
Loading

0 comments on commit 62e2839

Please sign in to comment.