Class Instructions.Builder

java.lang.Object
com.yoti.api.client.docs.session.instructions.Instructions.Builder
Enclosing class:
Instructions

public static class Instructions.Builder extends Object
  • Method Details

    • withContactProfile

      public Instructions.Builder withContactProfile(ContactProfile contactProfile)
      Sets the contact profile that will be used for any communication with the end-user
      Parameters:
      contactProfile - the contact profile
      Returns:
      the builder
    • withDocumentProposal

      public Instructions.Builder withDocumentProposal(DocumentProposal documentProposal)
      Adds a singular DocumentProposal to a list of documents that the end-user will need to provide when performing In-Branch Verification
      Parameters:
      documentProposal - the document proposal
      Returns:
      the builder
    • withBranch

      public Instructions.Builder withBranch(Branch branch)
      Sets the branch that the end-user will perform the In-Branch Verification
      Parameters:
      branch - the branch
      Returns:
      the builder
    • build

      public Instructions build()