Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   
   package org.jibx.schema.org.opentravel._2012A.fastrez;
   
   import java.util.ArrayList;
   import java.util.List;
The reservation request message is used to request a reservation booking. This message MAY be preceded by an availability request in order to obtain information REQUIRED for booking. 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="OTA_HotelResRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="POS">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="Source">
               <xs:complexType>
                 <xs:sequence>
                   <xs:element name="RequestorID">
                     <xs:complexType>
                       <xs:attribute type="xs:string" use="required" name="Type"/>
                       <xs:attribute type="xs:string" use="required" name="ID"/>
                       <xs:attribute type="xs:string" use="required" name="ID_Context"/>
                     </xs:complexType>
                   </xs:element>
                 </xs:sequence>
                 <xs:attribute type="xs:string" use="required" name="ISOCountry"/>
                 <xs:attribute type="xs:string" use="required" name="ISOCurrency"/>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
       <xs:element name="HotelReservations">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="HotelReservation">
               <xs:complexType>
                 <xs:sequence>
                   <xs:element name="RoomStays">
                     <xs:complexType>
                       <xs:sequence>
                         <xs:element name="RoomStay">
                           <xs:complexType>
                             <xs:sequence>
                               <xs:element name="RoomTypes" minOccurs="0">
                                 <!-- Reference to inner class RoomTypes -->
                               </xs:element>
                               <xs:element name="RoomRates">
                                 <xs:complexType>
                                   <xs:sequence>
                                     <xs:element name="RoomRate" maxOccurs="30">
                                       <!-- Reference to inner class RoomRate -->
                                     </xs:element>
                                   </xs:sequence>
                                 </xs:complexType>
                               </xs:element>
                               <xs:element name="GuestCounts">
                                 <xs:complexType>
                                   <xs:sequence>
                                     <xs:element name="GuestCount" maxOccurs="10">
                                       <!-- Reference to inner class GuestCount -->
                                     </xs:element>
                                   </xs:sequence>
                                 </xs:complexType>
                               </xs:element>
                               <xs:element name="BasicPropertyInfo">
                                 <xs:complexType>
                                   <xs:attribute type="xs:string" use="optional" name="ChainCode"/>
                                   <xs:attribute type="xs:string" use="optional" name="BrandCode"/>
                                   <xs:attribute type="xs:string" use="required" name="HotelCode"/>
                                 </xs:complexType>
                               </xs:element>
                             </xs:sequence>
                           </xs:complexType>
                         </xs:element>
                       </xs:sequence>
                     </xs:complexType>
                   </xs:element>
                   <xs:element name="ResGuests">
                     <xs:complexType>
                       <xs:sequence>
                         <xs:element name="ResGuest" maxOccurs="10">
                           <!-- Reference to inner class ResGuest -->
                         </xs:element>
                       </xs:sequence>
                     </xs:complexType>
                   </xs:element>
                   <xs:element name="ResGlobalInfo">
                     <xs:complexType>
                       <xs:sequence>
                         <xs:element name="TimeSpan">
                           <xs:complexType>
                             <xs:attribute type="xs:string" use="required" name="Start"/>
                             <xs:attribute type="xs:string" use="required" name="End"/>
                           </xs:complexType>
                         </xs:element>
                         <xs:element name="Comments" minOccurs="0">
                           <!-- Reference to inner class Comments -->
                         </xs:element>
                         <xs:element name="Guarantee">
                           <xs:complexType>
                             <xs:sequence>
                               <xs:element name="GuaranteesAccepted" minOccurs="0">
                                 <!-- Reference to inner class GuaranteesAccepted -->
                               </xs:element>
                             </xs:sequence>
                             <xs:attribute use="required" name="GuaranteeType">
                               <xs:simpleType>
                                 <!-- Reference to inner class Guarantee -->
                               </xs:simpleType>
                             </xs:attribute>
                           </xs:complexType>
                         </xs:element>
                         <xs:element name="HotelReservationIDs" minOccurs="0">
                           <!-- Reference to inner class HotelReservationIDs -->
                         </xs:element>
                       </xs:sequence>
                     </xs:complexType>
                   </xs:element>
                 </xs:sequence>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="EchoToken"/>
     <xs:attribute type="xs:dateTime" use="required" name="TimeStamp"/>
     <xs:attribute type="xs:float" use="required" name="Version"/>
     <xs:attribute type="xs:string" use="required" name="PrimaryLangID"/>
   </xs:complexType>
 </xs:element>
 
 
 public class HotelResRQ
 {
     private String POSSourceRequestorID;
     private String POSSourceRequestorIDID;
     private String POSSourceISOCountry;
     private String POSSourceISOCurrency;
     private RoomTypes roomTypes;
     private Comments comments;
     private String echoToken;
     private DateTime timeStamp;
     private Float version;
     private String primaryLangID;

    
Get the 'Type' attribute value. The Type identifies the ID and MUST refer to OpenTravel Code List Unique ID Type (UIT).

Returns:
value
 
     public String getPOSSourceRequestorIDType() {
         return ;
     }

    
Set the 'Type' attribute value. The Type identifies the ID and MUST refer to OpenTravel Code List Unique ID Type (UIT).

Parameters:
POSSourceRequestorIDType
 
     public void setPOSSourceRequestorIDType(String POSSourceRequestorIDType) {
          = POSSourceRequestorIDType;
     }

    
Get the 'ID' attribute value. ID MUST contain a unique identifying value for the requestor within the scope of the ID_Context.

Returns:
value
 
     public String getPOSSourceRequestorIDID() {
         return ;
     }

    
Set the 'ID' attribute value. ID MUST contain a unique identifying value for the requestor within the scope of the ID_Context.

Parameters:
POSSourceRequestorIDID
 
     public void setPOSSourceRequestorIDID(String POSSourceRequestorIDID) {
         this. = POSSourceRequestorIDID;
     }

    
Get the 'ID_Context' attribute value. ID_Context MUST identify the authoritative source of the ID (e.g., IATA, ABTA).

Returns:
value
 
         return ;
     }

    
Set the 'ID_Context' attribute value. ID_Context MUST identify the authoritative source of the ID (e.g., IATA, ABTA).

Parameters:
POSSourceRequestorIDIDContext
 
     public void setPOSSourceRequestorIDIDContext(
             String POSSourceRequestorIDIDContext) {
         this. = POSSourceRequestorIDIDContext;
     }

    
Get the 'ISOCountry' attribute value. ISOCountry identifies the country code of the requesting party and MUST conform to ISO-3166. The country code of the requesting party MAY be used to refine responses therefore it SHOULD reflect the origin of the Guest.

Returns:
value
 
     public String getPOSSourceISOCountry() {
         return ;
     }

    
Set the 'ISOCountry' attribute value. ISOCountry identifies the country code of the requesting party and MUST conform to ISO-3166. The country code of the requesting party MAY be used to refine responses therefore it SHOULD reflect the origin of the Guest.

Parameters:
POSSourceISOCountry
 
     public void setPOSSourceISOCountry(String POSSourceISOCountry) {
         this. = POSSourceISOCountry;
     }

    
Get the 'ISOCurrency' attribute value. ISOCurrency MUST conform to ISO 4217, 3 character codes. OpenTravel RECOMMENDS that the same currency code be used in the response, but responses MAY be returned in any valid currency.

Returns:
value
 
     public String getPOSSourceISOCurrency() {
         return ;
     }

    
Set the 'ISOCurrency' attribute value. ISOCurrency MUST conform to ISO 4217, 3 character codes. OpenTravel RECOMMENDS that the same currency code be used in the response, but responses MAY be returned in any valid currency.

Parameters:
POSSourceISOCurrency
 
     public void setPOSSourceISOCurrency(String POSSourceISOCurrency) {
         this. = POSSourceISOCurrency;
     }

    
Get the 'RoomTypes' element value. RoomStay MUST contain the details of the Room Stay.

Returns:
value
 
     public RoomTypes getRoomTypes() {
         return ;
     }

    
Set the 'RoomTypes' element value. RoomStay MUST contain the details of the Room Stay.

Parameters:
roomTypes
 
     public void setRoomTypes(RoomTypes roomTypes) {
         this. = roomTypes;
     }

    
Get the list of 'RoomRate' element items. A collection of Room Rates associated with a particular Room Stay. The combination of a given Rate Plan and Room Type. This allows for support for systems where Rate Plans are child of Room Type as well as systems which Room Types are child of Rate Plans.

Returns:
list
 
         return ;
     }

    
Set the list of 'RoomRate' element items. A collection of Room Rates associated with a particular Room Stay. The combination of a given Rate Plan and Room Type. This allows for support for systems where Rate Plans are child of Room Type as well as systems which Room Types are child of Rate Plans.

Parameters:
list
 
     public void setHotelReservationsRoomRateList(List<RoomRatelist) {
          = list;
     }

    
Get the number of 'RoomRate' element items.

Returns:
count
 
     public int sizeHotelReservationsRoomRateList() {
         return .size();
     }

    
Add a 'RoomRate' element item.

Parameters:
item
 
     public void addHotelReservationsRoomRate(RoomRate item) {
         .add(item);
     }

    
Get 'RoomRate' element item by position.

Parameters:
index
Returns:
item
 
     public RoomRate getHotelReservationsRoomRate(int index) {
         return .get(index);
     }

    
Remove all 'RoomRate' element items.
 
     public void clearHotelReservationsRoomRateList() {
     }

    
Get the list of 'GuestCount' element items. GuestCounts contains a collection of GuestCount elements that MUST identify the number of guests for the reservation.

Returns:
list
 
         return ;
     }

    
Set the list of 'GuestCount' element items. GuestCounts contains a collection of GuestCount elements that MUST identify the number of guests for the reservation.

Parameters:
list
 
     public void setHotelReservationsGuestCountList(List<GuestCountlist) {
          = list;
     }

    
Get the number of 'GuestCount' element items.

Returns:
count
 
     public int sizeHotelReservationsGuestCountList() {
         return .size();
     }

    
Add a 'GuestCount' element item.

Parameters:
item
 
     public void addHotelReservationsGuestCount(GuestCount item) {
         .add(item);
     }

    
Get 'GuestCount' element item by position.

Parameters:
index
Returns:
item
 
     public GuestCount getHotelReservationsGuestCount(int index) {
         return .get(index);
     }

    
Remove all 'GuestCount' element items.
 
     public void clearHotelReservationsGuestCountList() {
     }

    
Get the 'ChainCode' attribute value. The ChainCode MAY identify a hotel chain or management group (e.g. Hyatt, Hilton, Marriott). The hotel chain code is decided between vendors and is OPTIONAL if the hotel is an independent property that can be identified by the HotelCode attribute alone.

Returns:
value
 
     }

    
Set the 'ChainCode' attribute value. The ChainCode MAY identify a hotel chain or management group (e.g. Hyatt, Hilton, Marriott). The hotel chain code is decided between vendors and is OPTIONAL if the hotel is an independent property that can be identified by the HotelCode attribute alone.

Parameters:
hotelReservationsBasicPropertyInfoChainCode
 
             String hotelReservationsBasicPropertyInfoChainCode) {
         this. = hotelReservationsBasicPropertyInfoChainCode;
     }

    
Get the 'BrandCode' attribute value. The BrandCode MAY identify the brand within a chain (e.g., Courtyard, Hampton Inn). This code is OPTIONAL if the hotel is an independent property that can be identified by the HotelCode attribute alone.

Returns:
value
 
     }

    
Set the 'BrandCode' attribute value. The BrandCode MAY identify the brand within a chain (e.g., Courtyard, Hampton Inn). This code is OPTIONAL if the hotel is an independent property that can be identified by the HotelCode attribute alone.

Parameters:
hotelReservationsBasicPropertyInfoBrandCode
 
             String hotelReservationsBasicPropertyInfoBrandCode) {
         this. = hotelReservationsBasicPropertyInfoBrandCode;
     }

    
Get the 'HotelCode' attribute value. The HotelCode MUST uniquely identify a single hotel property for the reservation. The HotelCode MAY be used in conjunction with the ChainCode and BrandCode in order to uniquely identify the hotel property. The hotel code is decided between vendors.

Returns:
value
 
     }

    
Set the 'HotelCode' attribute value. The HotelCode MUST uniquely identify a single hotel property for the reservation. The HotelCode MAY be used in conjunction with the ChainCode and BrandCode in order to uniquely identify the hotel property. The hotel code is decided between vendors.

Parameters:
hotelReservationsBasicPropertyInfoHotelCode
 
             String hotelReservationsBasicPropertyInfoHotelCode) {
         this. = hotelReservationsBasicPropertyInfoHotelCode;
     }

    
Get the list of 'ResGuest' element items. The ResGuests container allows for future expansion of the message.

Returns:
list
 
         return ;
     }

    
Set the list of 'ResGuest' element items. The ResGuests container allows for future expansion of the message.

Parameters:
list
 
     public void setHotelReservationsResGuestList(List<ResGuestlist) {
          = list;
     }

    
Get the number of 'ResGuest' element items.

Returns:
count
 
     public int sizeHotelReservationsResGuestList() {
         return .size();
     }

    
Add a 'ResGuest' element item.

Parameters:
item
 
     public void addHotelReservationsResGuest(ResGuest item) {
         .add(item);
     }

    
Get 'ResGuest' element item by position.

Parameters:
index
Returns:
item
 
     public ResGuest getHotelReservationsResGuest(int index) {
         return .get(index);
     }

    
Remove all 'ResGuest' element items.
 
     public void clearHotelReservationsResGuestList() {
     }

    
Get the 'Start' attribute value. Start MUST specify the arrival date for the booking as a whole.

Returns:
value
 
         return ;
     }

    
Set the 'Start' attribute value. Start MUST specify the arrival date for the booking as a whole.

Parameters:
hotelReservationsTimeSpanStart
 
     public void setHotelReservationsTimeSpanStart(
             String hotelReservationsTimeSpanStart) {
         this. = hotelReservationsTimeSpanStart;
     }

    
Get the 'End' attribute value. End MUST specify the departure date for the booking as a whole.

Returns:
value
 
         return ;
     }

    
Set the 'End' attribute value. End MUST specify the departure date for the booking as a whole.

Parameters:
hotelReservationsTimeSpanEnd
 
     public void setHotelReservationsTimeSpanEnd(
             String hotelReservationsTimeSpanEnd) {
         this. = hotelReservationsTimeSpanEnd;
     }

    
Get the 'Comments' element value. ResGlobalInfo is a container for various information that applies to the Reservation as a whole.

Returns:
value
 
     public Comments getComments() {
         return ;
     }

    
Set the 'Comments' element value. ResGlobalInfo is a container for various information that applies to the Reservation as a whole.

Parameters:
comments
 
     public void setComments(Comments comments) {
         this. = comments;
     }

    
Get the 'GuaranteesAccepted' element value. Guarantee MUST specify the guarantee information for the Reservation.

Returns:
value
 
         return ;
     }

    
Set the 'GuaranteesAccepted' element value. Guarantee MUST specify the guarantee information for the Reservation.

Parameters:
guaranteesAccepted
 
     public void setGuaranteesAccepted(GuaranteesAccepted guaranteesAccepted) {
         this. = guaranteesAccepted;
     }

    
Get the 'GuaranteeType' attribute value. GuaranteeType MUST specify the guarantee type for this reservation.

Returns:
value
 
         return ;
     }

    
Set the 'GuaranteeType' attribute value. GuaranteeType MUST specify the guarantee type for this reservation.

Parameters:
hotelReservationsGuaranteeGuarantee
 
             Guarantee hotelReservationsGuaranteeGuarantee) {
         this. = hotelReservationsGuaranteeGuarantee;
     }

    
Get the 'HotelReservationIDs' element value. ResGlobalInfo is a container for various information that applies to the Reservation as a whole.

Returns:
value
 
         return ;
     }

    
Set the 'HotelReservationIDs' element value. ResGlobalInfo is a container for various information that applies to the Reservation as a whole.

Parameters:
hotelReservationIDs
 
     public void setHotelReservationIDs(HotelReservationIDs hotelReservationIDs) {
         this. = hotelReservationIDs;
     }

    
Get the 'EchoToken' attribute value. EchoToken MAY provide a reference for additional message identification, assigned by the requesting host system. This attribute SHOULD NOT be used to maintain state, but SHOULD only be used for diagnostic purposes. When a request message includes an echo token the corresponding response message MUST include an echo token with an identical value.

Returns:
value
 
     public String getEchoToken() {
         return ;
     }

    
Set the 'EchoToken' attribute value. EchoToken MAY provide a reference for additional message identification, assigned by the requesting host system. This attribute SHOULD NOT be used to maintain state, but SHOULD only be used for diagnostic purposes. When a request message includes an echo token the corresponding response message MUST include an echo token with an identical value.

Parameters:
echoToken
 
     public void setEchoToken(String echoToken) {
         this. = echoToken;
     }

    
Get the 'TimeStamp' attribute value. TimeStamp MUST indicate the creation date and time of the message in UTC using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ssZ with time values using the 24 hour clock (e.g. 20 November 2003, 1:59:38 pm UTC becomes 2003-11-20T13:59:38Z).

Returns:
value
 
     public DateTime getTimeStamp() {
         return ;
     }

    
Set the 'TimeStamp' attribute value. TimeStamp MUST indicate the creation date and time of the message in UTC using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ssZ with time values using the 24 hour clock (e.g. 20 November 2003, 1:59:38 pm UTC becomes 2003-11-20T13:59:38Z).

Parameters:
timeStamp
 
     public void setTimeStamp(DateTime timeStamp) {
         this. = timeStamp;
     }

    
Get the 'Version' attribute value. Version MUST be consistent with the underlying schema baseline.

Returns:
value
 
     public Float getVersion() {
         return ;
     }

    
Set the 'Version' attribute value. Version MUST be consistent with the underlying schema baseline.

Parameters:
version
 
     public void setVersion(Float version) {
         this. = version;
     }

    
Get the 'PrimaryLangID' attribute value. Primary Language code MUST conform to ISO 639 language codes. The code MUST define the language of the request. FastRez RECOMMENDS that the response should match the request, but a response MAY use any language recognized by ISO 639.

Returns:
value
 
     public String getPrimaryLangID() {
         return ;
     }

    
Set the 'PrimaryLangID' attribute value. Primary Language code MUST conform to ISO 639 language codes. The code MUST define the language of the request. FastRez RECOMMENDS that the response should match the request, but a response MAY use any language recognized by ISO 639.

Parameters:
primaryLangID
 
     public void setPrimaryLangID(String primaryLangID) {
         this. = primaryLangID;
     }
    
The RoomTypes container allows for future expansion of the message. RoomType MAY be sent to specify bed type and smoking preference for the reservation. 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="RoomTypes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RoomType">
         <xs:complexType>
           <xs:attribute type="ns:ListOfOTA_CodeType" use="optional" name="BedTypeCode"/>
           <xs:attribute type="xs:boolean" use="optional" name="NonSmoking"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
 <xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ListOfOTA_CodeType">
   <xs:list itemType="xs:string"/>
 </xs:simpleType>
 
 
     public static class RoomTypes
     {
         private List<StringroomBedTypeCodes = new ArrayList<String>();
         private Boolean roomNonSmoking;

        
Get the list of 'BedTypeCode' attribute items. BedTypeCode MUST specify the type of bed(s) requested for the reservation. Typical values would be Double, Twin, Queen, or King. Refer to OpenTravel Code List Bed Type Code (BED).

Returns:
list
 
         public List<StringgetRoomBedTypeCodes() {
             return ;
         }

        
Set the list of 'BedTypeCode' attribute items. BedTypeCode MUST specify the type of bed(s) requested for the reservation. Typical values would be Double, Twin, Queen, or King. Refer to OpenTravel Code List Bed Type Code (BED).

Parameters:
list
 
         public void setRoomBedTypeCodes(List<Stringlist) {
              = list;
         }

        
Serializer for 'BedTypeCode' attribute list.

Parameters:
values
Returns:
text
 
         public static String serializeRoomBedTypeCodes(List<Stringvalues) {
             if (values == null) {
                 return null;
             } else {
                 java.lang.StringBuffer buff = new java.lang.StringBuffer();
                 for (java.util.Iterator<Stringiter = values.iterator(); iter
                         .hasNext();) {
                     if (buff.length() > 0) {
                         buff.append(' ');
                     }
                     String value = iter.next();
                     buff.append(value);
                 }
                 return buff.toString();
             }
         }

        
Deserializer for 'BedTypeCode' attribute list.

Parameters:
text
Returns:
values
Throws:
org.jibx.runtime.JiBXException on conversion error
 
         public static List<StringdeserializeRoomBedTypeCodes(String text)
                 throws org.jibx.runtime.JiBXException {
             org.jibx.runtime.IListItemDeserializer ldser = new org.jibx.runtime.IListItemDeserializer() {
                 public java.lang.Object deserialize(String text) {
                     return text;
                 }
             };
             return (List<String>) org.jibx.runtime.Utility.deserializeList(
                     textldser);
         }

        
Get the number of 'BedTypeCode' attribute items.

Returns:
count
 
         public int sizeRoomBedTypeCodes() {
             return .size();
         }

        
Add a 'BedTypeCode' attribute item.

Parameters:
item
 
         public void addRoomBedTypeCode(String item) {
             .add(item);
         }

        
Get 'BedTypeCode' attribute item by position.

Parameters:
index
Returns:
item
 
         public String getRoomBedTypeCode(int index) {
             return .get(index);
         }

        
Remove all 'BedTypeCode' attribute items.
 
         public void clearRoomBedTypeCodes() {
             .clear();
         }

        
Get the 'NonSmoking' attribute value. The NonSmoking indicator MUST be set to true in order to request a non-smoking room.

Returns:
value
 
         public Boolean getRoomNonSmoking() {
             return ;
         }

        
Set the 'NonSmoking' attribute value. The NonSmoking indicator MUST be set to true in order to request a non-smoking room.

Parameters:
roomNonSmoking
 
         public void setRoomNonSmoking(Boolean roomNonSmoking) {
             this. = roomNonSmoking;
         }
     }
    
RoomRate MUST identify a specific room rate to be booked. 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="RoomRate" maxOccurs="30">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Rates" minOccurs="0">
         <!-- Reference to inner class Rates -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:date" use="required" name="EffectiveDate"/>
     <xs:attribute type="xs:date" use="required" name="ExpireDate"/>
     <xs:attribute type="xs:boolean" use="required" name="ExpireDateExclusiveIndicator"/>
     <xs:attribute type="xs:string" use="required" name="RoomTypeCode"/>
     <xs:attribute type="xs:string" use="required" name="RatePlanCode"/>
     <xs:attribute type="xs:string" use="optional" name="PromotionCode"/>
   </xs:complexType>
 </xs:element>
 
 
     public static class RoomRate
     {
         private Rates rates;
         private LocalDate effectiveDate;
         private LocalDate expireDate;
         private Boolean expireDateExclusiveIndicator;
         private String roomTypeCode;
         private String ratePlanCode;
         private String promotionCode;

        
Get the 'Rates' element value.

Returns:
value
 
         public Rates getRates() {
             return ;
         }

        
Set the 'Rates' element value.

Parameters:
rates
 
         public void setRates(Rates rates) {
             this. = rates;
         }

        
Get the 'EffectiveDate' attribute value. EffectiveDate MUST indicate the starting date for this RoomRate.

Returns:
value
 
         public LocalDate getEffectiveDate() {
             return ;
         }

        
Set the 'EffectiveDate' attribute value. EffectiveDate MUST indicate the starting date for this RoomRate.

Parameters:
effectiveDate
 
         public void setEffectiveDate(LocalDate effectiveDate) {
             this. = effectiveDate;
         }

        
Get the 'ExpireDate' attribute value. ExpireDate MUST indicate the ending date for this RoomRate.

Returns:
value
 
         public LocalDate getExpireDate() {
             return ;
         }

        
Set the 'ExpireDate' attribute value. ExpireDate MUST indicate the ending date for this RoomRate.

Parameters:
expireDate
 
         public void setExpireDate(LocalDate expireDate) {
             this. = expireDate;
         }

        
Get the 'ExpireDateExclusiveIndicator' attribute value. The ExpireDateExclusiveIndicator MUST be set to true when the ExpireDate is the first day after the applicable period (e.g. when expire date is Oct 15 the last date of the period is Oct 14).

Returns:
value
 
         public Boolean getExpireDateExclusiveIndicator() {
             return ;
         }

        
Set the 'ExpireDateExclusiveIndicator' attribute value. The ExpireDateExclusiveIndicator MUST be set to true when the ExpireDate is the first day after the applicable period (e.g. when expire date is Oct 15 the last date of the period is Oct 14).

Parameters:
expireDateExclusiveIndicator
 
         public void setExpireDateExclusiveIndicator(
                 Boolean expireDateExclusiveIndicator) {
             this. = expireDateExclusiveIndicator;
         }

        
Get the 'RoomTypeCode' attribute value. RoomTypeCode MUST specify the system room type code requested for this booking, ex: A1K, A1Q etc.

Returns:
value
 
         public String getRoomTypeCode() {
             return ;
         }

        
Set the 'RoomTypeCode' attribute value. RoomTypeCode MUST specify the system room type code requested for this booking, ex: A1K, A1Q etc.

Parameters:
roomTypeCode
 
         public void setRoomTypeCode(String roomTypeCode) {
             this. = roomTypeCode;
         }

        
Get the 'RatePlanCode' attribute value. The RatePlanCode MUST identify the rate plan code requested for this booking.

Returns:
value
 
         public String getRatePlanCode() {
             return ;
         }

        
Set the 'RatePlanCode' attribute value. The RatePlanCode MUST identify the rate plan code requested for this booking.

Parameters:
ratePlanCode
 
         public void setRatePlanCode(String ratePlanCode) {
             this. = ratePlanCode;
         }

        
Get the 'PromotionCode' attribute value. The PromotionCode MUST specify the identifier used by the host to link directly with a specific named advertising campaign. By including the code, the client is able to gain access to special offers which MAY have been created for a specifically targeted group via a CRM system or for a wider advertising campaign using Television or press adverts.

Returns:
value
 
         public String getPromotionCode() {
             return ;
         }

        
Set the 'PromotionCode' attribute value. The PromotionCode MUST specify the identifier used by the host to link directly with a specific named advertising campaign. By including the code, the client is able to gain access to special offers which MAY have been created for a specifically targeted group via a CRM system or for a wider advertising campaign using Television or press adverts.

Parameters:
promotionCode
 
         public void setPromotionCode(String promotionCode) {
             this. = promotionCode;
         }
        
The Rates container allows for future expansion of the message. Rates MAY be sent for informational purposes identifying the rate that the requestor is expecting to be booked. 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="Rates" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Rate">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="Total">
               <xs:complexType>
                 <xs:attribute type="xs:float" use="optional" name="AmountBeforeTax"/>
                 <xs:attribute type="xs:float" use="optional" name="AmountAfterTax"/>
                 <xs:attribute type="xs:string" use="required" name="CurrencyCode"/>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
 
         public static class Rates
         {
             private Float rateTotalAmountBeforeTax;
             private Float rateTotalAmountAfterTax;
             private String rateTotalCurrencyCode;

            
Get the 'AmountBeforeTax' attribute value. AmountBeforeTax MUST specify the room rate before taxes are applied.

Returns:
value
 
             public Float getRateTotalAmountBeforeTax() {
                 return ;
             }

            
Set the 'AmountBeforeTax' attribute value. AmountBeforeTax MUST specify the room rate before taxes are applied.

Parameters:
rateTotalAmountBeforeTax
            public void setRateTotalAmountBeforeTax(
                    Float rateTotalAmountBeforeTax) {
                this. = rateTotalAmountBeforeTax;
            }

            
Get the 'AmountAfterTax' attribute value. AmountAfterTax MUST specify the room rate after taxes are applied.

Returns:
value
            public Float getRateTotalAmountAfterTax() {
                return ;
            }

            
Set the 'AmountAfterTax' attribute value. AmountAfterTax MUST specify the room rate after taxes are applied.

Parameters:
rateTotalAmountAfterTax
            public void setRateTotalAmountAfterTax(Float rateTotalAmountAfterTax) {
                this. = rateTotalAmountAfterTax;
            }

            
Get the 'CurrencyCode' attribute value. The CurrencyCode MUST specify the code of the monetary unit in which the Amount is expressed. CurrencyCode MUST conform to ISO 4217, 3 character codes .

Returns:
value
            public String getRateTotalCurrencyCode() {
                return ;
            }

            
Set the 'CurrencyCode' attribute value. The CurrencyCode MUST specify the code of the monetary unit in which the Amount is expressed. CurrencyCode MUST conform to ISO 4217, 3 character codes .

Parameters:
rateTotalCurrencyCode
            public void setRateTotalCurrencyCode(String rateTotalCurrencyCode) {
                this. = rateTotalCurrencyCode;
            }
        }
    }
    
