com.increase.api.services.blocking.AccountTransferService.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.blocking
import com.increase.api.core.RequestOptions
import com.increase.api.models.AccountTransfer
import com.increase.api.models.AccountTransferApproveParams
import com.increase.api.models.AccountTransferCancelParams
import com.increase.api.models.AccountTransferCreateParams
import com.increase.api.models.AccountTransferListPage
import com.increase.api.models.AccountTransferListParams
import com.increase.api.models.AccountTransferRetrieveParams
interface AccountTransferService {
/** Create an Account Transfer */
@JvmOverloads
fun create(
params: AccountTransferCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): AccountTransfer
/** Retrieve an Account Transfer */
@JvmOverloads
fun retrieve(
params: AccountTransferRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): AccountTransfer
/** List Account Transfers */
@JvmOverloads
fun list(
params: AccountTransferListParams,
requestOptions: RequestOptions = RequestOptions.none()
): AccountTransferListPage
/** Approve an Account Transfer */
@JvmOverloads
fun approve(
params: AccountTransferApproveParams,
requestOptions: RequestOptions = RequestOptions.none()
): AccountTransfer
/** Cancel an Account Transfer */
@JvmOverloads
fun cancel(
params: AccountTransferCancelParams,
requestOptions: RequestOptions = RequestOptions.none()
): AccountTransfer
}