|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.Customer
public class Customer
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 |
---|
public Customer()
Method Detail |
---|
public java.util.List<PersonName> getPersonNames()
public void setPersonNames(java.util.List<PersonName> list)
list
- public int sizePersonNames()
public void addPersonName(PersonName item)
item
- public PersonName getPersonName(int index)
index
-
public void clearPersonNames()
public java.util.List<Customer.Telephone> getTelephones()
public void setTelephones(java.util.List<Customer.Telephone> list)
list
- public int sizeTelephones()
public void addTelephone(Customer.Telephone item)
item
- public Customer.Telephone getTelephone(int index)
index
-
public void clearTelephones()
public java.util.List<Customer.Email> getEmails()
public void setEmails(java.util.List<Customer.Email> list)
list
- public int sizeEmails()
public void addEmail(Customer.Email item)
item
- public Customer.Email getEmail(int index)
index
-
public void clearEmails()
public java.util.List<Customer.Address> getAddresses()
public void setAddresses(java.util.List<Customer.Address> list)
list
- public int sizeAddresses()
public void addAddress(Customer.Address item)
item
- public Customer.Address getAddress(int index)
index
-
public void clearAddresses()
public java.util.List<Customer.URL> getURLs()
public void setURLs(java.util.List<Customer.URL> list)
list
- public int sizeURLs()
public void addURL(Customer.URL item)
item
- public Customer.URL getURL(int index)
index
-
public void clearURLs()
public java.util.List<CitizenCountryNameGroup> getCitizenCountryNames()
public void setCitizenCountryNames(java.util.List<CitizenCountryNameGroup> list)
list
- public int sizeCitizenCountryNames()
public void addCitizenCountryName(CitizenCountryNameGroup item)
item
- public CitizenCountryNameGroup getCitizenCountryName(int index)
index
-
public void clearCitizenCountryNames()
public java.util.List<Customer.PhysChallName> getPhysChallNames()
public void setPhysChallNames(java.util.List<Customer.PhysChallName> list)
list
- public int sizePhysChallNames()
public void addPhysChallName(Customer.PhysChallName item)
item
- public Customer.PhysChallName getPhysChallName(int index)
index
-
public void clearPhysChallNames()
public java.util.List<java.lang.String> getPetInfos()
public void setPetInfos(java.util.List<java.lang.String> list)
list
- public int sizePetInfos()
public void addPetInfo(java.lang.String item)
item
- public java.lang.String getPetInfo(int index)
index
-
public void clearPetInfos()
public java.util.List<Customer.PaymentForm> getPaymentForms()
public void setPaymentForms(java.util.List<Customer.PaymentForm> list)
list
- public int sizePaymentForms()
public void addPaymentForm(Customer.PaymentForm item)
item
- public Customer.PaymentForm getPaymentForm(int index)
index
-
public void clearPaymentForms()
public java.util.List<RelatedTraveler> getRelatedTravelers()
public void setRelatedTravelers(java.util.List<RelatedTraveler> list)
list
- public int sizeRelatedTravelers()
public void addRelatedTraveler(RelatedTraveler item)
item
- public RelatedTraveler getRelatedTraveler(int index)
index
-
public void clearRelatedTravelers()
public java.util.List<ContactPerson> getContactPersons()
public void setContactPersons(java.util.List<ContactPerson> list)
list
- public int sizeContactPersons()
public void addContactPerson(ContactPerson item)
item
- public ContactPerson getContactPerson(int index)
index
-
public void clearContactPersons()
public java.util.List<Document> getDocuments()
public void setDocuments(java.util.List<Document> list)
list
- public int sizeDocuments()
public void addDocument(Document item)
item
- public Document getDocument(int index)
index
-
public void clearDocuments()
public java.util.List<Customer.CustLoyalty> getCustLoyalties()
public void setCustLoyalties(java.util.List<Customer.CustLoyalty> list)
list
- public int sizeCustLoyalties()
public void addCustLoyalty(Customer.CustLoyalty item)
item
- public Customer.CustLoyalty getCustLoyalty(int index)
index
-
public void clearCustLoyalties()
public java.util.List<EmployeeInfo> getEmployeeInfos()
public void setEmployeeInfos(java.util.List<EmployeeInfo> list)
list
- public int sizeEmployeeInfos()
public void addEmployeeInfo(EmployeeInfo item)
item
- public EmployeeInfo getEmployeeInfo(int index)
index
-
public void clearEmployeeInfos()
public CompanyName getEmployerInfo()
public void setEmployerInfo(CompanyName employerInfo)
employerInfo
- public java.util.List<Customer.AdditionalLanguage> getAdditionalLanguages()
public void setAdditionalLanguages(java.util.List<Customer.AdditionalLanguage> list)
list
- public int sizeAdditionalLanguages()
public void addAdditionalLanguage(Customer.AdditionalLanguage item)
item
- public Customer.AdditionalLanguage getAdditionalLanguage(int index)
index
-
public void clearAdditionalLanguages()
public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public GenderGroup getGenderGroup()
public void setGenderGroup(GenderGroup genderGroup)
genderGroup
- public java.lang.Boolean getDeceased()
public void setDeceased(java.lang.Boolean deceased)
deceased
- public java.lang.String getLockout()
public void setLockout(java.lang.String lockout)
lockout
- public java.sql.Date getBirthDate()
public void setBirthDate(java.sql.Date birthDate)
birthDate
- public CurrencyCodeGroup getCurrencyCodeGroup()
public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
currencyCodeGroup
- public java.lang.Boolean getVIPIndicator()
public void setVIPIndicator(java.lang.Boolean VIPIndicator)
VIPIndicator
- public java.lang.String getText()
public void setText(java.lang.String text)
text
- public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language
- public java.lang.String getCustomerValue()
public void setCustomerValue(java.lang.String customerValue)
customerValue
- public Customer.MaritalStatus getMaritalStatus()
public void setMaritalStatus(Customer.MaritalStatus maritalStatus)
maritalStatus
- public java.lang.Boolean getPreviouslyMarriedIndicator()
public void setPreviouslyMarriedIndicator(java.lang.Boolean previouslyMarriedIndicator)
previouslyMarriedIndicator
- public java.lang.Integer getChildQuantity()
public void setChildQuantity(java.lang.Integer childQuantity)
childQuantity
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |