Module: Enom::ContactInfo

Included in:
Domain
Defined in:
lib/enom/contact_info.rb

Constant Summary collapse

CONTACT_TYPES =
%w(Registrant AuxBilling Tech Admin)
FIELDS =
[
  {:name => "FirstName",            :required => true},
  {:name => "LastName",             :required => true},
  {:name => "OrganizationName",     :required => true},
  {:name => "JobTitle",             :required => false},
  {:name => "Address1",             :required => true},
  {:name => "Address2",             :required => false},
  {:name => "City",                 :required => true},
  {:name => "StateProvinceChoice",  :required => false}, # "S" or "P" are valid
  {:name => "StateProvince",        :required => false},
  {:name => "PostalCode",           :required => true},
  {:name => "Country",              :required => true},
  {:name => "EmailAddress",         :required => true},
  {:name => "Phone",                :required => true}
]