WithRawResponse

interface WithRawResponse

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

Inheritors

Functions

Link copied to clipboard
@MustBeClosed
open suspend fun challengeResponse(challengeResponse: ChallengeResponse, requestOptions: RequestOptions = RequestOptions.none()): HttpResponse

@MustBeClosed
abstract suspend fun challengeResponse(params: ThreeDSDecisioningChallengeResponseParams, requestOptions: RequestOptions = RequestOptions.none()): HttpResponse

Returns a raw HTTP response for post /v1/three_ds_decisioning/challenge_response, but is otherwise the same as DecisioningServiceAsync.challengeResponse.

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

@MustBeClosed
abstract suspend fun retrieveSecret(params: ThreeDSDecisioningRetrieveSecretParams = ThreeDSDecisioningRetrieveSecretParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<DecisioningRetrieveSecretResponse>

Returns a raw HTTP response for get /v1/three_ds_decisioning/secret, but is otherwise the same as DecisioningServiceAsync.retrieveSecret.

Link copied to clipboard
@MustBeClosed
open suspend fun rotateSecret(requestOptions: RequestOptions): HttpResponse

@MustBeClosed
abstract suspend fun rotateSecret(params: ThreeDSDecisioningRotateSecretParams = ThreeDSDecisioningRotateSecretParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponse

Returns a raw HTTP response for post /v1/three_ds_decisioning/secret/rotate, but is otherwise the same as DecisioningServiceAsync.rotateSecret.

Link copied to clipboard

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