org.ota.shared
Class Verification

java.lang.Object
  extended by org.ota.shared.Verification
Direct Known Subclasses:
HotelResModify.HotelResModifyInner.Verification

public class Verification
extends java.lang.Object

Collection of data used to ensure the correct reservation is canceled or modified (e.g. in the case of a hotel reservation modification, a CustLoyalty/ MembershipID would be verified as part of the reservation that you plan to modify to ensure the correct reservation is being modified). 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="VerificationType">
   <xs:sequence>
     <xs:element name="PersonName" minOccurs="0">
       <!-- Reference to inner class PersonName -->
     </xs:element>
     <xs:element type="ns:EmailType" name="Email" minOccurs="0"/>
     <xs:element name="TelephoneInfo" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:TelephoneInfoGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:PaymentCardType" name="PaymentCard" minOccurs="0"/>
     <xs:element type="ns:AddressInfoType" name="AddressInfo" minOccurs="0"/>
     <xs:element name="CustLoyalty" minOccurs="0" maxOccurs="5">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CustomerLoyaltyGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:CompanyNameType" name="Vendor" minOccurs="0" maxOccurs="5"/>
     <xs:element name="ReservationTimeSpan" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="AssociatedQuantity" minOccurs="0" maxOccurs="5">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CodeListGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="StartLocation" minOccurs="0">
       <!-- Reference to inner class StartLocation -->
     </xs:element>
     <xs:element name="EndLocation" minOccurs="0">
       <!-- Reference to inner class EndLocation -->
     </xs:element>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
   </xs:sequence>
 </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"/>
 


Nested Class Summary
static class Verification.EndLocation
          End location associated with the reservation.
static class Verification.PersonName
          Detailed name information.
static class Verification.StartLocation
          Start location associated with the reservation.
 
Constructor Summary
Verification()
           
 
Method Summary
 void addAssociatedQuantity(CodeListGroup item)
          Add a 'AssociatedQuantity' element item.
 void addCustLoyalty(CustomerLoyaltyGroup item)
          Add a 'CustLoyalty' element item.
 void addVendor(CompanyName item)
          Add a 'Vendor' element item.
 void clearAssociatedQuantities()
          Remove all 'AssociatedQuantity' element items.
 void clearCustLoyalties()
          Remove all 'CustLoyalty' element items.
 void clearVendors()
          Remove all 'Vendor' element items.
 AddressInfo getAddressInfo()
          Get the 'AddressInfo' element value.
 java.util.List<CodeListGroup> getAssociatedQuantities()
          Get the list of 'AssociatedQuantity' element items.
 CodeListGroup getAssociatedQuantity(int index)
          Get 'AssociatedQuantity' element item by position.
 java.util.List<CustomerLoyaltyGroup> getCustLoyalties()
          Get the list of 'CustLoyalty' element items.
 CustomerLoyaltyGroup getCustLoyalty(int index)
          Get 'CustLoyalty' element item by position.
 Email getEmail()
          Get the 'Email' element value.
 Verification.EndLocation getEndLocation()
          Get the 'EndLocation' element value.
 PaymentCard getPaymentCard()
          Get the 'PaymentCard' element value.
 Verification.PersonName getPersonName()
          Get the 'PersonName' element value.
 DateTimeSpanGroup getReservationTimeSpan()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 Verification.StartLocation getStartLocation()
          Get the 'StartLocation' element value.
 TelephoneInfoGroup getTelephoneInfo()
          Get the 'TelephoneInfoGroup' attributeGroup value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 CompanyName getVendor(int index)
          Get 'Vendor' element item by position.
 java.util.List<CompanyName> getVendors()
          Get the list of 'Vendor' element items.
 void setAddressInfo(AddressInfo addressInfo)
          Set the 'AddressInfo' element value.
 void setAssociatedQuantities(java.util.List<CodeListGroup> list)
          Set the list of 'AssociatedQuantity' element items.
 void setCustLoyalties(java.util.List<CustomerLoyaltyGroup> list)
          Set the list of 'CustLoyalty' element items.
 void setEmail(Email email)
          Set the 'Email' element value.
 void setEndLocation(Verification.EndLocation endLocation)
          Set the 'EndLocation' element value.
 void setPaymentCard(PaymentCard paymentCard)
          Set the 'PaymentCard' element value.
 void setPersonName(Verification.PersonName personName)
          Set the 'PersonName' element value.
 void setReservationTimeSpan(DateTimeSpanGroup reservationTimeSpan)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setStartLocation(Verification.StartLocation startLocation)
          Set the 'StartLocation' element value.
 void setTelephoneInfo(TelephoneInfoGroup telephoneInfo)
          Set the 'TelephoneInfoGroup' attributeGroup value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setVendors(java.util.List<CompanyName> list)
          Set the list of 'Vendor' element items.
 int sizeAssociatedQuantities()
          Get the number of 'AssociatedQuantity' element items.
 int sizeCustLoyalties()
          Get the number of 'CustLoyalty' element items.
 int sizeVendors()
          Get the number of 'Vendor' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Verification

