Class LithicClientAsyncImpl
-
- All Implemented Interfaces:
-
com.lithic.api.client.LithicClientAsync
public final class LithicClientAsyncImpl implements LithicClientAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLithicClientAsyncImpl.WithRawResponseImpl
-
Constructor Summary
Constructors Constructor Description LithicClientAsyncImpl(ClientOptions clientOptions)
-
Method Summary
-
-
Constructor Detail
-
LithicClientAsyncImpl
LithicClientAsyncImpl(ClientOptions clientOptions)
-
-
Method Detail
-
sync
LithicClient sync()
Returns a version of this client that uses synchronous execution.
The returned client shares its resources, like its connection pool and thread pools, with this client.
-
withRawResponse
LithicClientAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
LithicClientAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
accounts
AccountServiceAsync accounts()
-
accountHolders
AccountHolderServiceAsync accountHolders()
-
authRules
AuthRuleServiceAsync authRules()
-
authStreamEnrollment
AuthStreamEnrollmentServiceAsync authStreamEnrollment()
-
tokenizationDecisioning
TokenizationDecisioningServiceAsync tokenizationDecisioning()
-
tokenizations
TokenizationServiceAsync tokenizations()
-
cards
CardServiceAsync cards()
-
balances
BalanceServiceAsync balances()
-
aggregateBalances
AggregateBalanceServiceAsync aggregateBalances()
-
disputes
DisputeServiceAsync disputes()
-
events
EventServiceAsync events()
-
transfers
TransferServiceAsync transfers()
-
financialAccounts
FinancialAccountServiceAsync financialAccounts()
-
transactions
TransactionServiceAsync transactions()
-
responderEndpoints
ResponderEndpointServiceAsync responderEndpoints()
-
webhooks
WebhookServiceAsync webhooks()
-
externalBankAccounts
ExternalBankAccountServiceAsync externalBankAccounts()
-
payments
PaymentServiceAsync payments()
-
threeDS
ThreeDSServiceAsync threeDS()
-
reports
ReportServiceAsync reports()
-
cardPrograms
CardProgramServiceAsync cardPrograms()
-
digitalCardArt
DigitalCardArtServiceAsync digitalCardArt()
-
bookTransfers
BookTransferServiceAsync bookTransfers()
-
creditProducts
CreditProductServiceAsync creditProducts()
-
externalPayments
ExternalPaymentServiceAsync externalPayments()
-
managementOperations
ManagementOperationServiceAsync managementOperations()
-
fundingEvents
FundingEventServiceAsync fundingEvents()
-
apiStatus
CompletableFuture<ApiStatus> apiStatus(ClientApiStatusParams params, RequestOptions requestOptions)
-
close
Unit close()
Closes this client, relinquishing any underlying resources.
This is purposefully not inherited from AutoCloseable because the client is long-lived and usually should not be synchronously closed via try-with-resources.
It's also usually not necessary to call this method at all. the default HTTP client automatically releases threads and connections if they remain idle, but if you are writing an application that needs to aggressively release unused resources, then you may call this method.
-
-
-
-