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 response message is used to respond to either the reservation request message or the read request message. If the request message was successfully processed the response MUST contain the details of 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="OTA_HotelResRS">
   <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:choice>
         <xs:sequence>
           <xs:element type="xs:string" name="Success"/>
           <xs:element name="Warnings" minOccurs="0">
             <!-- Reference to inner class Warnings -->
           </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">
                                     <xs:complexType>
                                       <xs:sequence>
                                         <xs:element name="RoomType" maxOccurs="30">
                                           <!-- Reference to inner class Room -->
                                         </xs:element>
                                       </xs:sequence>
                                     </xs:complexType>
                                   </xs:element>
                                   <xs:element name="RatePlans">
                                     <xs:complexType>
                                       <xs:sequence>
                                         <xs:element name="RatePlan" maxOccurs="30">
                                           <!-- Reference to inner class RatePlan -->
                                         </xs:element>
                                       </xs:sequence>
                                     </xs:complexType>
                                   </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:attribute type="xs:string" use="optional" name="HotelName"/>
                                       <xs:attribute type="xs:string" use="optional" name="ChainName"/>
                                       <xs:attribute type="xs:string" use="optional" name="BrandName"/>
                                     </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="CancelPenalties" minOccurs="0">
                               <!-- Reference to inner class CancelPenalties -->
                             </xs:element>
                             <xs:element name="HotelReservationIDs">
                               <xs:complexType>
                                 <xs:sequence>
                                   <xs:element name="HotelReservationID" maxOccurs="2">
                                     <!-- Reference to inner class HotelReservationID -->
                                   </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:element name="Errors">
           <xs:complexType>
             <xs:sequence>
               <xs:element name="Error" maxOccurs="5">
                 <!-- Reference to inner class _Error -->
               </xs:element>
             </xs:sequence>
           </xs:complexType>
         </xs:element>
       </xs:choice>
     </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 HotelResRS
 {
     private String POSSourceRequestorID;
     private String POSSourceRequestorIDID;
     private String POSSourceISOCountry;
     private String POSSourceISOCurrency;
     private int choiceSelect = -1;
     private static final int SUCCESS_CHOICE = 0;
     private static final int ERRORS_CHOICE = 1;
     private String success;
     private Warnings warnings;
     private List<RoomhotelReservationsRoomTypeList = new ArrayList<Room>();
     private Comments comments;
     private CancelPenalties cancelPenalties;
     private List<_ErrorerrorList = new ArrayList<_Error>();
     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;
     }
 
     private void setChoiceSelect(int choice) {
         if ( == -1) {
              = choice;
         } else if ( != choice) {
             throw new IllegalStateException(
                     "Need to call clearChoiceSelect() before changing existing choice");
         }
     }

    
Clear the choice selection.
 
     public void clearChoiceSelect() {
          = -1;
     }

    
Check if Success is current selection for choice.

Returns:
true if selection, false if not
 
     public boolean ifSuccess() {
         return  == ;
     }

    
Get the 'Success' element value. An empty Success element MUST be returned in order to in indicate the successful processing of the request message.

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

    
Set the 'Success' element value. An empty Success element MUST be returned in order to in indicate the successful processing of the request message.

Parameters:
success
 
     public void setSuccess(String success) {
         this. = success;
     }

    
Get the 'Warnings' element value.

Returns:
value
 
     public Warnings getWarnings() {
         return ;
     }

    
Set the 'Warnings' element value.

Parameters:
warnings
 
     public void setWarnings(Warnings warnings) {
         this. = warnings;
     }

    
Get the list of 'RoomType' element items. A collection of room types associated with this reservation.The RoomType element is used to contain all the room type information for a single RateType Code (ex A1K) for a given date range.

Returns:
list
 
         return ;
     }

    
Set the list of 'RoomType' element items. A collection of room types associated with this reservation.The RoomType element is used to contain all the room type information for a single RateType Code (ex A1K) for a given date range.

Parameters:
list
 
     public void setHotelReservationsRoomTypeList(List<Roomlist) {
          = list;
     }

    
Get the number of 'RoomType' element items.

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

    
Add a 'RoomType' element item.

Parameters:
item
 
     public void addHotelReservationsRoomType(Room item) {
         .add(item);
     }

    
Get 'RoomType' element item by position.

Parameters:
index
Returns:
item
 
     public Room getHotelReservationsRoomType(int index) {
         return .get(index);
     }

    
Remove all 'RoomType' element items.
 
     public void clearHotelReservationsRoomTypeList() {
     }

    
Get the list of 'RatePlan' element items. A collection of Rate Plans associated with a particular reservation.The rate plan element is used to contain all the rate information for a single Rate Plan Code (ex RACK) for a given date range. A given Rate Plan may have variable rates, over the effective period of the Rate Plan, this is represented by the child element Rates.

Returns:
list
 
         return ;
     }

    
Set the list of 'RatePlan' element items. A collection of Rate Plans associated with a particular reservation.The rate plan element is used to contain all the rate information for a single Rate Plan Code (ex RACK) for a given date range. A given Rate Plan may have variable rates, over the effective period of the Rate Plan, this is represented by the child element Rates.

Parameters:
list
 
     public void setHotelReservationsRatePlanList(List<RatePlanlist) {
          = list;
     }

    
Get the number of 'RatePlan' element items.

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

    
Add a 'RatePlan' element item.

Parameters:
item
 
     public void addHotelReservationsRatePlan(RatePlan item) {
         .add(item);
     }

    
Get 'RatePlan' element item by position.

Parameters:
index
Returns:
item
 
     public RatePlan getHotelReservationsRatePlan(int index) {
         return .get(index);
     }

    
Remove all 'RatePlan' element items.
 
     public void clearHotelReservationsRatePlanList() {
     }

    
Get the list of 'RoomRate' element items. A collection of Room Rates associated with a particular reservation.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 reservation.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 'HotelName' attribute value. HotelName MAY specify the proper name of the hotel.

Returns:
value
 
     }

    
Set the 'HotelName' attribute value. HotelName MAY specify the proper name of the hotel.

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

    
Get the 'ChainName' attribute value. ChainName MAY specify the name of the hotel chain (e.g., Hilton, Marriott, Hyatt).

Returns:
value
 
     }

    
Set the 'ChainName' attribute value. ChainName MAY specify the name of the hotel chain (e.g., Hilton, Marriott, Hyatt).

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

    
Get the 'BrandName' attribute value. BrandName MAY specify the name of the brand of the hotel property (e.g., Courtyard, Hampton Inn).

Returns:
value
 
     }

    
Set the 'BrandName' attribute value. BrandName MAY specify the name of the brand of the hotel property (e.g., Courtyard, Hampton Inn).

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

    
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 'CancelPenalties' element value. ResGlobalInfo is a container for various information that applies to the Reservation as a whole.

Returns:
value
 
     public CancelPenalties getCancelPenalties() {
         return ;
     }

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

Parameters:
cancelPenalties
 
     public void setCancelPenalties(CancelPenalties cancelPenalties) {
         this. = cancelPenalties;
     }

    
Get the list of 'HotelReservationID' element items. A collection of ID's for the reservation.

Returns:
list
 
     }

    
Set the list of 'HotelReservationID' element items. A collection of ID's for the reservation.

Parameters:
list
 
             List<HotelReservationIDlist) {
          = list;
     }

    
Get the number of 'HotelReservationID' element items.

Returns:
count
 
     }

    
Add a 'HotelReservationID' element item.

Parameters:
item
 
     }

    
Get 'HotelReservationID' element item by position.

Parameters:
index
Returns:
item
 
         return .get(index);
     }

    
Remove all 'HotelReservationID' element items.
 
     }

    
Check if ErrorList is current selection for choice.

Returns:
true if selection, false if not
 
     public boolean ifErrors() {
         return  == ;
     }

    
Get the list of 'Error' element items. Errors MUST be returned if the message was not successfully processed.

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

    
Set the list of 'Error' element items. Errors MUST be returned if the message was not successfully processed.

Parameters:
list
 
     public void setErrorList(List<_Errorlist) {
         setChoiceSelect();
          = list;
     }

    
Get the number of 'Error' element items.

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

    
Add a 'Error' element item.

Parameters:
item
 
     public void addError(_Error item) {
         .add(item);
     }

    
Get 'Error' element item by position.

Parameters:
index
Returns:
item
 
     public _Error getError(int index) {
         return .get(index);
     }

    
Remove all 'Error' element items.
 
     public void clearErrorList() {
         .clear();
     }

    
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. PrimaryLangID 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. PrimaryLangID 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;
    }
    
