com.Sericon.ProductAgents.AutoSSLAgent
Class BasicCustomerInfo

java.lang.Object
  extended by com.Sericon.ProductAgents.AutoSSLAgent.BasicCustomerInfo

public class BasicCustomerInfo
extends java.lang.Object

Basic information about the customer that is required to create an SSL certificate.


Constructor Summary
BasicCustomerInfo(java.lang.String name, java.lang.String city, java.lang.String state, java.lang.String country, java.lang.String email)
          Construct a BasicCustomerInfo
 
Method Summary
 java.lang.String getCity()
          Get the customer's city
 java.lang.String getCountry()
          Get the customer's country
 java.lang.String getEmail()
          Get the customer's email address
 java.lang.String getName()
          Get the customer's name
 java.lang.String getState()
          Get the customer's state
 void validate()
          Validate that this object is well-formed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicCustomerInfo

public BasicCustomerInfo(java.lang.String name,
                         java.lang.String city,
                         java.lang.String state,
                         java.lang.String country,
                         java.lang.String email)
Construct a BasicCustomerInfo

Parameters:
name - The name of the person who owns this certificate
city - The person's city
state - The person's state (if applicable)
country - The person's ISO 3166 upper-case 2-letter country abbreviation (e.g. US = United States, CA = Canada, etc.).
email - The person's email address
Method Detail

validate

public void validate()
              throws PRAException
Validate that this object is well-formed. This means:

If the object is valid, this method returns normally, otherwise it throws an exception.

Throws:
PRAException - Contains a message explaining why the object is not valid.

getName

public java.lang.String getName()
Get the customer's name


getCity

public java.lang.String getCity()
Get the customer's city


getState

public java.lang.String getState()
Get the customer's state


getCountry

public java.lang.String getCountry()
Get the customer's country


getEmail

public java.lang.String getEmail()
Get the customer's email address