com.increase.api.services.blocking.CardService.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.Card
import com.increase.api.models.CardCreateParams
import com.increase.api.models.CardDetails
import com.increase.api.models.CardDetailsParams
import com.increase.api.models.CardListPage
import com.increase.api.models.CardListParams
import com.increase.api.models.CardRetrieveParams
import com.increase.api.models.CardUpdateParams
interface CardService {
/** Create a Card */
fun create(
params: CardCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): Card
/** Retrieve a Card */
fun retrieve(
params: CardRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): Card
/** Update a Card */
fun update(
params: CardUpdateParams,
requestOptions: RequestOptions = RequestOptions.none()
): Card
/** List Cards */
fun list(
params: CardListParams,
requestOptions: RequestOptions = RequestOptions.none()
): CardListPage
/** Retrieve sensitive details for a Card */
fun details(
params: CardDetailsParams,
requestOptions: RequestOptions = RequestOptions.none()
): CardDetails
}