All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.moderntreasury.api.services.async.LedgerEntryServiceAsync.kt Maven / Gradle / Ivy

// File generated from our OpenAPI spec by Stainless.

package com.moderntreasury.api.services.async

import com.moderntreasury.api.core.RequestOptions
import com.moderntreasury.api.models.LedgerEntry
import com.moderntreasury.api.models.LedgerEntryListPageAsync
import com.moderntreasury.api.models.LedgerEntryListParams
import com.moderntreasury.api.models.LedgerEntryRetrieveParams
import com.moderntreasury.api.models.LedgerEntryUpdateParams

interface LedgerEntryServiceAsync {

    /** Get details on a single ledger entry. */
    suspend fun retrieve(
        params: LedgerEntryRetrieveParams,
        requestOptions: RequestOptions = RequestOptions.none()
    ): LedgerEntry

    /** Update the details of a ledger entry. */
    suspend fun update(
        params: LedgerEntryUpdateParams,
        requestOptions: RequestOptions = RequestOptions.none()
    ): LedgerEntry

    /** Get a list of all ledger entries. */
    suspend fun list(
        params: LedgerEntryListParams,
        requestOptions: RequestOptions = RequestOptions.none()
    ): LedgerEntryListPageAsync
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy