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

com.increase.api.services.async.AchTransferServiceAsync.kt Maven / Gradle / Ivy

There is a newer version: 0.142.0
Show newest version
// File generated from our OpenAPI spec by Stainless.

package com.increase.api.services.async

import com.increase.api.core.RequestOptions
import com.increase.api.models.AchTransfer
import com.increase.api.models.AchTransferApproveParams
import com.increase.api.models.AchTransferCancelParams
import com.increase.api.models.AchTransferCreateParams
import com.increase.api.models.AchTransferListPageAsync
import com.increase.api.models.AchTransferListParams
import com.increase.api.models.AchTransferRetrieveParams

interface AchTransferServiceAsync {

    /** Create an ACH Transfer */
    suspend fun create(
        params: AchTransferCreateParams,
        requestOptions: RequestOptions = RequestOptions.none()
    ): AchTransfer

    /** Retrieve an ACH Transfer */
    suspend fun retrieve(
        params: AchTransferRetrieveParams,
        requestOptions: RequestOptions = RequestOptions.none()
    ): AchTransfer

    /** List ACH Transfers */
    suspend fun list(
        params: AchTransferListParams,
        requestOptions: RequestOptions = RequestOptions.none()
    ): AchTransferListPageAsync

    /** Approves an ACH Transfer in a pending_approval state. */
    suspend fun approve(
        params: AchTransferApproveParams,
        requestOptions: RequestOptions = RequestOptions.none()
    ): AchTransfer

    /** Cancels an ACH Transfer in a pending_approval state. */
    suspend fun cancel(
        params: AchTransferCancelParams,
        requestOptions: RequestOptions = RequestOptions.none()
    ): AchTransfer
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy