public void redactTransaction(String id, RedactRequest.Product product, RedactRequest.Type type) throws IOException, NexmoClientException {
        RedactRequest request = new RedactRequest(id, product);
        request.setType(type);

        this.redactTransaction(request);
    }
public void redactTransaction ( String id , RedactRequest . Product product , RedactRequest . Type type ) throws IOException , NexmoClientException { RedactRequest request = new RedactRequest ( id , product ) ; request . setType ( type ) ; this . redactTransaction ( request ) ; }
Submit a request to the Redact API to redact a transaction.

@param id      The transaction id to redact.
@param product The {@link com.nexmo.client.redact.RedactRequest.Product} which corresponds to the transaction.
@param type    The {@link com.nexmo.client.redact.RedactRequest.Type} which is required if redacting SMS data.

@throws IOException          if a network error occurred contacting the Nexmo Redact API.
@throws NexmoClientException if there was a problem with the Nexmo request or response objects.