org.ota.vehicle
Class VehicleAvailVendorInfo

java.lang.Object
  extended by org.ota.vehicle.VehicleAvailVendorInfo

public class VehicleAvailVendorInfo
extends java.lang.Object

The VehicleAvailVendorInfoType complex type identifies the data that describes supplemental information relevant to a vendor and made available at the time that availability and rates are checked. 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="VehicleAvailVendorInfoType">
   <xs:sequence>
     <xs:element type="ns:VendorMessagesType" name="VendorMessages" minOccurs="0"/>
     <xs:element type="ns:OffLocationServicePricedType" name="OffLocServices" minOccurs="0" maxOccurs="4"/>
     <xs:element type="ns:PaymentRulesType" name="PaymentRules" minOccurs="0"/>
     <xs:element type="ns:VehicleLocationDetailsType" name="LocationDetails" minOccurs="0" maxOccurs="2"/>
     <xs:element name="TourInfo" minOccurs="0">
       <!-- Reference to inner class TourInfo -->
     </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 VehicleAvailVendorInfo.TourInfo
          Details of a tour with which this availability information is associated.
 
Constructor Summary
VehicleAvailVendorInfo()
           
 
Method Summary
 void addLocationDetail(VehicleLocationDetails item)
          Add a 'LocationDetails' element item.
 void addOffLocService(OffLocationServicePriced item)
          Add a 'OffLocServices' element item.
 void clearLocationDetails()
          Remove all 'LocationDetails' element items.
 void clearOffLocServices()
          Remove all 'OffLocServices' element items.
 VehicleLocationDetails getLocationDetail(int index)
          Get 'LocationDetails' element item by position.
 java.util.List<VehicleLocationDetails> getLocationDetails()
          Get the list of 'LocationDetails' element items.
 OffLocationServicePriced getOffLocService(int index)
          Get 'OffLocServices' element item by position.
 java.util.List<OffLocationServicePriced> getOffLocServices()
          Get the list of 'OffLocServices' element items.
 PaymentRules getPaymentRules()
          Get the 'PaymentRules' element value.
 VehicleAvailVendorInfo.TourInfo getTourInfo()
          Get the 'TourInfo' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 VendorMessages getVendorMessages()
          Get the 'VendorMessages' element value.
 void setLocationDetails(java.util.List<VehicleLocationDetails> list)
          Set the list of 'LocationDetails' element items.
 void setOffLocServices(java.util.List<OffLocationServicePriced> list)
          Set the list of 'OffLocServices' element items.
 void setPaymentRules(PaymentRules paymentRules)
          Set the 'PaymentRules' element value.
 void setTourInfo(VehicleAvailVendorInfo.TourInfo tourInfo)
          Set the 'TourInfo' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setVendorMessages(VendorMessages vendorMessages)
          Set the 'VendorMessages' element value.
 int sizeLocationDetails()
          Get the number of 'LocationDetails' element items.
 int sizeOffLocServices()
          Get the number of 'OffLocServices' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleAvailVendorInfo

public VehicleAvailVendorInfo()
Method Detail

getVendorMessages

public VendorMessages getVendorMessages()
Get the 'VendorMessages' element value. A collection of free-format messages associated with this vendor.

Returns:
value

setVendorMessages

public void setVendorMessages(VendorMessages vendorMessages)
Set the 'VendorMessages' element value. A collection of free-format messages associated with this vendor.

Parameters:
vendorMessages -

getOffLocServices

public java.util.List<OffLocationServicePriced> getOffLocServices()
Get the list of 'OffLocServices' element items. Information on off-airport location services, for example, vehicle delivery, customer pickup, along with the associated price.

Returns:
list

setOffLocServices

public void setOffLocServices(java.util.List<OffLocationServicePriced> list)
Set the list of 'OffLocServices' element items. Information on off-airport location services, for example, vehicle delivery, customer pickup, along with the associated price.

Parameters:
list -

sizeOffLocServices

public int sizeOffLocServices()
Get the number of 'OffLocServices' element items.

Returns:
count

addOffLocService

public void addOffLocService(OffLocationServicePriced item)
Add a 'OffLocServices' element item.

Parameters:
item -

getOffLocService

public OffLocationServicePriced getOffLocService(int index)
Get 'OffLocServices' element item by position.

Parameters:
index -
Returns:
item

clearOffLocServices

public void clearOffLocServices()
Remove all 'OffLocServices' element items.


getPaymentRules

public PaymentRules getPaymentRules()
Get the 'PaymentRules' element value. A collection of payment rules associated with this reservation. This instance of PaymentRules would be used if there were payment rules that were applicable, regardless of the vehicle.

Returns:
value

setPaymentRules

public void setPaymentRules(PaymentRules paymentRules)
Set the 'PaymentRules' element value. A collection of payment rules associated with this reservation. This instance of PaymentRules would be used if there were payment rules that were applicable, regardless of the vehicle.

Parameters:
paymentRules -

getLocationDetails

public java.util.List<VehicleLocationDetails> getLocationDetails()
Get the list of 'LocationDetails' element items. Detailed information about the associated rental facilities, for example, address, phone number, hours of operation.

Returns:
list

setLocationDetails

public void setLocationDetails(java.util.List<VehicleLocationDetails> list)
Set the list of 'LocationDetails' element items. Detailed information about the associated rental facilities, for example, address, phone number, hours of operation.

Parameters:
list -

sizeLocationDetails

public int sizeLocationDetails()
Get the number of 'LocationDetails' element items.

Returns:
count

addLocationDetail

public void addLocationDetail(VehicleLocationDetails item)
Add a 'LocationDetails' element item.

Parameters:
item -

getLocationDetail

public VehicleLocationDetails getLocationDetail(int index)
Get 'LocationDetails' element item by position.

Parameters:
index -
Returns:
item

clearLocationDetails

public void clearLocationDetails()
Remove all 'LocationDetails' element items.


getTourInfo

public VehicleAvailVendorInfo.TourInfo getTourInfo()
Get the 'TourInfo' element value.

Returns:
value

setTourInfo

public void setTourInfo(VehicleAvailVendorInfo.TourInfo tourInfo)
Set the 'TourInfo' element value.

Parameters:
tourInfo -

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 -