org.ota.shared
Class Customer

java.lang.Object
  extended by org.ota.shared.Customer
Direct Known Subclasses:
CustomerPrimaryAdditional.Additional, InsuranceCustomer

public class Customer
extends java.lang.Object

Contains basic data on the customer's identity, location, relationships, finances, memberships, etc. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CustomerType">
   <xs:sequence>
     <xs:element type="ns:PersonNameType" name="PersonName" minOccurs="0" maxOccurs="5"/>
     <xs:element name="Telephone" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class Telephone -->
     </xs:element>
     <xs:element name="Email" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class Email -->
     </xs:element>
     <xs:element name="Address" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class Address -->
     </xs:element>
     <xs:element name="URL" minOccurs="0" maxOccurs="5">
       <!-- Reference to inner class URL -->
     </xs:element>
     <xs:element name="CitizenCountryName" minOccurs="0" maxOccurs="3">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CitizenCountryNameGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="PhysChallName" minOccurs="0" maxOccurs="5">
       <!-- Reference to inner class PhysChallName -->
     </xs:element>
     <xs:element type="xs:string" name="PetInfo" minOccurs="0" maxOccurs="3"/>
     <xs:element name="PaymentForm" minOccurs="0" maxOccurs="100">
       <!-- Reference to inner class PaymentForm -->
     </xs:element>
     <xs:element type="ns:RelatedTravelerType" name="RelatedTraveler" minOccurs="0" maxOccurs="99"/>
     <xs:element type="ns:ContactPersonType" name="ContactPerson" minOccurs="0" maxOccurs="5"/>
     <xs:element type="ns:DocumentType" name="Document" minOccurs="0" maxOccurs="99"/>
     <xs:element name="CustLoyalty" minOccurs="0" maxOccurs="25">
       <!-- Reference to inner class CustLoyalty -->
     </xs:element>
     <xs:element type="ns:EmployeeInfoType" name="EmployeeInfo" minOccurs="0" maxOccurs="3"/>
     <xs:element type="ns:CompanyNameType" name="EmployerInfo" minOccurs="0"/>
     <xs:element name="AdditionalLanguage" minOccurs="0" maxOccurs="5">
       <!-- Reference to inner class AdditionalLanguage -->
     </xs:element>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:GenderGroup"/>
   <xs:attribute type="xs:boolean" name="Deceased"/>
   <xs:attribute type="xs:string" name="LockoutType"/>
   <xs:attributeGroup ref="ns:BirthDateGroup"/>
   <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   <xs:attribute type="xs:boolean" use="optional" name="VIP_Indicator"/>
   <xs:attribute type="xs:string" use="optional" name="Text"/>
   <xs:attributeGroup ref="ns:LanguageGroup"/>
   <xs:attribute type="xs:string" use="optional" name="CustomerValue"/>
   <xs:attribute use="optional" name="MaritalStatus">
     <xs:simpleType>
       <!-- Reference to inner class MaritalStatus -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:boolean" use="optional" name="PreviouslyMarriedIndicator"/>
   <xs:attribute type="xs:int" use="optional" name="ChildQuantity"/>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BirthDateGroup">
   <xs:attribute type="xs:date" use="optional" name="BirthDate"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LanguageGroup">
   <xs:attribute type="xs:string" use="optional" name="Language"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class Customer.AdditionalLanguage
          Additional languages spoken by the traveler.
static class Customer.Address
          Detailed information on an address for the customer.
static class Customer.CustLoyalty
          Loyalty program information for the customer.
static class Customer.Email
          Information on an email address for the customer.
static class Customer.MaritalStatus
          Schema fragment(s) for this class:
static class Customer.PaymentForm
          Methods of providing funds and guarantees for travel by the customer.
static class Customer.PhysChallName
          Describes the customer's physical challenge.
static class Customer.Telephone
          Information on a telephone number for the customer.
static class Customer.URL
          Information on a URL for the customer.
 
