Class ContactPerson


  • public class ContactPerson
    extends Object
    ContactPerson
    • Constructor Detail

      • ContactPerson

        public ContactPerson()
    • Method Detail

      • firstName

        public ContactPerson firstName​(String firstName)
        First name of person
        Parameters:
        firstName - String
        Returns:
        ContactPerson
      • getFirstName

        public String getFirstName()
        First name of person
        Returns:
        firstName
      • setFirstName

        public void setFirstName​(String firstName)
        First name of person
        Parameters:
        firstName - String
      • lastName

        public ContactPerson lastName​(String lastName)
        Last name of person
        Parameters:
        lastName - String
        Returns:
        ContactPerson
      • getLastName

        public String getLastName()
        Last name of person
        Returns:
        lastName
      • setLastName

        public void setLastName​(String lastName)
        Last name of person
        Parameters:
        lastName - String
      • emailAddress

        public ContactPerson emailAddress​(String emailAddress)
        Email address of person
        Parameters:
        emailAddress - String
        Returns:
        ContactPerson
      • getEmailAddress

        public String getEmailAddress()
        Email address of person
        Returns:
        emailAddress
      • setEmailAddress

        public void setEmailAddress​(String emailAddress)
        Email address of person
        Parameters:
        emailAddress - String
      • includeInEmails

        public ContactPerson includeInEmails​(Boolean includeInEmails)
        boolean to indicate whether contact should be included on emails with invoices etc.
        Parameters:
        includeInEmails - Boolean
        Returns:
        ContactPerson
      • getIncludeInEmails

        public Boolean getIncludeInEmails()
        boolean to indicate whether contact should be included on emails with invoices etc.
        Returns:
        includeInEmails
      • setIncludeInEmails

        public void setIncludeInEmails​(Boolean includeInEmails)
        boolean to indicate whether contact should be included on emails with invoices etc.
        Parameters:
        includeInEmails - Boolean
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object