Class CertificateOrderContact


  • public final class CertificateOrderContact
    extends Object
    The CertificateOrderContact model.
    • Constructor Detail

      • CertificateOrderContact

        public CertificateOrderContact()
    • Method Detail

      • email

        public String email()
        Get the email property: The email property.
        Returns:
        the email value.
      • withEmail

        public CertificateOrderContact withEmail​(String email)
        Set the email property: The email property.
        Parameters:
        email - the email value to set.
        Returns:
        the CertificateOrderContact object itself.
      • nameFirst

        public String nameFirst()
        Get the nameFirst property: The nameFirst property.
        Returns:
        the nameFirst value.
      • withNameFirst

        public CertificateOrderContact withNameFirst​(String nameFirst)
        Set the nameFirst property: The nameFirst property.
        Parameters:
        nameFirst - the nameFirst value to set.
        Returns:
        the CertificateOrderContact object itself.
      • nameLast

        public String nameLast()
        Get the nameLast property: The nameLast property.
        Returns:
        the nameLast value.
      • withNameLast

        public CertificateOrderContact withNameLast​(String nameLast)
        Set the nameLast property: The nameLast property.
        Parameters:
        nameLast - the nameLast value to set.
        Returns:
        the CertificateOrderContact object itself.
      • phone

        public String phone()
        Get the phone property: The phone property.
        Returns:
        the phone value.
      • withPhone

        public CertificateOrderContact withPhone​(String phone)
        Set the phone property: The phone property.
        Parameters:
        phone - the phone value to set.
        Returns:
        the CertificateOrderContact object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.