Constructor Summary
Customer()
           
 
Method Summary
 void addAdditionalLanguage(Customer.AdditionalLanguage item)
          Add a 'AdditionalLanguage' element item.
 void addAddress(Customer.Address item)
          Add a 'Address' element item.
 void addCitizenCountryName(CitizenCountryNameGroup item)
          Add a 'CitizenCountryName' element item.
 void addContactPerson(ContactPerson item)
          Add a 'ContactPerson' element item.
 void addCustLoyalty(Customer.CustLoyalty item)
          Add a 'CustLoyalty' element item.
 void addDocument(Document item)
          Add a 'Document' element item.
 void addEmail(Customer.Email item)
          Add a 'Email' element item.
 void addEmployeeInfo(EmployeeInfo item)
          Add a 'EmployeeInfo' element item.
 void addPaymentForm(Customer.PaymentForm item)
          Add a 'PaymentForm' element item.
 void addPersonName(PersonName item)
          Add a 'PersonName' element item.
 void addPetInfo(java.lang.String item)
          Add a 'PetInfo' element item.
 void addPhysChallName(Customer.PhysChallName item)
          Add a 'PhysChallName' element item.
 void addRelatedTraveler(RelatedTraveler item)
          Add a 'RelatedTraveler' element item.
 void addTelephone(Customer.Telephone item)
          Add a 'Telephone' element item.
 void addURL(Customer.URL item)
          Add a 'URL' element item.
 void clearAdditionalLanguages()
          Remove all 'AdditionalLanguage' element items.
 void clearAddresses()
          Remove all 'Address' element items.
 void clearCitizenCountryNames()
          Remove all 'CitizenCountryName' element items.
 void clearContactPersons()
          Remove all 'ContactPerson' element items.
 void clearCustLoyalties()
          Remove all 'CustLoyalty' element items.
 void clearDocuments()
          Remove all 'Document' element items.
 void clearEmails()
          Remove all 'Email' element items.
 void clearEmployeeInfos()
          Remove all 'EmployeeInfo' element items.
 void clearPaymentForms()
          Remove all 'PaymentForm' element items.
 void clearPersonNames()
          Remove all 'PersonName' element items.
 void clearPetInfos()
          Remove all 'PetInfo' element items.
 void clearPhysChallNames()
          Remove all 'PhysChallName' element items.
 void clearRelatedTravelers()
          Remove all 'RelatedTraveler' element items.
 void clearTelephones()
          Remove all 'Telephone' element items.
 void clearURLs()
          Remove all 'URL' element items.
 Customer.AdditionalLanguage getAdditionalLanguage(int index)
          Get 'AdditionalLanguage' element item by position.
 java.util.List<Customer.AdditionalLanguage> getAdditionalLanguages()
          Get the list of 'AdditionalLanguage' element items.
 Customer.Address getAddress(int index)
          Get 'Address' element item by position.
 java.util.List<Customer.Address> getAddresses()
          Get the list of 'Address' element items.
 java.sql.Date getBirthDate()
          Get the 'BirthDate' attribute value.
 java.lang.Integer getChildQuantity()
          Get the 'ChildQuantity' attribute value.
 CitizenCountryNameGroup getCitizenCountryName(int index)
          Get 'CitizenCountryName' element item by position.
 java.util.List<CitizenCountryNameGroup> getCitizenCountryNames()
          Get the list of 'CitizenCountryName' element items.
 ContactPerson getContactPerson(int index)
          Get 'ContactPerson' element item by position.
 java.util.List<ContactPerson> getContactPersons()
          Get the list of 'ContactPerson' element items.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 java.util.List<Customer.CustLoyalty> getCustLoyalties()
          Get the list of 'CustLoyalty' element items.
 Customer.CustLoyalty getCustLoyalty(int index)
          Get 'CustLoyalty' element item by position.
 java.lang.String getCustomerValue()
          Get the 'CustomerValue' attribute value.
 java.lang.Boolean getDeceased()
          Get the 'Deceased' attribute value.
 Document getDocument(int index)
          Get 'Document' element item by position.
 java.util.List<Document> getDocuments()
          Get the list of 'Document' element items.
 Customer.Email getEmail(int index)
          Get 'Email' element item by position.
 java.util.List<Customer.Email> getEmails()
          Get the list of 'Email' element items.
 EmployeeInfo getEmployeeInfo(int index)
          Get 'EmployeeInfo' element item by position.
 java.util.List<EmployeeInfo> getEmployeeInfos()
          Get the list of 'EmployeeInfo' element items.
 CompanyName getEmployerInfo()
          Get the 'EmployerInfo' element value.
 GenderGroup getGenderGroup()
          Get the 'GenderGroup' attributeGroup value.
 java.lang.String getLanguage()
          Get the 'Language' attribute value.
 java.lang.String getLockout()
          Get the 'LockoutType' attribute value.
 Customer.MaritalStatus getMaritalStatus()
          Get the 'MaritalStatus' attribute value.
 Customer.PaymentForm getPaymentForm(int index)
          Get 'PaymentForm' element item by position.
 java.util.List<Customer.PaymentForm> getPaymentForms()
          Get the list of 'PaymentForm' element items.
 PersonName getPersonName(int index)
          Get 'PersonName' element item by position.
 java.util.List<PersonName> getPersonNames()
          Get the list of 'PersonName' element items.
 java.lang.String getPetInfo(int index)
          Get 'PetInfo' element item by position.
 java.util.List<java.lang.String> getPetInfos()
          Get the list of 'PetInfo' element items.
 Customer.PhysChallName getPhysChallName(int index)
          Get 'PhysChallName' element item by position.
 java.util.List<Customer.PhysChallName> getPhysChallNames()
          Get the list of 'PhysChallName' element items.
 java.lang.Boolean getPreviouslyMarriedIndicator()
          Get the 'PreviouslyMarriedIndicator' attribute value.
 RelatedTraveler getRelatedTraveler(int index)
          Get 'RelatedTraveler' element item by position.
 java.util.List<RelatedTraveler> getRelatedTravelers()
          Get the list of 'RelatedTraveler' element items.
 Customer.Telephone getTelephone(int index)
          Get 'Telephone' element item by position.
 java.util.List<Customer.Telephone> getTelephones()
          Get the list of 'Telephone' element items.
 java.lang.String getText()
          Get the 'Text' attribute value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 Customer.URL getURL(int index)
          Get 'URL' element item by position.
 java.util.List<Customer.URL> getURLs()
          Get the list of 'URL' element items.
 java.lang.Boolean getVIPIndicator()
          Get the 'VIP_Indicator' attribute value.
 void setAdditionalLanguages(java.util.List<Customer.AdditionalLanguage> list)
          Set the list of 'AdditionalLanguage' element items.
 void setAddresses(java.util.List<Customer.Address> list)
          Set the list of 'Address' element items.
 void setBirthDate(java.sql.Date birthDate)
          Set the 'BirthDate' attribute value.
 void setChildQuantity(java.lang.Integer childQuantity)
          Set the 'ChildQuantity' attribute value.
 void setCitizenCountryNames(java.util.List<CitizenCountryNameGroup> list)
          Set the list of 'CitizenCountryName' element items.
 void setContactPersons(java.util.List<ContactPerson> list)
          Set the list of 'ContactPerson' element items.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setCustLoyalties(java.util.List<Customer.CustLoyalty> list)
          Set the list of 'CustLoyalty' element items.
 void setCustomerValue(java.lang.String customerValue)
          Set the 'CustomerValue' attribute value.
 void setDeceased(java.lang.Boolean deceased)
          Set the 'Deceased' attribute value.
 void setDocuments(java.util.List<Document> list)
          Set the list of 'Document' element items.
 void setEmails(java.util.List<Customer.Email> list)
          Set the list of 'Email' element items.
 void setEmployeeInfos(java.util.List<EmployeeInfo> list)
          Set the list of 'EmployeeInfo' element items.
 void setEmployerInfo(CompanyName employerInfo)
          Set the 'EmployerInfo' element value.
 void setGenderGroup(GenderGroup genderGroup)
          Set the 'GenderGroup' attributeGroup value.
 void setLanguage(java.lang.String language)
          Set the 'Language' attribute value.
 void setLockout(java.lang.String lockout)
          Set the 'LockoutType' attribute value.
 void setMaritalStatus(Customer.MaritalStatus maritalStatus)
          Set the 'MaritalStatus' attribute value.
 void setPaymentForms(java.util.List<Customer.PaymentForm> list)
          Set the list of 'PaymentForm' element items.
 void setPersonNames(java.util.List<PersonName> list)
          Set the list of 'PersonName' element items.
 void setPetInfos(java.util.List<java.lang.String> list)
          Set the list of 'PetInfo' element items.
 void setPhysChallNames(java.util.List<Customer.PhysChallName> list)
          Set the list of 'PhysChallName' element items.
 void setPreviouslyMarriedIndicator(java.lang.Boolean previouslyMarriedIndicator)
          Set the 'PreviouslyMarriedIndicator' attribute value.
 void setRelatedTravelers(java.util.List<RelatedTraveler> list)
          Set the list of 'RelatedTraveler' element items.
 void setTelephones(java.util.List<Customer.Telephone> list)
          Set the list of 'Telephone' element items.
 void setText(java.lang.String text)
          Set the 'Text' attribute value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setURLs(java.util.List<Customer.URL> list)
          Set the list of 'URL' element items.
 void setVIPIndicator(java.lang.Boolean VIPIndicator)
          Set the 'VIP_Indicator' attribute value.
 int sizeAdditionalLanguages()
          Get the number of 'AdditionalLanguage' element items.
 int sizeAddresses()
          Get the number of 'Address' element items.
 int sizeCitizenCountryNames()
          Get the number of 'CitizenCountryName' element items.
 int sizeContactPersons()
          Get the number of 'ContactPerson' element items.
 int sizeCustLoyalties()
          Get the number of 'CustLoyalty' element items.
 int sizeDocuments()
          Get the number of 'Document' element items.
 int sizeEmails()
          Get the number of 'Email' element items.
 int sizeEmployeeInfos()
          Get the number of 'EmployeeInfo' element items.
 int sizePaymentForms()
          Get the number of 'PaymentForm' element items.
 int sizePersonNames()
          Get the number of 'PersonName' element items.
 int sizePetInfos()
          Get the number of 'PetInfo' element items.
 int sizePhysChallNames()
          Get the number of 'PhysChallName' element items.
 int sizeRelatedTravelers()
          Get the number of 'RelatedTraveler' element items.
 int sizeTelephones()
          Get the number of 'Telephone' element items.
 int sizeURLs()
          Get the number of 'URL' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Customer

