org.ota.vehicle
Class VehicleAvailRQCore.VendorPrefs.VendorPref

java.lang.Object
  extended by org.ota.vehicle.VehicleAvailRQCore.VendorPrefs.VendorPref
Enclosing class:
VehicleAvailRQCore.VendorPrefs

public static class VehicleAvailRQCore.VendorPrefs.VendorPref
extends java.lang.Object

Indicates the preferred Vendor Company for the vehicle rental. If a company name is supplied, the rates will be supplied for the specific Vendor Company. The company name is unique amongst the vendors. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VendorPref" maxOccurs="20">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="ns:CompanyNamePrefType">
         <xs:attribute type="xs:string" use="optional" name="CorpDiscountNmbr"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
VehicleAvailRQCore.VendorPrefs.VendorPref()
           
 
Method Summary
 CompanyNamePref getCompanyNamePref()
          Get the extension value.
 java.lang.String getCorpDiscountNmbr()
          Get the 'CorpDiscountNmbr' attribute value.
 void setCompanyNamePref(CompanyNamePref companyNamePref)
          Set the extension value.
 void setCorpDiscountNmbr(java.lang.String corpDiscountNmbr)
          Set the 'CorpDiscountNmbr' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleAvailRQCore.VendorPrefs.VendorPref

public VehicleAvailRQCore.VendorPrefs.VendorPref()
Method Detail

getCompanyNamePref

public CompanyNamePref getCompanyNamePref()
Get the extension value.

Returns:
value

setCompanyNamePref

public void setCompanyNamePref(CompanyNamePref companyNamePref)
Set the extension value.

Parameters:
companyNamePref -

getCorpDiscountNmbr

public java.lang.String getCorpDiscountNmbr()
Get the 'CorpDiscountNmbr' attribute value. This is the vendor specific code used to identify a special rate associated with a specific organization. Used when multiple vendors have been requested and there is a different code for each.

Returns:
value

setCorpDiscountNmbr

public void setCorpDiscountNmbr(java.lang.String corpDiscountNmbr)
Set the 'CorpDiscountNmbr' attribute value. This is the vendor specific code used to identify a special rate associated with a specific organization. Used when multiple vendors have been requested and there is a different code for each.

Parameters:
corpDiscountNmbr -