WithRawResponse

interface WithRawResponse

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

Inheritors

Functions

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

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

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

Link copied to clipboard

@MustBeClosed
abstract suspend fun rotateSecret(params: TokenizationDecisioningRotateSecretParams = TokenizationDecisioningRotateSecretParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<TokenizationDecisioningRotateSecretResponse>

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

Link copied to clipboard

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