GuestCount MUST identify the number of guests for the reservation. 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="GuestCount" maxOccurs="10">
   <xs:complexType>
     <xs:attribute type="xs:string" use="required" name="AgeQualifyingCode"/>
     <xs:attribute type="xs:int" use="optional" name="Age"/>
     <xs:attribute type="xs:int" use="required" name="Count"/>
   </xs:complexType>
 </xs:element>
 
    public static class GuestCount
    {
        private String ageQualifyingCode;
        private Integer age;
        private Integer count;

        
Get the 'AgeQualifyingCode' attribute value. The AgeQualifyingCode specifies a code representing the age type of the guest and MUST refer to the OpenTravel Code List Age Qualifying Code (AQC). This attribute MUST be used in conjunction with the Count attribute to identify the number of guests of this age type. FastRez RECOMMENDS restricting the use of the code table to codes 7 - Infant, 8 - Child, 10 - Adult, and 11 - Senior.

Returns:
value
        public String getAgeQualifyingCode() {
            return ;
        }

        
Set the 'AgeQualifyingCode' attribute value. The AgeQualifyingCode specifies a code representing the age type of the guest and MUST refer to the OpenTravel Code List Age Qualifying Code (AQC). This attribute MUST be used in conjunction with the Count attribute to identify the number of guests of this age type. FastRez RECOMMENDS restricting the use of the code table to codes 7 - Infant, 8 - Child, 10 - Adult, and 11 - Senior.

Parameters:
ageQualifyingCode
        public void setAgeQualifyingCode(String ageQualifyingCode) {
            this. = ageQualifyingCode;
        }

        
Get the 'Age' attribute value. Age MAY be used to specify the age of the guest(s).

Returns:
value
        public Integer getAge() {
            return ;
        }

        
Set the 'Age' attribute value. Age MAY be used to specify the age of the guest(s).

Parameters:
age
        public void setAge(Integer age) {
            this. = age;
        }

        
Get the 'Count' attribute value. Count MUST specify the number of guests that are of the age type identified in AgeQualifyingCode and OPTIONALLY of the age identified in the Age attribute.

Returns:
value
        public Integer getCount() {
            return ;
        }

        
Set the 'Count' attribute value. Count MUST specify the number of guests that are of the age type identified in AgeQualifyingCode and OPTIONALLY of the age identified in the Age attribute.

Parameters:
count
        public void setCount(Integer count) {
            this. = count;
        }
    }
    
