Class DocumentProposal.Builder
java.lang.Object
com.yoti.api.client.docs.session.instructions.document.DocumentProposal.Builder
- Enclosing class:
- DocumentProposal
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withRequirementId(String requirementId) Sets the requirementId that the document proposal will satisfywithSelectedDocument(SelectedDocument document) Sets theSelectedDocumentthat will be used to satisfy the requirement
-
Method Details
-
withRequirementId
Sets the requirementId that the document proposal will satisfy- Parameters:
requirementId- the requirement ID- Returns:
- the builder
-
withSelectedDocument
Sets theSelectedDocumentthat will be used to satisfy the requirement- Parameters:
document- the selected document- Returns:
- the builder
-
build
-