Reply to: update account owner firstname and lastname via JAVA SDK call?
Thursday, June 11, 2020 at 04:01pm
0
votes
Hi Wendy,
Sorry that my previous answer was an offset to the topic. Yes, if you explictly add your sender as a signer, then you are able to set the first/last name for your package owner. If you didn't do so, the name will be read from sender profile.
Reply to: update account owner firstname and lastname via JAVA SDK call?
Thursday, June 11, 2020 at 04:01pmHi Wendy,
Sorry that my previous answer was an offset to the topic. Yes, if you explictly add your sender as a signer, then you are able to set the first/last name for your package owner. If you didn't do so, the name will be read from sender profile.
DocumentPackage documentPackage = PackageBuilder.newPackageNamed("Test Package Java SDK")
.withSigner(SignerBuilder.newSignerWithEmail("[email protected]")
.withFirstName("UpdatedFirstName")
.withLastName("UpdatedLastName")
)
.withDocument(DocumentBuilder.newDocumentWithName("sampleAgreement")
.withId("document1")
.fromFile("your_file_path")
.withSignature(SignatureBuilder.signatureFor("[email protected]")
.withId(new SignatureId("signature1"))
.onPage(0)
.atPosition(175, 165))
)
.build();
// Issue the request to the OneSpan Sign server to create the DocumentPackage
PackageId packageId = eslClient.createPackageOneStep(documentPackage);
Duo
Duo Liang OneSpan Evangelism and Partner Integrations Developer