com.increase.api.services.blocking.AchTransferService.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
// 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.blocking
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.AchTransferListPage
import com.increase.api.models.AchTransferListParams
import com.increase.api.models.AchTransferRetrieveParams
interface AchTransferService {
/** Create an ACH Transfer */
@JvmOverloads
fun create(
params: AchTransferCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): AchTransfer
/** Retrieve an ACH Transfer */
@JvmOverloads
fun retrieve(
params: AchTransferRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): AchTransfer
/** List ACH Transfers */
@JvmOverloads
fun list(
params: AchTransferListParams,
requestOptions: RequestOptions = RequestOptions.none()
): AchTransferListPage
/** Approves an ACH Transfer in a pending_approval state. */
@JvmOverloads
fun approve(
params: AchTransferApproveParams,
requestOptions: RequestOptions = RequestOptions.none()
): AchTransfer
/** Cancels an ACH Transfer in a pending_approval state. */
@JvmOverloads
fun cancel(
params: AchTransferCancelParams,
requestOptions: RequestOptions = RequestOptions.none()
): AchTransfer
}