Warnings MAY be used in conjunction with the Success element to define one or more business errors or informational alerts associated with 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="Warnings" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Warning" maxOccurs="5">
         <!-- Reference to inner class Warning -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
    public static class Warnings
    {
        private List<WarningwarningList = new ArrayList<Warning>();

        
Get the list of 'Warning' element items.

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

        
Set the list of 'Warning' element items.

Parameters:
list
        public void setWarningList(List<Warninglist) {
             = list;
        }

        
Get the number of 'Warning' element items.

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

        
Add a 'Warning' element item.

Parameters:
item
        public void addWarning(Warning item) {
            .add(item);
        }

        
Get 'Warning' element item by position.

Parameters:
index
Returns:
item
        public Warning getWarning(int index) {
            return .get(index);
        }

        
Remove all 'Warning' element items.
        public void clearWarningList() {
            .clear();
        }
        
Warning MUST define a business error or informational alert associated with 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="Warning" maxOccurs="5">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="xs:string" use="required" name="Type"/>
         <xs:attribute type="xs:string" use="optional" name="ShortText"/>
         <xs:attribute type="xs:string" use="optional" name="Code"/>
         <xs:attribute type="xs:string" use="optional" name="Status"/>
         <xs:attribute type="xs:string" use="optional" name="Tag"/>
         <xs:attribute type="xs:string" use="optional" name="RPH"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 
        public static class Warning
        {
            private String string;
            private String type;
            private String shortText;
            private String code;
            private String status;
            private String tag;
            private String RPH;

            
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 'Type' attribute value. Type MUST identify the type of warning and MUST refer to OpenTravel Code List Error Warning Type (EWT).

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

            
Set the 'Type' attribute value. Type MUST identify the type of warning and MUST refer to OpenTravel Code List Error Warning Type (EWT).

Parameters:
type
            public void setType(String type) {
                this. = type;
            }

            
Get the 'ShortText' attribute value. ShortText MAY contain an abbreviated version of the warning in textual format.

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

            
Set the 'ShortText' attribute value. ShortText MAY contain an abbreviated version of the warning in textual format.

Parameters:
shortText
            public void setShortText(String shortText) {
                this. = shortText;
            }

            
Get the 'Code' attribute value. Code MAY be used to identify a warning associated with this reservation and MUST refer to OpenTravel Code List Error Codes (ERR).

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

            
Set the 'Code' attribute value. Code MAY be used to identify a warning associated with this reservation and MUST refer to OpenTravel Code List Error Codes (ERR).

Parameters:
code
            public void setCode(String code) {
                this. = code;
            }

            
Get the 'Status' attribute value. Status MAY be used to identify the status of the reservation. RECOMMENDED values are (NotProcessed | Incomplete | Compete | Unknown).

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

            
Set the 'Status' attribute value. Status MAY be used to identify the status of the reservation. RECOMMENDED values are (NotProcessed | Incomplete | Compete | Unknown).

Parameters:
status
            public void setStatus(String status) {
                this. = status;
            }

            
Get the 'Tag' attribute value. Tag MAY identify an unknown or misspelled tag that caused an error in processing. It is RECOMMENDED that the Tag attribute use XPath notation to identify the location of a tag in the event that more than one tag of the same name is present in the document. Alternatively, the tag name alone MAY be used to identify missing data [Type=ReqFieldMissing].

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

            
Set the 'Tag' attribute value. Tag MAY identify an unknown or misspelled tag that caused an error in processing. It is RECOMMENDED that the Tag attribute use XPath notation to identify the location of a tag in the event that more than one tag of the same name is present in the document. Alternatively, the tag name alone MAY be used to identify missing data [Type=ReqFieldMissing].

Parameters:
tag
            public void setTag(String tag) {
                this. = tag;
            }

            
Get the 'RPH' attribute value. The RPH (Reference Place Holder) MAY be used as an index for this warning.

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

            
Set the 'RPH' attribute value. The RPH (Reference Place Holder) MAY be used as an index for this warning.

Parameters:
RPH
            public void setRPH(String RPH) {
                this. = RPH;
            }
        }
    }
    