The ResGuest element allows for future expansion of the message. This element MAY repeat to provide details for each guest in the booking. 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="ResGuest" maxOccurs="10">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Profiles">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="ProfileInfo">
               <xs:complexType>
                 <xs:sequence>
                   <xs:element name="Profile">
                     <xs:complexType>
                       <xs:sequence>
                         <xs:element name="Customer">
                           <xs:complexType>
                             <xs:sequence>
                               <xs:element name="PersonName">
                                 <xs:complexType>
                                   <xs:sequence>
                                     <xs:element type="xs:string" name="NamePrefix" minOccurs="0"/>
                                     <xs:element type="xs:string" name="GivenName"/>
                                     <xs:element type="xs:string" name="MiddleName" minOccurs="0"/>
                                     <xs:element type="xs:string" name="Surname"/>
                                     <xs:element type="xs:string" name="NameSuffix" minOccurs="0"/>
                                   </xs:sequence>
                                 </xs:complexType>
                               </xs:element>
                               <xs:element name="Telephone" minOccurs="0" maxOccurs="5">
                                 <!-- Reference to inner class Telephone -->
                               </xs:element>
                               <xs:element name="Email" minOccurs="0" maxOccurs="5">
                                 <!-- Reference to inner class Email -->
                               </xs:element>
                               <xs:element name="Address" minOccurs="0" maxOccurs="5">
                                 <!-- Reference to inner class Address -->
                               </xs:element>
                               <xs:element name="CustLoyalty" minOccurs="0">
                                 <!-- Reference to inner class CustLoyalty -->
                               </xs:element>
                             </xs:sequence>
                           </xs:complexType>
                         </xs:element>
                       </xs:sequence>
                     </xs:complexType>
                   </xs:element>
                 </xs:sequence>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
    public static class ResGuest
    {
        private String profilesNamePrefix;
        private String profilesGivenName;
        private String profilesMiddleName;
        private String profilesSurname;
        private String profilesNameSuffix;
        private List<TelephonetelephoneList = new ArrayList<Telephone>();
        private List<EmailemailList = new ArrayList<Email>();
        private List<AddressaddressList = new ArrayList<Address>();
        private CustLoyalty custLoyalty;

        
Get the 'NamePrefix' element value. NamePrefix MAY specify the salutation of honorific. (e.g., Mr. Mrs., Ms., Miss, Dr.)

Returns:
value
        public String getProfilesNamePrefix() {
            return ;
        }

        
Set the 'NamePrefix' element value. NamePrefix MAY specify the salutation of honorific. (e.g., Mr. Mrs., Ms., Miss, Dr.)

Parameters:
profilesNamePrefix
        public void setProfilesNamePrefix(String profilesNamePrefix) {
            this. = profilesNamePrefix;
        }

        
Get the 'GivenName' element value. GivenName MUST specify the first name of the guest.

Returns:
value
        public String getProfilesGivenName() {
            return ;
        }

        
Set the 'GivenName' element value. GivenName MUST specify the first name of the guest.

Parameters:
profilesGivenName
        public void setProfilesGivenName(String profilesGivenName) {
            this. = profilesGivenName;
        }

        
Get the 'MiddleName' element value. MiddleName MAY specify the middle name of the guest.

Returns:
value
        public String getProfilesMiddleName() {
            return ;
        }

        
Set the 'MiddleName' element value. MiddleName MAY specify the middle name of the guest.

Parameters:
profilesMiddleName
        public void setProfilesMiddleName(String profilesMiddleName) {
            this. = profilesMiddleName;
        }

        
Get the 'Surname' element value. Surname MUST specify the family name or last name of the guest .

Returns:
value
        public String getProfilesSurname() {
            return ;
        }

        
Set the 'Surname' element value. Surname MUST specify the family name or last name of the guest .

Parameters:
profilesSurname
        public void setProfilesSurname(String profilesSurname) {
            this. = profilesSurname;
        }

        
Get the 'NameSuffix' element value. NameSuffix MAY specify various name suffixes and letters (e.g. Jr., Sr., III, Ret., Esq.).

Returns:
value
        public String getProfilesNameSuffix() {
            return ;
        }

        
Set the 'NameSuffix' element value. NameSuffix MAY specify various name suffixes and letters (e.g. Jr., Sr., III, Ret., Esq.).

Parameters:
profilesNameSuffix
        public void setProfilesNameSuffix(String profilesNameSuffix) {
            this. = profilesNameSuffix;
        }

        
Get the list of 'Telephone' element items. The Profiles container allows for future expansion of the message.

Returns:
list
        public List<TelephonegetTelephoneList() {
            return ;
        }

        
Set the list of 'Telephone' element items. The Profiles container allows for future expansion of the message.

Parameters:
list
        public void setTelephoneList(List<Telephonelist) {
             = list;
        }

        
Get the number of 'Telephone' element items.

Returns:
count
        public int sizeTelephoneList() {
            return .size();
        }

        
Add a 'Telephone' element item.

Parameters:
item
        public void addTelephone(Telephone item) {
            .add(item);
        }

        
Get 'Telephone' element item by position.

Parameters:
index
Returns:
item
        public Telephone getTelephone(int index) {
            return .get(index);
        }

        
Remove all 'Telephone' element items.
        public void clearTelephoneList() {
            .clear();
        }

        
Get the list of 'Email' element items. The Profiles container allows for future expansion of the message.

Returns:
list
        public List<EmailgetEmailList() {
            return ;
        }

        
Set the list of 'Email' element items. The Profiles container allows for future expansion of the message.

Parameters:
list
        public void setEmailList(List<Emaillist) {
             = list;
        }

        
Get the number of 'Email' element items.

Returns:
count
        public int sizeEmailList() {
            return .size();
        }

        
Add a 'Email' element item.

Parameters:
item
        public void addEmail(Email item) {
            .add(item);
        }

        
Get 'Email' element item by position.

Parameters:
index
Returns:
item
        public Email getEmail(int index) {
            return .get(index);
        }

        
Remove all 'Email' element items.
        public void clearEmailList() {
            .clear();
        }

        
Get the list of 'Address' element items. The Profiles container allows for future expansion of the message.

Returns:
list
        public List<AddressgetAddressList() {
            return ;
        }

        
Set the list of 'Address' element items. The Profiles container allows for future expansion of the message.

Parameters:
list
        public void setAddressList(List<Addresslist) {
             = list;
        }

        
Get the number of 'Address' element items.

Returns:
count
        public int sizeAddressList() {
            return .size();
        }

        
Add a 'Address' element item.

Parameters:
item
        public void addAddress(Address item) {
            .add(item);
        }

        
Get 'Address' element item by position.

Parameters:
index
Returns:
item
        public Address getAddress(int index) {
            return .get(index);
        }

        
Remove all 'Address' element items.
        public void clearAddressList() {
            .clear();
        }

        
Get the 'CustLoyalty' element value. Customer MUST provide detailed customer information for this reservation. FastRez RECOMMENDS that at least one other piece of customer information SHOULD be sent in addition to the PersonName.

Returns:
value
        public CustLoyalty getCustLoyalty() {
            return ;
        }

        
Set the 'CustLoyalty' element value. Customer MUST provide detailed customer information for this reservation. FastRez RECOMMENDS that at least one other piece of customer information SHOULD be sent in addition to the PersonName.

Parameters:
custLoyalty
        public void setCustLoyalty(CustLoyalty custLoyalty) {
            this. = custLoyalty;
        }
        
Telephone MAY specify information on a telephone number for the guest. 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="Telephone" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attribute type="xs:string" use="required" name="PhoneTechType"/>
     <xs:attribute type="xs:string" use="optional" name="PhoneUseType"/>
     <xs:attribute type="xs:string" use="optional" name="CountryAccessCode"/>
     <xs:attribute type="xs:string" use="required" name="AreaCityCode"/>
     <xs:attribute type="xs:string" use="required" name="PhoneNumber"/>
     <xs:attribute type="xs:string" use="optional" name="Extension"/>
   </xs:complexType>
 </xs:element>
 
        public static class Telephone
        {
            private String phoneTech;
            private String phoneUse;
            private String countryAccessCode;
            private String areaCityCode;
            private String phoneNumber;
            private String extension;

            
Get the 'PhoneTechType' attribute value. PhoneTechType MUST indicate the type of technology associated with this telephone number, such as Voice, Data, Fax, Pager, Mobile, TTY, etc. PhoneTechType MUST refer to OpenTravel Code List Phone Technology Type (PTT).

Returns:
value
            public String getPhoneTech() {
                return ;
            }

            
Set the 'PhoneTechType' attribute value. PhoneTechType MUST indicate the type of technology associated with this telephone number, such as Voice, Data, Fax, Pager, Mobile, TTY, etc. PhoneTechType MUST refer to OpenTravel Code List Phone Technology Type (PTT).

Parameters:
phoneTech
            public void setPhoneTech(String phoneTech) {
                this. = phoneTech;
            }

            
Get the 'PhoneUseType' attribute value. PhoneUseType MAY specify the type of telephone number, in the context of its general use (e.g. Home, Business, Emergency Contact, Travel Arranger, Day, Evening). PhoneUseType MUST refer to OpenTravel Code List Phone Use Type (PUT).

Returns:
value
            public String getPhoneUse() {
                return ;
            }

            
Set the 'PhoneUseType' attribute value. PhoneUseType MAY specify the type of telephone number, in the context of its general use (e.g. Home, Business, Emergency Contact, Travel Arranger, Day, Evening). PhoneUseType MUST refer to OpenTravel Code List Phone Use Type (PUT).

Parameters:
phoneUse
            public void setPhoneUse(String phoneUse) {
                this. = phoneUse;
            }

            
Get the 'CountryAccessCode' attribute value. CountryAccessCode MAY specify the international country access identifier as assigned by telecommunications authorities.

Returns:
value
            public String getCountryAccessCode() {
                return ;
            }

            
Set the 'CountryAccessCode' attribute value. CountryAccessCode MAY specify the international country access identifier as assigned by telecommunications authorities.

Parameters:
countryAccessCode
            public void setCountryAccessCode(String countryAccessCode) {
                this. = countryAccessCode;
            }

            
Get the 'AreaCityCode' attribute value. AreaCityCode MUST specify the code assigned for telephones in a specific region, city, or area.

Returns:
value
            public String getAreaCityCode() {
                return ;
            }

            
Set the 'AreaCityCode' attribute value. AreaCityCode MUST specify the code assigned for telephones in a specific region, city, or area.

Parameters:
areaCityCode
            public void setAreaCityCode(String areaCityCode) {
                this. = areaCityCode;
            }

            
Get the 'PhoneNumber' attribute value. PhoneNumber MUST specify the telephone number assigned to a single location.

Returns:
value
            public String getPhoneNumber() {
                return ;
            }

            
Set the 'PhoneNumber' attribute value. PhoneNumber MUST specify the telephone number assigned to a single location.

Parameters:
phoneNumber
            public void setPhoneNumber(String phoneNumber) {
                this. = phoneNumber;
            }

            
Get the 'Extension' attribute value. Extension MAY specify an extension to reach a specific party at the phone number.

Returns:
value
            public String getExtension() {
                return ;
            }

            
Set the 'Extension' attribute value. Extension MAY specify an extension to reach a specific party at the phone number.

Parameters:
extension
            public void setExtension(String extension) {
                this. = extension;
            }
        }
        
Email MAY specify information on an email address for the guest. When the reservation is being booked through the internet, the email address SHOULD be REQUIRED. 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="Email" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="xs:string" use="required" name="EmailType"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 
        public static class Email
        {
            private String string;
            private String email;

            
Get the extension value.

Returns:
value
            public String getString() {
                return ;
            }

            
Set the extension value.

Parameters:
string
            public void setString(String string) {
                this. = string;
            }

            
Get the 'EmailType' attribute value. EmailType MUST specify the purpose of the e-mail address (e.g. personal, business, listserve) and MUST refer to OpenTravel Code List Email Address Type (EAT).

Returns:
value
            public String getEmail() {
                return ;
            }

            
Set the 'EmailType' attribute value. EmailType MUST specify the purpose of the e-mail address (e.g. personal, business, listserve) and MUST refer to OpenTravel Code List Email Address Type (EAT).

Parameters:
email
            public void setEmail(String email) {
                this. = email;
            }
        }
        
Address MUST provide detailed information on an address for the guest. 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="Address" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="xs:string" name="AddressLine" maxOccurs="5"/>
       <xs:element type="xs:string" name="CityName"/>
       <xs:element type="xs:string" name="PostalCode" minOccurs="0"/>
       <xs:element type="xs:string" name="County" minOccurs="0"/>
       <xs:element name="StateProv" minOccurs="0">
         <!-- Reference to inner class StateProv -->
       </xs:element>
       <xs:element name="CountryName" minOccurs="0">
         <!-- Reference to inner class CountryName -->
       </xs:element>
       <xs:element type="xs:string" name="CompanyName" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="required" name="Type"/>
   </xs:complexType>
 </xs:element>
 
        public static class Address
        {
            private List<StringaddressLineList = new ArrayList<String>();
            private String cityName;
            private String postalCode;
            private String county;
            private StateProv stateProv;
            private CountryName countryName;
            private String companyName;
            private String type;

            
Get the list of 'AddressLine' element items. AddressLine MUST contain the free form address for the guest.

Returns:
list
            public List<StringgetAddressLineList() {
                return ;
            }

            
Set the list of 'AddressLine' element items. AddressLine MUST contain the free form address for the guest.

Parameters:
list
            public void setAddressLineList(List<Stringlist) {
                 = list;
            }

            
Get the number of 'AddressLine' element items.

Returns:
count
            public int sizeAddressLineList() {
                return .size();
            }

            
Add a 'AddressLine' element item.

Parameters:
item
            public void addAddressLine(String item) {
                .add(item);
            }

            
Get 'AddressLine' element item by position.

Parameters:
index
Returns:
item
            public String getAddressLine(int index) {
                return .get(index);
            }

            
Remove all 'AddressLine' element items.
            public void clearAddressLineList() {
                .clear();
            }

            
Get the 'CityName' element value. CityName MAY provide the city (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address).

Returns:
value
            public String getCityName() {
                return ;
            }

            
Set the 'CityName' element value. CityName MAY provide the city (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address).

Parameters:
cityName
            public void setCityName(String cityName) {
                this. = cityName;
            }

            
Get the 'PostalCode' element value. PostCode MAY contain the post office code number for the address.

Returns:
value
            public String getPostalCode() {
                return ;
            }

            
Set the 'PostalCode' element value. PostCode MAY contain the post office code number for the address.

Parameters:
postalCode
            public void setPostalCode(String postalCode) {
                this. = postalCode;
            }

            
Get the 'County' element value. County MAY specify the county or region name (e.g., Fairfax) for the address.

Returns:
value
            public String getCounty() {
                return ;
            }

            
Set the 'County' element value. County MAY specify the county or region name (e.g., Fairfax) for the address.

Parameters:
county
            public void setCounty(String county) {
                this. = county;
            }

            
Get the 'StateProv' element value.

Returns:
value
            public StateProv getStateProv() {
                return ;
            }

            
Set the 'StateProv' element value.

Parameters:
stateProv
            public void setStateProv(StateProv stateProv) {
                this. = stateProv;
            }

            
Get the 'CountryName' element value.

Returns:
value
            public CountryName getCountryName() {
                return ;
            }

            
Set the 'CountryName' element value.

Parameters:
countryName
            public void setCountryName(CountryName countryName) {
                this. = countryName;
            }

            
Get the 'CompanyName' element value. CompanyName MUST identify a company by name.

Returns:
value
            public String getCompanyName() {
                return ;
            }

            
Set the 'CompanyName' element value. CompanyName MUST identify a company by name.

Parameters:
companyName
            public void setCompanyName(String companyName) {
                this. = companyName;
            }

            
Get the 'Type' attribute value. Type defines the type of address (e.g. home, business, other) and MUST refer to OpenTravel Code List Communication Location Type (CLT).

Returns:
value
            public String getType() {
                return ;
            }

            
Set the 'Type' attribute value. Type defines the type of address (e.g. home, business, other) and MUST refer to OpenTravel Code List Communication Location Type (CLT).

Parameters:
type
            public void setType(String type) {
                this. = type;
            }
            
StateProv MAY specify the state or province name (e.g., Texas) for the address. 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="StateProv" minOccurs="0">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="xs:string" use="optional" name="StateCode"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 
            public static class StateProv
            {
                private String string;
                private String stateCode;

                
Get the extension value.

Returns:
value
                public String getString() {
                    return ;
                }

                
Set the extension value.

Parameters:
string
                public void setString(String string) {
                    this. = string;
                }

                
Get the 'StateCode' attribute value. StateCode MAY specify the standard code or abbreviation for the state, province, or region.

Returns:
value
                public String getStateCode() {
                    return ;
                }

                
Set the 'StateCode' attribute value. StateCode MAY specify the standard code or abbreviation for the state, province, or region.

Parameters:
stateCode
                public void setStateCode(String stateCode) {
                    this. = stateCode;
                }
            }
            
The CountryName MAY specify the country (e.g., Ireland) for the address. 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="CountryName" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:string" use="required" name="Code"/>
   </xs:complexType>
 </xs:element>
 
            public static class CountryName
            {
                private String code;

                
Get the 'Code' attribute value. Code MUST specify the ISO 3166 code for a country.

Returns:
value
                public String getCode() {
                    return ;
                }

                
Set the 'Code' attribute value. Code MUST specify the ISO 3166 code for a country.

Parameters:
code
                public void setCode(String code) {
                    this. = code;
                }
            }
        }
        
CustLoyalty MAY specify loyalty program information for the guest. 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="CustLoyalty" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:string" use="required" name="ProgramID"/>
     <xs:attribute type="xs:string" use="required" name="MembershipID"/>
   </xs:complexType>
 </xs:element>
 
        public static class CustLoyalty
        {
            private String programID;
            private String membershipID;

            
Get the 'ProgramID' attribute value. ProgramID MUST specify an identifier to indicate the company owner of the loyalty program.

Returns:
value
            public String getProgramID() {
                return ;
            }

            
Set the 'ProgramID' attribute value. ProgramID MUST specify an identifier to indicate the company owner of the loyalty program.

Parameters:
programID
            public void setProgramID(String programID) {
                this. = programID;
            }

            
Get the 'MembershipID' attribute value. MembershipID MUST specify a unique identifier of the member in the program (membership number, account number, etc.).

Returns:
value
            public String getMembershipID() {
                return ;
            }

            
Set the 'MembershipID' attribute value. MembershipID MUST specify a unique identifier of the member in the program (membership number, account number, etc.).

Parameters:
membershipID
            public void setMembershipID(String membershipID) {
                this. = membershipID;
            }
        }
    }
    