public Customer()
Method Detail

getPersonNames

public java.util.List<PersonName> getPersonNames()
Get the list of 'PersonName' element items. Detailed name information for the customer.

Returns:
list

setPersonNames

public void setPersonNames(java.util.List<PersonName> list)
Set the list of 'PersonName' element items. Detailed name information for the customer.

Parameters:
list -

sizePersonNames

public int sizePersonNames()
Get the number of 'PersonName' element items.

Returns:
count

addPersonName

public void addPersonName(PersonName item)
Add a 'PersonName' element item.

Parameters:
item -

getPersonName

public PersonName getPersonName(int index)
Get 'PersonName' element item by position.

Parameters:
index -
Returns:
item

clearPersonNames

public void clearPersonNames()
Remove all 'PersonName' element items.


getTelephones

public java.util.List<Customer.Telephone> getTelephones()
Get the list of 'Telephone' element items.

Returns:
list

setTelephones

public void setTelephones(java.util.List<Customer.Telephone> list)
Set the list of 'Telephone' element items.

Parameters:
list -

sizeTelephones

public int sizeTelephones()
Get the number of 'Telephone' element items.

Returns:
count

addTelephone

public void addTelephone(Customer.Telephone item)
Add a 'Telephone' element item.

Parameters:
item -

getTelephone

public Customer.Telephone getTelephone(int index)
Get 'Telephone' element item by position.

Parameters:
index -
Returns:
item

clearTelephones

public void clearTelephones()
Remove all 'Telephone' element items.


getEmails

public java.util.List<Customer.Email> getEmails()
Get the list of 'Email' element items.

Returns:
list

setEmails

public void setEmails(java.util.List<Customer.Email> list)
Set the list of 'Email' element items.

Parameters:
list -

sizeEmails

public int sizeEmails()
Get the number of 'Email' element items.

Returns:
count

addEmail

public void addEmail(Customer.Email item)
Add a 'Email' element item.

Parameters:
item -

getEmail

public Customer.Email getEmail(int index)
Get 'Email' element item by position.

Parameters:
index -
Returns:
item

clearEmails

public void clearEmails()
Remove all 'Email' element items.


getAddresses

public java.util.List<Customer.Address> getAddresses()
Get the list of 'Address' element items.

Returns:
list

setAddresses

public void setAddresses(java.util.List<Customer.Address> list)
Set the list of 'Address' element items.

Parameters:
list -

sizeAddresses

public int sizeAddresses()
Get the number of 'Address' element items.

Returns:
count

addAddress

public void addAddress(Customer.Address item)
Add a 'Address' element item.

Parameters:
item -

getAddress

public Customer.Address getAddress(int index)
Get 'Address' element item by position.

Parameters:
index -
Returns:
item

clearAddresses

public void clearAddresses()
Remove all 'Address' element items.


getURLs

public java.util.List<Customer.URL> getURLs()
Get the list of 'URL' element items.

Returns:
list

setURLs

public void setURLs(java.util.List<Customer.URL> list)
Set the list of 'URL' element items.

Parameters:
list -

sizeURLs

public int sizeURLs()
Get the number of 'URL' element items.

Returns:
count

addURL

public void addURL(Customer.URL item)
Add a 'URL' element item.

Parameters:
item -

getURL

public Customer.URL getURL(int index)
Get 'URL' element item by position.

Parameters:
index -
Returns:
item

clearURLs

public void clearURLs()
Remove all 'URL' element items.


getCitizenCountryNames

public java.util.List<CitizenCountryNameGroup> getCitizenCountryNames()
Get the list of 'CitizenCountryName' element items. Name of the (self-professed) country that is claimed for citizenship.

Returns:
list

setCitizenCountryNames

public void setCitizenCountryNames(java.util.List<CitizenCountryNameGroup> list)
Set the list of 'CitizenCountryName' element items. Name of the (self-professed) country that is claimed for citizenship.

Parameters:
list -

sizeCitizenCountryNames

public int sizeCitizenCountryNames()
Get the number of 'CitizenCountryName' element items.

Returns:
count

addCitizenCountryName

public void addCitizenCountryName(CitizenCountryNameGroup item)
Add a 'CitizenCountryName' element item.

Parameters:
item -

getCitizenCountryName

public CitizenCountryNameGroup getCitizenCountryName(int index)
Get 'CitizenCountryName' element item by position.

Parameters:
index -
Returns:
item

clearCitizenCountryNames

public void clearCitizenCountryNames()
Remove all 'CitizenCountryName' element items.


getPhysChallNames

public java.util.List<Customer.PhysChallName> getPhysChallNames()
Get the list of 'PhysChallName' element items.

Returns:
list

setPhysChallNames

public void setPhysChallNames(java.util.List<Customer.PhysChallName> list)
Set the list of 'PhysChallName' element items.

Parameters:
list -

sizePhysChallNames

public int sizePhysChallNames()
Get the number of 'PhysChallName' element items.

Returns:
count

addPhysChallName

public void addPhysChallName(Customer.PhysChallName item)
Add a 'PhysChallName' element item.

Parameters:
item -

getPhysChallName

public Customer.PhysChallName getPhysChallName(int index)
Get 'PhysChallName' element item by position.

Parameters:
index -
Returns:
item

clearPhysChallNames

public void clearPhysChallNames()
Remove all 'PhysChallName' element items.


getPetInfos

public java.util.List<java.lang.String> getPetInfos()
Get the list of 'PetInfo' element items. Describes the customer's pet.

Returns:
list

setPetInfos

public void setPetInfos(java.util.List<java.lang.String> list)
Set the list of 'PetInfo' element items. Describes the customer's pet.

Parameters:
list -

sizePetInfos

public int sizePetInfos()
Get the number of 'PetInfo' element items.

Returns:
count

addPetInfo

public void addPetInfo(java.lang.String item)
Add a 'PetInfo' element item.

Parameters:
item -

getPetInfo

public java.lang.String getPetInfo(int index)
Get 'PetInfo' element item by position.

Parameters:
index -
Returns:
item

clearPetInfos

public void clearPetInfos()
Remove all 'PetInfo' element items.


getPaymentForms

public java.util.List<Customer.PaymentForm> getPaymentForms()
Get the list of 'PaymentForm' element items.

Returns:
list

setPaymentForms

public void setPaymentForms(java.util.List<Customer.PaymentForm> list)
Set the list of 'PaymentForm' element items.

Parameters:
list -

sizePaymentForms

public int sizePaymentForms()
Get the number of 'PaymentForm' element items.

Returns:
count

addPaymentForm

public void addPaymentForm(Customer.PaymentForm item)
Add a 'PaymentForm' element item.

Parameters:
item -

getPaymentForm

public Customer.PaymentForm getPaymentForm(int index)
Get 'PaymentForm' element item by position.

Parameters:
index -
Returns:
item

clearPaymentForms

public void clearPaymentForms()
Remove all 'PaymentForm' element items.


getRelatedTravelers

public java.util.List<RelatedTraveler> getRelatedTravelers()
Get the list of 'RelatedTraveler' element items. Identifies a traveler associated with the customer.

Returns:
list

setRelatedTravelers

public void setRelatedTravelers(java.util.List<RelatedTraveler> list)
Set the list of 'RelatedTraveler' element items. Identifies a traveler associated with the customer.

Parameters:
list -

sizeRelatedTravelers

public int sizeRelatedTravelers()
Get the number of 'RelatedTraveler' element items.

Returns:
count

addRelatedTraveler

public void addRelatedTraveler(RelatedTraveler item)
Add a 'RelatedTraveler' element item.

Parameters:
item -

getRelatedTraveler

public RelatedTraveler getRelatedTraveler(int index)
Get 'RelatedTraveler' element item by position.

Parameters:
index -
Returns:
item

clearRelatedTravelers

public void clearRelatedTravelers()
Remove all 'RelatedTraveler' element items.


getContactPersons

public java.util.List<ContactPerson> getContactPersons()
Get the list of 'ContactPerson' element items. Information on a contact person for the customer.

Returns:
list

setContactPersons

public void setContactPersons(java.util.List<ContactPerson> list)
Set the list of 'ContactPerson' element items. Information on a contact person for the customer.

Parameters:
list -

sizeContactPersons

public int sizeContactPersons()
Get the number of 'ContactPerson' element items.

Returns:
count

addContactPerson

public void addContactPerson(ContactPerson item)
Add a 'ContactPerson' element item.

Parameters:
item -

getContactPerson

public ContactPerson getContactPerson(int index)
Get 'ContactPerson' element item by position.

Parameters:
index -
Returns:
item

clearContactPersons

public void clearContactPersons()
Remove all 'ContactPerson' element items.


getDocuments

public java.util.List<Document> getDocuments()
Get the list of 'Document' element items. Detailed document information for the customer (e.g., driver license, passport, visa).

Returns:
list

setDocuments

public void setDocuments(java.util.List<Document> list)
Set the list of 'Document' element items. Detailed document information for the customer (e.g., driver license, passport, visa).

Parameters:
list -

sizeDocuments

public int sizeDocuments()
Get the number of 'Document' element items.

Returns:
count

addDocument

public void addDocument(Document item)
Add a 'Document' element item.

Parameters:
item -

getDocument

public Document getDocument(int index)
Get 'Document' element item by position.

Parameters:
index -
Returns:
item

clearDocuments

public void clearDocuments()
Remove all 'Document' element items.


getCustLoyalties

public java.util.List<Customer.CustLoyalty> getCustLoyalties()
Get the list of 'CustLoyalty' element items.

Returns:
list

setCustLoyalties

public void setCustLoyalties(java.util.List<Customer.CustLoyalty> list)
Set the list of 'CustLoyalty' element items.

Parameters:
list -

sizeCustLoyalties

public int sizeCustLoyalties()
Get the number of 'CustLoyalty' element items.

Returns:
count

addCustLoyalty

public void addCustLoyalty(Customer.CustLoyalty item)
Add a 'CustLoyalty' element item.

Parameters:
item -

getCustLoyalty

public Customer.CustLoyalty getCustLoyalty(int index)
Get 'CustLoyalty' element item by position.

Parameters:
index -
Returns:
item

clearCustLoyalties

public void clearCustLoyalties()
Remove all 'CustLoyalty' element items.


getEmployeeInfos

public java.util.List<EmployeeInfo> getEmployeeInfos()
Get the list of 'EmployeeInfo' element items. Employment information for the customer.

Returns:
list

setEmployeeInfos

public void setEmployeeInfos(java.util.List<EmployeeInfo> list)
Set the list of 'EmployeeInfo' element items. Employment information for the customer.

Parameters:
list -

sizeEmployeeInfos

public int sizeEmployeeInfos()
Get the number of 'EmployeeInfo' element items.

Returns:
count

addEmployeeInfo

public void addEmployeeInfo(EmployeeInfo item)
Add a 'EmployeeInfo' element item.

Parameters:
item -

getEmployeeInfo

public EmployeeInfo getEmployeeInfo(int index)
Get 'EmployeeInfo' element item by position.

Parameters:
index -
Returns:
item

clearEmployeeInfos

public void clearEmployeeInfos()
Remove all 'EmployeeInfo' element items.


getEmployerInfo

public CompanyName getEmployerInfo()
Get the 'EmployerInfo' element value. Identifies the customer's employer.

Returns:
value

setEmployerInfo

public void setEmployerInfo(CompanyName employerInfo)
Set the 'EmployerInfo' element value. Identifies the customer's employer.

Parameters:
employerInfo -

getAdditionalLanguages

public java.util.List<Customer.AdditionalLanguage> getAdditionalLanguages()
Get the list of 'AdditionalLanguage' element items.

Returns:
list

setAdditionalLanguages

public void setAdditionalLanguages(java.util.List<Customer.AdditionalLanguage> list)
Set the list of 'AdditionalLanguage' element items.

Parameters:
list -

sizeAdditionalLanguages

public int sizeAdditionalLanguages()
Get the number of 'AdditionalLanguage' element items.

Returns:
count

addAdditionalLanguage

public void addAdditionalLanguage(Customer.AdditionalLanguage item)
Add a 'AdditionalLanguage' element item.

Parameters:
item -

getAdditionalLanguage

public Customer.AdditionalLanguage getAdditionalLanguage(int index)
Get 'AdditionalLanguage' element item by position.

Parameters:
index -
Returns:
item

clearAdditionalLanguages

public void clearAdditionalLanguages()
Remove all 'AdditionalLanguage' element items.


getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getGenderGroup

public GenderGroup getGenderGroup()
Get the 'GenderGroup' attributeGroup value. Identifies the gender of the customer.

Returns:
value

