Skip to content

Commit ad7b485

Browse files
committed
DEVDOCS-10150 adding codeDepot markers
1 parent 4acacd6 commit ad7b485

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/main/java/com/docusign/controller/eSignature/services/AddDocToTemplateService.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ public static ViewUrl addDocumentToTemplate(
4141
args
4242
);
4343

44-
// Step 3 start
44+
//ds-snippet-start:eSign13Step3
4545
EnvelopeSummary envelopeSummary = envelopesApi.createEnvelope(accountId, envelope);
46-
// Step 3 end
46+
//ds-snippet-end:eSign13Step3
4747

48-
// Step 4 start
48+
//ds-snippet-start:eSign13Step4
4949
RecipientViewRequest viewRequest = AddDocToTemplateService.makeRecipientViewRequest(
5050
dsReturnUrl,
5151
signerEmail,
@@ -71,10 +71,12 @@ public static RecipientViewRequest makeRecipientViewRequest(
7171
signerName,
7272
dsPingUrl);
7373
}
74+
//ds-snippet-end:eSign13Step4
7475

7576
// The envelope request object uses Composite Template to include in the envelope:
7677
// 1. A template stored on the DocuSign service
7778
// 2. An additional document which is a custom HTML source document
79+
//ds-snippet-start:eSign13Step2
7880
public static EnvelopeDefinition makeEnvelope(
7981
String signerEmail,
8082
String signerName,
@@ -143,6 +145,7 @@ public static EnvelopeDefinition makeEnvelope(
143145

144146
return envelopeDefinition;
145147
}
148+
//ds-snippet-end:eSign13Step2
146149

147150
// Adding clientUserId transforms the template recipient into an embedded recipient
148151
public static Signer createSigner(

0 commit comments

Comments
 (0)