update account owner firstname and lastname via JAVA SDK call?
Thursday, June 11, 2020 at 01:47pm
0
votes
is it possible to update account owner firstname and lastname via JAVA SDK call? If yes, how to do it?
Thanks
Wendy
June 11Created
June 11Last Updated
5 years agoLast Reply
1Replies
36Views
2Users
0Likes
0Links
Duo_Liang | Posts: 3777
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