setGenderGroup

public void setGenderGroup(GenderGroup genderGroup)
Set the 'GenderGroup' attributeGroup value. Identifies the gender of the customer.

Parameters:
genderGroup -

getDeceased

public java.lang.Boolean getDeceased()
Get the 'Deceased' attribute value. When true the customer is deceased.

Returns:
value

setDeceased

public void setDeceased(java.lang.Boolean deceased)
Set the 'Deceased' attribute value. When true the customer is deceased.

Parameters:
deceased -

getLockout

public java.lang.String getLockout()
Get the 'LockoutType' attribute value. Indicates reason for locking out record, such as Emergency, Incident, etc.

Returns:
value

setLockout

public void setLockout(java.lang.String lockout)
Set the 'LockoutType' attribute value. Indicates reason for locking out record, such as Emergency, Incident, etc.

Parameters:
lockout -

getBirthDate

public java.sql.Date getBirthDate()
Get the 'BirthDate' attribute value. Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.

Returns:
value

setBirthDate

public void setBirthDate(java.sql.Date birthDate)
Set the 'BirthDate' attribute value. Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.

Parameters:
birthDate -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value. Type of funds preferred for reviewing monetary values, in ISO 4217 codes.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value. Type of funds preferred for reviewing monetary values, in ISO 4217 codes.

Parameters:
currencyCodeGroup -

getVIPIndicator

public java.lang.Boolean getVIPIndicator()
Get the 'VIP_Indicator' attribute value. If true, indicates a very important person.

Returns:
value

setVIPIndicator

public void setVIPIndicator(java.lang.Boolean VIPIndicator)
Set the 'VIP_Indicator' attribute value. If true, indicates a very important person.

Parameters:
VIPIndicator -

getText

public java.lang.String getText()
Get the 'Text' attribute value. Used to specify textual information about the customer.

Returns:
value

setText

public void setText(java.lang.String text)
Set the 'Text' attribute value. Used to specify textual information about the customer.

Parameters:
text -

getLanguage

public java.lang.String getLanguage()
Get the 'Language' attribute value. Language identification.

Returns:
value

setLanguage

public void setLanguage(java.lang.String language)
Set the 'Language' attribute value. Language identification.

Parameters:
language -

getCustomerValue

public java.lang.String getCustomerValue()
Get the 'CustomerValue' attribute value. The supplier's ranking of the customer (e.g., VIP, numerical ranking).

Returns:
value

setCustomerValue

public void setCustomerValue(java.lang.String customerValue)
Set the 'CustomerValue' attribute value. The supplier's ranking of the customer (e.g., VIP, numerical ranking).

Parameters:
customerValue -

getMaritalStatus

public Customer.MaritalStatus getMaritalStatus()
Get the 'MaritalStatus' attribute value. Marital status of the traveler.

Returns:
value

setMaritalStatus

public void setMaritalStatus(Customer.MaritalStatus maritalStatus)
Set the 'MaritalStatus' attribute value. Marital status of the traveler.

Parameters:
maritalStatus -

getPreviouslyMarriedIndicator

public java.lang.Boolean getPreviouslyMarriedIndicator()
Get the 'PreviouslyMarriedIndicator' attribute value. When true, indicates the customer was previously married. When false, indicates the customer was not previously married.

Returns:
value

setPreviouslyMarriedIndicator

public void setPreviouslyMarriedIndicator(java.lang.Boolean previouslyMarriedIndicator)
Set the 'PreviouslyMarriedIndicator' attribute value. When true, indicates the customer was previously married. When false, indicates the customer was not previously married.

Parameters:
previouslyMarriedIndicator -

getChildQuantity

public java.lang.Integer getChildQuantity()
Get the 'ChildQuantity' attribute value. The number of children of the customer.

Returns:
value

setChildQuantity

public void setChildQuantity(java.lang.Integer childQuantity)
Set the 'ChildQuantity' attribute value. The number of children of the customer.

Parameters:
childQuantity -