org.ota.itin
Class CustomerInfo

java.lang.Object
  extended by org.ota.itin.CustomerInfo

public class CustomerInfo
extends java.lang.Object

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="CustomerInfoType">
   <xs:sequence>
     <xs:element type="ns:CustomerType" name="Customer" minOccurs="0"/>
     <xs:element type="ns:UniqueID_Type" name="ProfileRef" minOccurs="0"/>
     <xs:element type="xs:string" name="Remarks" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:UniqueID_Type" name="AgencyAcctNumber"/>
   </xs:sequence>
   <xs:attribute type="xs:string" name="RPH"/>
 </xs:complexType>
 


Constructor Summary
CustomerInfo()
           
 
Method Summary
 void addRemark(java.lang.String item)
          Add a 'Remarks' element item.
 void clearRemarks()
          Remove all 'Remarks' element items.
 UniqueID getAgencyAcctNumber()
          Get the 'AgencyAcctNumber' element value.
 Customer getCustomer()
          Get the 'Customer' element value.
 UniqueID getProfileRef()
          Get the 'ProfileRef' element value.
 java.lang.String getRemark(int index)
          Get 'Remarks' element item by position.
 java.util.List<java.lang.String> getRemarks()
          Get the list of 'Remarks' element items.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 void setAgencyAcctNumber(UniqueID agencyAcctNumber)
          Set the 'AgencyAcctNumber' element value.
 void setCustomer(Customer customer)
          Set the 'Customer' element value.
 void setProfileRef(UniqueID profileRef)
          Set the 'ProfileRef' element value.
 void setRemarks(java.util.List<java.lang.String> list)
          Set the list of 'Remarks' element items.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 int sizeRemarks()
          Get the number of 'Remarks' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerInfo

public CustomerInfo()
Method Detail

getCustomer

public Customer getCustomer()
Get the 'Customer' element value. Detailed customer information.

Returns:
value

setCustomer

public void setCustomer(Customer customer)
Set the 'Customer' element value. Detailed customer information.

Parameters:
customer -

getProfileRef

public UniqueID getProfileRef()
Get the 'ProfileRef' element value. Reference to customer's profile.

Returns:
value

setProfileRef

public void setProfileRef(UniqueID profileRef)
Set the 'ProfileRef' element value. Reference to customer's profile.

Parameters:
profileRef -

getRemarks

public java.util.List<java.lang.String> getRemarks()
Get the list of 'Remarks' element items. Free text remarks associated with this customer.

Returns:
list

setRemarks

public void setRemarks(java.util.List<java.lang.String> list)
Set the list of 'Remarks' element items. Free text remarks associated with this customer.

Parameters:
list -

sizeRemarks

public int sizeRemarks()
Get the number of 'Remarks' element items.

Returns:
count

addRemark

public void addRemark(java.lang.String item)
Add a 'Remarks' element item.

Parameters:
item -

getRemark

public java.lang.String getRemark(int index)
Get 'Remarks' element item by position.

Parameters:
index -
Returns:
item

clearRemarks

public void clearRemarks()
Remove all 'Remarks' element items.


getAgencyAcctNumber

public UniqueID getAgencyAcctNumber()
Get the 'AgencyAcctNumber' element value. Agency's reference to this customer.

Returns:
value

setAgencyAcctNumber

public void setAgencyAcctNumber(UniqueID agencyAcctNumber)
Set the 'AgencyAcctNumber' element value. Agency's reference to this customer.

Parameters:
agencyAcctNumber -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. Reference to this customer.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. Reference to this customer.

Parameters:
RPH -