The Comments container allows for future expansion of the message. 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="Comments" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Comment">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="Text">
               <xs:complexType>
                 <xs:simpleContent>
                   <xs:extension base="xs:string">
                     <xs:attribute type="xs:string" use="optional" name="Language"/>
                   </xs:extension>
                 </xs:simpleContent>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
           <xs:attribute type="xs:string" use="optional" name="Name"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
    public static class Comments
    {
        private String commentTextString;
        private String commentTextLanguage;
        private String commentName;

        
Get the extension value.

Returns:
value
        public String getCommentTextString() {
            return ;
        }

        
Set the extension value.

Parameters:
commentTextString
        public void setCommentTextString(String commentTextString) {
            this. = commentTextString;
        }

        
Get the 'Language' attribute value. Language MAY be used to specify the language of this text item if it differs from the language identified in the PrimaryLangID on the root element. Language MUST conform to ISO 639 language codes.

Returns:
value
        public String getCommentTextLanguage() {
            return ;
        }

        
Set the 'Language' attribute value. Language MAY be used to specify the language of this text item if it differs from the language identified in the PrimaryLangID on the root element. Language MUST conform to ISO 639 language codes.

Parameters:
commentTextLanguage
        public void setCommentTextLanguage(String commentTextLanguage) {
            this. = commentTextLanguage;
        }

        
Get the 'Name' attribute value. Name MAY identify the type of information sent in the Text element.

Returns:
value
        public String getCommentName() {
            return ;
        }

        
Set the 'Name' attribute value. Name MAY identify the type of information sent in the Text element.

Parameters:
commentName
        public void setCommentName(String commentName) {
            this. = commentName;
        }
    }
    
