Class ContactProfile.Builder

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

public static class ContactProfile.Builder extends Object
  • Method Details

    • withFirstName

      public ContactProfile.Builder withFirstName(String firstName)
      Sets the first name that will be used as part of the contact profile
      Parameters:
      firstName - the first name
      Returns:
      the builder
    • withLastName

      public ContactProfile.Builder withLastName(String lastName)
      Sets the last name that will be used as part of the contact profile
      Parameters:
      lastName - the last name
      Returns:
      the builder
    • withEmail

      public ContactProfile.Builder withEmail(String email)
      Sets the email address that will be used as part of the contact profile
      Parameters:
      email - the email address
      Returns:
      the builder
    • build

      public ContactProfile build()