com.increase.api.services.async.WireTransferServiceAsync.kt Maven / Gradle / Ivy
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.WireTransfer
import com.increase.api.models.WireTransferApproveParams
import com.increase.api.models.WireTransferCancelParams
import com.increase.api.models.WireTransferCreateParams
import com.increase.api.models.WireTransferListPageAsync
import com.increase.api.models.WireTransferListParams
import com.increase.api.models.WireTransferRetrieveParams
interface WireTransferServiceAsync {
/** Create a Wire Transfer */
suspend fun create(
params: WireTransferCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): WireTransfer
/** Retrieve a Wire Transfer */
suspend fun retrieve(
params: WireTransferRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): WireTransfer
/** List Wire Transfers */
suspend fun list(
params: WireTransferListParams,
requestOptions: RequestOptions = RequestOptions.none()
): WireTransferListPageAsync
/** Approve a Wire Transfer */
suspend fun approve(
params: WireTransferApproveParams,
requestOptions: RequestOptions = RequestOptions.none()
): WireTransfer
/** Cancel a pending Wire Transfer */
suspend fun cancel(
params: WireTransferCancelParams,
requestOptions: RequestOptions = RequestOptions.none()
): WireTransfer
}