com.increase.api.services.blocking.IntrafiAccountEnrollmentService.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.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 */
@JvmOverloads
fun create(
params: IntrafiAccountEnrollmentCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): IntrafiAccountEnrollment
/** Get an IntraFi Account Enrollment */
@JvmOverloads
fun retrieve(
params: IntrafiAccountEnrollmentRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): IntrafiAccountEnrollment
/** List IntraFi Account Enrollments */
@JvmOverloads
fun list(
params: IntrafiAccountEnrollmentListParams,
requestOptions: RequestOptions = RequestOptions.none()
): IntrafiAccountEnrollmentListPage
/** Unenroll an account from IntraFi */
@JvmOverloads
fun unenroll(
params: IntrafiAccountEnrollmentUnenrollParams,
requestOptions: RequestOptions = RequestOptions.none()
): IntrafiAccountEnrollment
}