WithRawResponse

interface WithRawResponse

A view of CardProgramServiceAsync that provides access to raw HTTP responses for each method.

Inheritors

Functions

Link copied to clipboard
@MustBeClosed
open suspend fun list(requestOptions: RequestOptions): HttpResponseFor<CardProgramListPageAsync>

@MustBeClosed
abstract suspend fun list(params: CardProgramListParams = CardProgramListParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<CardProgramListPageAsync>

Returns a raw HTTP response for get /v1/card_programs, but is otherwise the same as CardProgramServiceAsync.list.

Link copied to clipboard
@MustBeClosed
abstract suspend fun retrieve(params: CardProgramRetrieveParams, requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<CardProgram>
@MustBeClosed
open suspend fun retrieve(cardProgramToken: String, requestOptions: RequestOptions): HttpResponseFor<CardProgram>

@MustBeClosed
open suspend fun retrieve(cardProgramToken: String, params: CardProgramRetrieveParams = CardProgramRetrieveParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<CardProgram>

Returns a raw HTTP response for get /v1/card_programs/{card_program_token}, but is otherwise the same as CardProgramServiceAsync.retrieve.

Link copied to clipboard

Returns a view of this service with the given option modifications applied.