The GuaranteesAccepted container allows for future expansion of the message. 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="GuaranteesAccepted" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="GuaranteeAccepted">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="PaymentCard">
               <xs:complexType>
                 <xs:sequence>
                   <xs:element type="xs:string" name="CardHolderName"/>
                 </xs:sequence>
                 <xs:attribute type="xs:string" use="required" name="CardType"/>
                 <xs:attribute type="xs:string" use="required" name="CardCode"/>
                 <xs:attribute type="xs:string" use="required" name="CardNumber"/>
                 <xs:attribute type="xs:string" use="required" name="ExpireDate"/>
                 <xs:attribute type="xs:string" use="optional" name="MaskedCardNumber"/>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
    public static class GuaranteesAccepted
    {
        private String guaranteeAcceptedPaymentCardCard;
        private String guaranteeAcceptedPaymentCardMaskedCardNumber;

        
Get the 'CardHolderName' element value. CardHolderName MUST specify the name of the card holder.

Returns:
value
            return ;
        }

        
Set the 'CardHolderName' element value. CardHolderName MUST specify the name of the card holder.

Parameters:
guaranteeAcceptedPaymentCardCardHolderName
                String guaranteeAcceptedPaymentCardCardHolderName) {
            this. = guaranteeAcceptedPaymentCardCardHolderName;
        }

        
Get the 'CardType' attribute value. CardType MUST indicate the type of magnetic striped card. CardType MUST refer to OpenTravel Code ListCard Type (CDT).

Returns:
value
        public String getGuaranteeAcceptedPaymentCardCard() {
            return ;
        }

        
Set the 'CardType' attribute value. CardType MUST indicate the type of magnetic striped card. CardType MUST refer to OpenTravel Code ListCard Type (CDT).

Parameters:
guaranteeAcceptedPaymentCardCard
        public void setGuaranteeAcceptedPaymentCardCard(
                String guaranteeAcceptedPaymentCardCard) {
            this. = guaranteeAcceptedPaymentCardCard;
        }

        
Get the 'CardCode' attribute value. CardCode MUST specify the 2 character code of the credit card issuer.

Returns:
value
            return ;
        }

        
Set the 'CardCode' attribute value. CardCode MUST specify the 2 character code of the credit card issuer.

Parameters:
guaranteeAcceptedPaymentCardCardCode
        public void setGuaranteeAcceptedPaymentCardCardCode(
                String guaranteeAcceptedPaymentCardCardCode) {
            this. = guaranteeAcceptedPaymentCardCardCode;
        }

        
Get the 'CardNumber' attribute value. CardNumber MUST specify the payment card number (embossed on the card) used to book the reservation.

Returns:
value
            return ;
        }

        
Set the 'CardNumber' attribute value. CardNumber MUST specify the payment card number (embossed on the card) used to book the reservation.

Parameters:
guaranteeAcceptedPaymentCardCardNumber
        public void setGuaranteeAcceptedPaymentCardCardNumber(
                String guaranteeAcceptedPaymentCardCardNumber) {
            this. = guaranteeAcceptedPaymentCardCardNumber;
        }

        
Get the 'ExpireDate' attribute value. ExpireDate MUST indicate the ending date of the payment card.

Returns:
value
            return ;
        }

        
Set the 'ExpireDate' attribute value. ExpireDate MUST indicate the ending date of the payment card.

Parameters:
guaranteeAcceptedPaymentCardExpireDate
        public void setGuaranteeAcceptedPaymentCardExpireDate(
                String guaranteeAcceptedPaymentCardExpireDate) {
            this. = guaranteeAcceptedPaymentCardExpireDate;
        }

        
Get the 'MaskedCardNumber' attribute value. MaskedCardNumber MAY specify the payment card number in a concealed format (e.g., xxxxxxxxxxxx9922).

Returns:
value