com.increase.api.services.async.AchTransferServiceAsync.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of increase-java-core Show documentation
Show all versions of increase-java-core Show documentation
An SDK library for increase
The newest version!
// File generated from our OpenAPI spec by Stainless.
@file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102
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
import java.util.concurrent.CompletableFuture
interface AchTransferServiceAsync {
/** Create an ACH Transfer */
@JvmOverloads
fun create(
params: AchTransferCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): CompletableFuture
/** Retrieve an ACH Transfer */
@JvmOverloads
fun retrieve(
params: AchTransferRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): CompletableFuture
/** List ACH Transfers */
@JvmOverloads
fun list(
params: AchTransferListParams,
requestOptions: RequestOptions = RequestOptions.none()
): CompletableFuture
/** Approves an ACH Transfer in a pending_approval state. */
@JvmOverloads
fun approve(
params: AchTransferApproveParams,
requestOptions: RequestOptions = RequestOptions.none()
): CompletableFuture
/** Cancels an ACH Transfer in a pending_approval state. */
@JvmOverloads
fun cancel(
params: AchTransferCancelParams,
requestOptions: RequestOptions = RequestOptions.none()
): CompletableFuture
}