org.ota.hotel
Class ResCommonDetail

java.lang.Object
  extended by org.ota.hotel.ResCommonDetail
Direct Known Subclasses:
ResGlobalInfo

public class ResCommonDetail
extends java.lang.Object

A grouping of elements including Guest Counts, Time Span, pointers to Res Guests, guest Memberships, Comments and Special Requests and finally finacial information including Guarantee, Deposit and Payyment and Cancellation Penalties. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ResCommonDetailType">
   <xs:sequence>
     <xs:element type="ns:GuestCountType" name="GuestCounts" minOccurs="0"/>
     <xs:element name="TimeSpan" minOccurs="0">
       <!-- Reference to inner class TimeSpan -->
     </xs:element>
     <xs:element type="ns:ResGuestRPHsType" name="ResGuestRPHs" minOccurs="0"/>
     <xs:element type="ns:MembershipType" name="Memberships" minOccurs="0"/>
     <xs:element type="ns:CommentType" name="Comments" minOccurs="0"/>
     <xs:element type="ns:SpecialRequestType" name="SpecialRequests" minOccurs="0"/>
     <xs:element type="ns:GuaranteeType" name="Guarantee" minOccurs="0"/>
     <xs:element type="ns:RequiredPaymentsType" name="DepositPayments" minOccurs="0"/>
     <xs:element type="ns:CancelPenaltiesType" name="CancelPenalties" minOccurs="0"/>
     <xs:element type="ns:FeesType" name="Fees" minOccurs="0"/>
     <xs:element type="ns:TotalType" name="Total" minOccurs="0"/>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class ResCommonDetail.TimeSpan
          The Time Span which covers the Reservation, Room Stay or Service.
 
Constructor Summary
ResCommonDetail()
           
 
Method Summary
 CancelPenalties getCancelPenalties()
          Get the 'CancelPenalties' element value.
 Comment getComments()
          Get the 'Comments' element value.
 RequiredPayments getDepositPayments()
          Get the 'DepositPayments' element value.
 Fees getFees()
          Get the 'Fees' element value.
 Guarantee getGuarantee()
          Get the 'Guarantee' element value.
 GuestCount getGuestCounts()
          Get the 'GuestCounts' element value.
 Membership getMemberships()
          Get the 'Memberships' element value.
 ResGuestRPHs getResGuestRPHs()
          Get the 'ResGuestRPHs' element value.
 SpecialRequest getSpecialRequests()
          Get the 'SpecialRequests' element value.
 ResCommonDetail.TimeSpan getTimeSpan()
          Get the 'TimeSpan' element value.
 Total getTotal()
          Get the 'Total' element value.
 void setCancelPenalties(CancelPenalties cancelPenalties)
          Set the 'CancelPenalties' element value.
 void setComments(Comment comments)
          Set the 'Comments' element value.
 void setDepositPayments(RequiredPayments depositPayments)
          Set the 'DepositPayments' element value.
 void setFees(Fees fees)
          Set the 'Fees' element value.
 void setGuarantee(Guarantee guarantee)
          Set the 'Guarantee' element value.
 void setGuestCounts(GuestCount guestCounts)
          Set the 'GuestCounts' element value.
 void setMemberships(Membership memberships)
          Set the 'Memberships' element value.
 void setResGuestRPHs(ResGuestRPHs resGuestRPHs)
          Set the 'ResGuestRPHs' element value.
 void setSpecialRequests(SpecialRequest specialRequests)
          Set the 'SpecialRequests' element value.
 void setTimeSpan(ResCommonDetail.TimeSpan timeSpan)
          Set the 'TimeSpan' element value.
 void setTotal(Total total)
          Set the 'Total' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResCommonDetail

public ResCommonDetail()
Method Detail

getGuestCounts

public GuestCount getGuestCounts()
Get the 'GuestCounts' element value. A collection of Guest Counts associated to the whole Reservation or a particular Room Stay or Service. A child Guest Count element is required for each distict age group.

Returns:
value

setGuestCounts

