Skip to content

Commit

Permalink
DEVDOCS-10290 adding codeDepot markers
Browse files Browse the repository at this point in the history
  • Loading branch information
raileendr committed Jul 13, 2023
1 parent 741b7dd commit 453d020
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,23 @@
import java.io.IOException;

public final class EmbeddedSendingService {
//ds-snippet-start:eSign11Step3
public static ViewUrl createSenderView(
EnvelopesApi envelopesApi,
String accountId,
String envelopeId,
String dsReturnUrl
) throws ApiException {
// Step 2. Create the sender view.
// Create the sender view.
// Set the url where you want the recipient to go once they are done
// signing should typically be a callback route somewhere in your app.
ReturnUrlRequest viewRequest = new ReturnUrlRequest();
viewRequest.setReturnUrl(dsReturnUrl);
return envelopesApi.createSenderView(accountId, envelopeId, viewRequest);
}
//ds-snippet-end:eSign11Step3

//ds-snippet-start:eSign11Step2
public static EnvelopeSummary createEnvelopeWithDraftStatus(
EnvelopesApi envelopesApi,
String signerEmail,
Expand All @@ -46,4 +49,5 @@ public static EnvelopeSummary createEnvelopeWithDraftStatus(
args);
return envelopesApi.createEnvelope(accountId, env);
}
//ds-snippet-end:eSign11Step2
}

0 comments on commit 453d020

Please sign in to comment.