com.increase.api.services.blocking.IntrafiAccountEnrollmentService.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.blocking
import com.increase.api.core.RequestOptions
import com.increase.api.models.IntrafiAccountEnrollment
import com.increase.api.models.IntrafiAccountEnrollmentCreateParams
import com.increase.api.models.IntrafiAccountEnrollmentListPage
import com.increase.api.models.IntrafiAccountEnrollmentListParams
import com.increase.api.models.IntrafiAccountEnrollmentRetrieveParams
import com.increase.api.models.IntrafiAccountEnrollmentUnenrollParams
interface IntrafiAccountEnrollmentService {
/** Enroll an account in the IntraFi deposit sweep network. */
fun create(
params: IntrafiAccountEnrollmentCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): IntrafiAccountEnrollment
/** Get an IntraFi Account Enrollment */
fun retrieve(
params: IntrafiAccountEnrollmentRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): IntrafiAccountEnrollment
/** List IntraFi Account Enrollments */
fun list(
params: IntrafiAccountEnrollmentListParams,
requestOptions: RequestOptions = RequestOptions.none()
): IntrafiAccountEnrollmentListPage
/** Unenroll an account from IntraFi. */
fun unenroll(
params: IntrafiAccountEnrollmentUnenrollParams,
requestOptions: RequestOptions = RequestOptions.none()
): IntrafiAccountEnrollment
}