RoomType MUST specify the details of a room type for this 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="RoomType" maxOccurs="30">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RoomDescription">
         <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:attribute type="xs:string" use="required" name="RoomTypeCode"/>
     <xs:attribute type="ns:ListOfOTA_CodeType" use="optional" name="BedTypeCode"/>
     <xs:attribute type="xs:boolean" use="optional" name="NonSmoking"/>
   </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 Room
    {
        private String roomDescriptionTextString;
        private String roomDescriptionTextLanguage;
        private String roomDescriptionName;
        private String roomTypeCode;
        private List<StringbedTypeCodes = new ArrayList<String>();
        private Boolean nonSmoking;

        
Get the extension value.

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

        
Set the extension value.

Parameters:
roomDescriptionTextString
        public void setRoomDescriptionTextString(
                String roomDescriptionTextString) {
            this. = roomDescriptionTextString;
        }

        
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 getRoomDescriptionTextLanguage() {
            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:
roomDescriptionTextLanguage
        public void setRoomDescriptionTextLanguage(
                String roomDescriptionTextLanguage) {
            this. = roomDescriptionTextLanguage;
        }

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

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

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

Parameters:
roomDescriptionName
        public void setRoomDescriptionName(String roomDescriptionName) {
            this. = roomDescriptionName;
        }

        
Get the 'RoomTypeCode' attribute value. RoomTypeCode MUST identify the specific system room type code for this room type (e.g. A1K, A1Q).

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

        
Set the 'RoomTypeCode' attribute value. RoomTypeCode MUST identify the specific system room type code for this room type (e.g. A1K, A1Q).

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

        
Get the list of 'BedTypeCode' attribute items. BedTypeCode MAY indicate the type of bed(s) found in the room. Typical values would be Double, Twin, Queen, or King. BedTypeCode MUST refer to OpenTravel Code List Bed Type Code (BED).

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

        
Set the list of 'BedTypeCode' attribute items. BedTypeCode MAY indicate the type of bed(s) found in the room. Typical values would be Double, Twin, Queen, or King. BedTypeCode MUST refer to OpenTravel Code List Bed Type Code (BED).

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

        
Serializer for 'BedTypeCode' attribute list.

Parameters:
values
Returns:
text
        public static String serializeBedTypeCodes(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<StringdeserializeBedTypeCodes(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 sizeBedTypeCodes() {
            return .size();
        }

        
Add a 'BedTypeCode' attribute item.

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

        
Get 'BedTypeCode' attribute item by position.

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

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

        
Get the 'NonSmoking' attribute value. The NonSmoking indicator MAY be used to specify whether or not the room type is non-smoking. When true, the room type MUST be non-smoking.

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

        
Set the 'NonSmoking' attribute value. The NonSmoking indicator MAY be used to specify whether or not the room type is non-smoking. When true, the room type MUST be non-smoking.

Parameters:
nonSmoking
        public void setNonSmoking(Boolean nonSmoking) {
            this. = nonSmoking;
        }
    }
    
RatePlan MUST specify information regarding a rate plan for this 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="RatePlan" maxOccurs="30">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="MealsIncluded" minOccurs="0">
         <!-- Reference to inner class MealsIncluded -->
       </xs:element>
       <xs:element name="RatePlanDescription">
         <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:attribute type="xs:string" use="required" name="RatePlanCode"/>
   </xs:complexType>
 </xs:element>
 
    public static class RatePlan
    {
        private MealsIncluded mealsIncluded;
        private String ratePlanDescriptionTextString;
        private String ratePlanDescriptionTextLanguage;
        private String ratePlanDescriptionName;
        private String ratePlanCode;

        
Get the 'MealsIncluded' element value.

Returns:
value
        public MealsIncluded getMealsIncluded() {
            return ;
        }

        
Set the 'MealsIncluded' element value.

Parameters:
mealsIncluded
        public void setMealsIncluded(MealsIncluded mealsIncluded) {
            this. = mealsIncluded;
        }

        
Get the extension value.

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

        
Set the extension value.

Parameters:
ratePlanDescriptionTextString
        public void setRatePlanDescriptionTextString(
                String ratePlanDescriptionTextString) {
            this. = ratePlanDescriptionTextString;
        }

        
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 getRatePlanDescriptionTextLanguage() {
            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:
ratePlanDescriptionTextLanguage
        public void setRatePlanDescriptionTextLanguage(
                String ratePlanDescriptionTextLanguage) {
            this. = ratePlanDescriptionTextLanguage;
        }

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

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

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

Parameters:
ratePlanDescriptionName
        public void setRatePlanDescriptionName(String ratePlanDescriptionName) {
            this. = ratePlanDescriptionName;
        }

        
Get the 'RatePlanCode' attribute value. RatePlanCode MUST specify the code that identifies this rate plan.

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

        
Set the 'RatePlanCode' attribute value. RatePlanCode MUST specify the code that identifies this rate plan.

Parameters:
ratePlanCode
        public void setRatePlanCode(String ratePlanCode) {
            this. = ratePlanCode;
        }
        
MealsIncluded MAY specify which meals are included in this rate plan. 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="MealsIncluded" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:boolean" use="optional" name="Breakfast"/>
     <xs:attribute type="xs:boolean" use="optional" name="Lunch"/>
     <xs:attribute type="xs:boolean" use="optional" name="Dinner"/>
     <xs:attribute type="ns:ListOfOTA_CodeType" use="optional" name="MealPlanCodes"/>
   </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 MealsIncluded
        {
            private Boolean breakfast;
            private Boolean lunch;
            private Boolean dinner;
            private List<StringmealPlanCodes = new ArrayList<String>();

            
Get the 'Breakfast' attribute value. The Breakfast indicator MAY be used to specify if breakfast is included with this rate plan. When true, breakfast MUST be included.

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

            
Set the 'Breakfast' attribute value. The Breakfast indicator MAY be used to specify if breakfast is included with this rate plan. When true, breakfast MUST be included.

Parameters:
breakfast
            public void setBreakfast(Boolean breakfast) {
                this. = breakfast;
            }

            
Get the 'Lunch' attribute value. The Lunch indicator MAY be used to specify if lunch is included with this rate plan. When true, lunch MUST be included.

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

            
Set the 'Lunch' attribute value. The Lunch indicator MAY be used to specify if lunch is included with this rate plan. When true, lunch MUST be included.

Parameters:
lunch
            public void setLunch(Boolean lunch) {
                this. = lunch;
            }

            
Get the 'Dinner' attribute value. The Dinner indicator MAY be used to specify if dinner is included with this rate plan. When true, dinner MUST be included.

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

            
Set the 'Dinner' attribute value. The Dinner indicator MAY be used to specify if dinner is included with this rate plan. When true, dinner MUST be included.

Parameters:
dinner
            public void setDinner(Boolean dinner) {
                this. = dinner;
            }

            
Get the list of 'MealPlanCodes' attribute items. The MealPlanCodes MAY be used to identify the types of meals included with this rate plan. The MealPlanCodes MUST refer to OpenTravel Code List Meal Plan Type (MPT).

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

            
Set the list of 'MealPlanCodes' attribute items. The MealPlanCodes MAY be used to identify the types of meals included with this rate plan. The MealPlanCodes MUST refer to OpenTravel Code List Meal Plan Type (MPT).

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

            
Serializer for 'MealPlanCodes' attribute list.

Parameters:
values
Returns:
text
            public static String serializeMealPlanCodes(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 'MealPlanCodes' attribute list.

Parameters:
text
Returns:
values
Throws:
org.jibx.runtime.JiBXException on conversion error
            public static List<StringdeserializeMealPlanCodes(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 'MealPlanCodes' attribute items.

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

            
Add a 'MealPlanCodes' attribute item.

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

            
Get 'MealPlanCodes' attribute item by position.

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

            
Remove all 'MealPlanCodes' attribute items.
            public void clearMealPlanCodes() {
                .clear();
            }
        }
    }
    
RoomRate MUST specify the details of a room rate for this 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="RoomRate" maxOccurs="30">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Rates">
         <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>
     </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 Float ratesTotalAmountBeforeTax;
        private Float ratesTotalAmountAfterTax;
        private String ratesTotalCurrencyCode;
        private LocalDate effectiveDate;
        private LocalDate expireDate;
        private Boolean expireDateExclusiveIndicator;
        private String roomTypeCode;
        private String ratePlanCode;
        private String promotionCode;

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

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

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

Parameters:
ratesTotalAmountBeforeTax
        public void setRatesTotalAmountBeforeTax(Float ratesTotalAmountBeforeTax) {
            this. = ratesTotalAmountBeforeTax;
        }

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

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

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

Parameters:
ratesTotalAmountAfterTax
        public void setRatesTotalAmountAfterTax(Float ratesTotalAmountAfterTax) {
            this. = ratesTotalAmountAfterTax;
        }

        
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 getRatesTotalCurrencyCode() {
            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:
ratesTotalCurrencyCode
        public void setRatesTotalCurrencyCode(String ratesTotalCurrencyCode) {
            this. = ratesTotalCurrencyCode;
        }

        
Get the 'EffectiveDate' attribute value. EffectiveDate specifies the starting date for this room rate.

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

        
Set the 'EffectiveDate' attribute value. EffectiveDate specifies the starting date for this room rate.

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

        
Get the 'ExpireDate' attribute value. ExpireDate specifies the ending date for this room rate.

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

        
Set the 'ExpireDate' attribute value. ExpireDate specifies the ending date for this room rate.

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, ex: A1K, A1Q etc that identifies the specific room type that is booked.

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

        
Set the 'RoomTypeCode' attribute value. RoomTypeCode MUST specify the system room type code, ex: A1K, A1Q etc that identifies the specific room type that is booked.

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

        
Get the 'RatePlanCode' attribute value. RatePlanCode MUST identify the rate plan that is booked.

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

        
Set the 'RatePlanCode' attribute value. RatePlanCode MUST identify the rate plan that is booked.

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

        
Get the 'PromotionCode' attribute value. PromotionCode MAY identify 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. PromotionCode MAY identify 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;
        }
    }
    
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(s) 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(s) 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;
        }
    }
    
<