public Verification()
Method Detail

getPersonName

public Verification.PersonName getPersonName()
Get the 'PersonName' element value.

Returns:
value

setPersonName

public void setPersonName(Verification.PersonName personName)
Set the 'PersonName' element value.

Parameters:
personName -

getEmail

public Email getEmail()
Get the 'Email' element value. Information on an email address.

Returns:
value

setEmail

public void setEmail(Email email)
Set the 'Email' element value. Information on an email address.

Parameters:
email -

getTelephoneInfo

public TelephoneInfoGroup getTelephoneInfo()
Get the 'TelephoneInfoGroup' attributeGroup value. Information about a telephone number, including the actual number and its usage.

Returns:
value

setTelephoneInfo

public void setTelephoneInfo(TelephoneInfoGroup telephoneInfo)
Set the 'TelephoneInfoGroup' attributeGroup value. Information about a telephone number, including the actual number and its usage.

Parameters:
telephoneInfo -

getPaymentCard

public PaymentCard getPaymentCard()
Get the 'PaymentCard' element value. Payment Card information.

Returns:
value

setPaymentCard

public void setPaymentCard(PaymentCard paymentCard)
Set the 'PaymentCard' element value. Payment Card information.

Parameters:
paymentCard -

getAddressInfo

public AddressInfo getAddressInfo()
Get the 'AddressInfo' element value. Detailed information on an address.

Returns:
value

setAddressInfo

public void setAddressInfo(AddressInfo addressInfo)
Set the 'AddressInfo' element value. Detailed information on an address.

Parameters:
addressInfo -

getCustLoyalties

public java.util.List<CustomerLoyaltyGroup> getCustLoyalties()
Get the list of 'CustLoyalty' element items. Loyalty program information.

Returns:
list

setCustLoyalties

public void setCustLoyalties(java.util.List<CustomerLoyaltyGroup> list)
Set the list of 'CustLoyalty' element items. Loyalty program information.

Parameters:
list -

sizeCustLoyalties

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

Returns:
count

addCustLoyalty

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

Parameters:
item -

getCustLoyalty

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

Parameters:
index -
Returns:
item

clearCustLoyalties

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


getVendors

public java.util.List<CompanyName> getVendors()
Get the list of 'Vendor' element items. Vendor or vendors associated with the reservation.

Returns:
list

setVendors

public void setVendors(java.util.List<CompanyName> list)
Set the list of 'Vendor' element items. Vendor or vendors associated with the reservation.

Parameters:
list -

sizeVendors

public int sizeVendors()
Get the number of 'Vendor' element items.

Returns:
count

addVendor

public void addVendor(CompanyName item)
Add a 'Vendor' element item.

Parameters:
item -

getVendor

public CompanyName getVendor(int index)
Get 'Vendor' element item by position.

Parameters:
index -
Returns:
item

clearVendors

public void clearVendors()
Remove all 'Vendor' element items.


getReservationTimeSpan

public DateTimeSpanGroup getReservationTimeSpan()
Get the 'DateTimeSpanGroup' attributeGroup value. The start and end date of the reservation.

Returns:
value

setReservationTimeSpan

public void setReservationTimeSpan(DateTimeSpanGroup reservationTimeSpan)
Set the 'DateTimeSpanGroup' attributeGroup value. The start and end date of the reservation.

Parameters:
reservationTimeSpan -

getAssociatedQuantities

public java.util.List<CodeListGroup> getAssociatedQuantities()
Get the list of 'AssociatedQuantity' element items. Quantity or quantities that are associated with the reservation (e.g., number of seats, number of rooms, number of people).

Returns:
list

setAssociatedQuantities

public void setAssociatedQuantities(java.util.List<CodeListGroup> list)
Set the list of 'AssociatedQuantity' element items. Quantity or quantities that are associated with the reservation (e.g., number of seats, number of rooms, number of people).

Parameters:
list -

sizeAssociatedQuantities

public int sizeAssociatedQuantities()
Get the number of 'AssociatedQuantity' element items.

Returns:
count

addAssociatedQuantity

public void addAssociatedQuantity(CodeListGroup item)
Add a 'AssociatedQuantity' element item.

Parameters:
item -

getAssociatedQuantity

public CodeListGroup getAssociatedQuantity(int index)
Get 'AssociatedQuantity' element item by position.

Parameters:
index -
Returns:
item

clearAssociatedQuantities

public void clearAssociatedQuantities()
Remove all 'AssociatedQuantity' element items.


getStartLocation

public Verification.StartLocation getStartLocation()
Get the 'StartLocation' element value.

Returns:
value

setStartLocation

public void setStartLocation(Verification.StartLocation startLocation)
Set the 'StartLocation' element value.

Parameters:
startLocation -

getEndLocation

public Verification.EndLocation getEndLocation()
Get the 'EndLocation' element value.

Returns:
value

setEndLocation

public void setEndLocation(Verification.EndLocation endLocation)
Set the 'EndLocation' element value.

Parameters:
endLocation -

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 -