Package com.vonage.client.redact
Class RedactClient
java.lang.Object
com.vonage.client.redact.RedactClient
Deprecated.
This API will be removed in the next major release.
A client for talking to the Vonage Redact API. The standard way to obtain an instance of this class is to use
VonageClient.getRedactClient()
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
redactTransaction
(RedactRequest redactRequest) Deprecated.Submit a request to the Redact API to redact a transaction.void
redactTransaction
(String id, RedactRequest.Product product) Deprecated.Submit a request to the Redact API to redact a transaction.void
redactTransaction
(String id, RedactRequest.Product product, RedactRequest.Type type) Deprecated.Submit a request to the Redact API to redact a transaction.
-
Constructor Details
-
RedactClient
Deprecated.
-
-
Method Details
-
redactTransaction
public void redactTransaction(String id, RedactRequest.Product product) throws VonageResponseParseException, VonageClientException Deprecated.Submit a request to the Redact API to redact a transaction.- Parameters:
id
- The transaction id to redact.product
- TheRedactRequest.Product
which corresponds to the transaction.- Throws:
VonageClientException
- if there was a problem with the Vonage request or response objects.VonageResponseParseException
- if the response from the API could not be parsed.
-
redactTransaction
public void redactTransaction(String id, RedactRequest.Product product, RedactRequest.Type type) throws VonageResponseParseException, VonageClientException Deprecated.Submit a request to the Redact API to redact a transaction.- Parameters:
id
- The transaction id to redact.product
- TheRedactRequest.Product
which corresponds to the transaction.type
- TheRedactRequest.Type
which is required if redacting SMS data.- Throws:
VonageClientException
- if there was a problem with the Vonage request or response objects.VonageResponseParseException
- if the response from the API could not be parsed.
-
redactTransaction
public void redactTransaction(RedactRequest redactRequest) throws VonageResponseParseException, VonageClientException Deprecated.Submit a request to the Redact API to redact a transaction.- Parameters:
redactRequest
- aRedactRequest
object which contains the request parameters.- Throws:
VonageClientException
- if there was a problem with the Vonage request or response objects.VonageResponseParseException
- if the response from the API could not be parsed.
-