update account owner firstname and lastname via JAVA SDK call?
Thursday, June 11, 2020 at 01:47pmis it possible to update account owner firstname and lastname via JAVA SDK call? If yes, how to do it?
Thanks
Wendy
is it possible to update account owner firstname and lastname via JAVA SDK call? If yes, how to do it?
Thanks
Wendy
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