public void setGuestCounts(GuestCount guestCounts)
Set the 'GuestCounts' element value. A collection of Guest Counts associated to the whole Reservation or a particular Room Stay or Service. A child Guest Count element is required for each distict age group.

Parameters:
guestCounts -

getTimeSpan

public ResCommonDetail.TimeSpan getTimeSpan()
Get the 'TimeSpan' element value.

Returns:
value

setTimeSpan

public void setTimeSpan(ResCommonDetail.TimeSpan timeSpan)
Set the 'TimeSpan' element value.

Parameters:
timeSpan -

getResGuestRPHs

public ResGuestRPHs getResGuestRPHs()
Get the 'ResGuestRPHs' element value. A collection of ResGuestRPH objects.

Returns:
value

setResGuestRPHs

public void setResGuestRPHs(ResGuestRPHs resGuestRPHs)
Set the 'ResGuestRPHs' element value. A collection of ResGuestRPH objects.

Parameters:
resGuestRPHs -

getMemberships

public Membership getMemberships()
Get the 'Memberships' element value. A collection of Membership objects. Memberships provides a list of reward programs which may be credited with points accrued from the guest's activity. Which memberships are to be applied to which part is determined by each object's SelectedMembershipRPHs collection.

Returns:
value

setMemberships

public void setMemberships(Membership memberships)
Set the 'Memberships' element value. A collection of Membership objects. Memberships provides a list of reward programs which may be credited with points accrued from the guest's activity. Which memberships are to be applied to which part is determined by each object's SelectedMembershipRPHs collection.

Parameters:
memberships -

getComments

public Comment getComments()
Get the 'Comments' element value. A collection of Comment objects. Comments which apply to the whole Reservation or a particular Room Stay or Service.

Returns:
value

setComments

public void setComments(Comment comments)
Set the 'Comments' element value. A collection of Comment objects. Comments which apply to the whole Reservation or a particular Room Stay or Service.

Parameters:
comments -

getSpecialRequests

public SpecialRequest getSpecialRequests()
Get the 'SpecialRequests' element value. The SpecialRequest object indicates special requests for the whole Reservation, or a particular Room Stay or Service.

Returns:
value

setSpecialRequests

public void setSpecialRequests(SpecialRequest specialRequests)
Set the 'SpecialRequests' element value. The SpecialRequest object indicates special requests for the whole Reservation, or a particular Room Stay or Service.

Parameters:
specialRequests -

getGuarantee

public Guarantee getGuarantee()
Get the 'Guarantee' element value. The guarantee information associated to the Reservation or a particular Room Stay or Service.

Returns:
value

setGuarantee

public void setGuarantee(Guarantee guarantee)
Set the 'Guarantee' element value. The guarantee information associated to the Reservation or a particular Room Stay or Service.

Parameters:
guarantee -

getDepositPayments

public RequiredPayments getDepositPayments()
Get the 'DepositPayments' element value. A collection of deposit and/or payments.

Returns:
value

setDepositPayments

public void setDepositPayments(RequiredPayments depositPayments)
Set the 'DepositPayments' element value. A collection of deposit and/or payments.

Parameters:
depositPayments -

getCancelPenalties

public CancelPenalties getCancelPenalties()
Get the 'CancelPenalties' element value. A collection of Cancellation Penalties objects.

Returns:
value

setCancelPenalties

public void setCancelPenalties(CancelPenalties cancelPenalties)
Set the 'CancelPenalties' element value. A collection of Cancellation Penalties objects.

Parameters:
cancelPenalties -

getFees

public Fees getFees()
Get the 'Fees' element value. A collection of fees that applies to the reservation.

Returns:
value

setFees

public void setFees(Fees fees)
Set the 'Fees' element value. A collection of fees that applies to the reservation.

Parameters:
fees -

getTotal

public Total getTotal()
Get the 'Total' element value. The total amount charged for the accommodation including additional occupant amounts and fees. If TaxInclusive is set to True, then taxes are included in the total amount.

Returns:
value

setTotal

public void setTotal(Total total)
Set the 'Total' element value. The total amount charged for the accommodation including additional occupant amounts and fees. If TaxInclusive is set to True, then taxes are included in the total amount.

Parameters:
total -