org.ota.hotel
Class HotelRatePlan.RatePlanShoulders.RatePlanShoulder

java.lang.Object
  extended by org.ota.hotel.HotelRatePlan.RatePlanShoulders.RatePlanShoulder
Enclosing class:
HotelRatePlan.RatePlanShoulders

public static class HotelRatePlan.RatePlanShoulders.RatePlanShoulder
extends java.lang.Object

The Rate Plan Shoulder defines the allowable dates and where to take inventory during the shoulder seasons for 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="RatePlanShoulder" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:SellableProductsType" name="SellableProducts" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="ShoulderRPH"/>
     <xs:attribute type="xs:int" use="optional" name="PreShoulderSellLimit"/>
     <xs:attribute type="xs:int" use="optional" name="PostShoulderSellLimit"/>
     <xs:attribute type="xs:string" use="optional" name="PreShoulderStartDate"/>
     <xs:attribute type="xs:string" use="optional" name="PostShoulderEndDate"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelRatePlan.RatePlanShoulders.RatePlanShoulder()
           
 
Method Summary
 java.lang.String getPostShoulderEndDate()
          Get the 'PostShoulderEndDate' attribute value.
 java.lang.Integer getPostShoulderSellLimit()
          Get the 'PostShoulderSellLimit' attribute value.
 java.lang.Integer getPreShoulderSellLimit()
          Get the 'PreShoulderSellLimit' attribute value.
 java.lang.String getPreShoulderStartDate()
          Get the 'PreShoulderStartDate' attribute value.
 SellableProducts getSellableProducts()
          Get the 'SellableProducts' element value.
 java.lang.String getShoulderRPH()
          Get the 'ShoulderRPH' attribute value.
 void setPostShoulderEndDate(java.lang.String postShoulderEndDate)
          Set the 'PostShoulderEndDate' attribute value.
 void setPostShoulderSellLimit(java.lang.Integer postShoulderSellLimit)
          Set the 'PostShoulderSellLimit' attribute value.
 void setPreShoulderSellLimit(java.lang.Integer preShoulderSellLimit)
          Set the 'PreShoulderSellLimit' attribute value.
 void setPreShoulderStartDate(java.lang.String preShoulderStartDate)
          Set the 'PreShoulderStartDate' attribute value.
 void setSellableProducts(SellableProducts sellableProducts)
          Set the 'SellableProducts' element value.
 void setShoulderRPH(java.lang.String shoulderRPH)
          Set the 'ShoulderRPH' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelRatePlan.RatePlanShoulders.RatePlanShoulder

public HotelRatePlan.RatePlanShoulders.RatePlanShoulder()
Method Detail

getSellableProducts

public SellableProducts getSellableProducts()
Get the 'SellableProducts' element value.

Returns:
value

setSellableProducts

public void setSellableProducts(SellableProducts sellableProducts)
Set the 'SellableProducts' element value.

Parameters:
sellableProducts -

getShoulderRPH

public java.lang.String getShoulderRPH()
Get the 'ShoulderRPH' attribute value. This is a reference placeholder, used as an index for this object.

Returns:
value

setShoulderRPH

public void setShoulderRPH(java.lang.String shoulderRPH)
Set the 'ShoulderRPH' attribute value. This is a reference placeholder, used as an index for this object.

Parameters:
shoulderRPH -

getPreShoulderSellLimit

public java.lang.Integer getPreShoulderSellLimit()
Get the 'PreShoulderSellLimit' attribute value. Limit of inventory that can be sold before the StayDateRange. It should be understood that any stay must book at least one date in the StayDateRange.

Returns:
value

setPreShoulderSellLimit

public void setPreShoulderSellLimit(java.lang.Integer preShoulderSellLimit)
Set the 'PreShoulderSellLimit' attribute value. Limit of inventory that can be sold before the StayDateRange. It should be understood that any stay must book at least one date in the StayDateRange.

Parameters:
preShoulderSellLimit -

getPostShoulderSellLimit

public java.lang.Integer getPostShoulderSellLimit()
Get the 'PostShoulderSellLimit' attribute value. Limit of inventory that can be sold after the StayDateRange. It should be understood that any stay must book at least one date in the StayDateRange.

Returns:
value

setPostShoulderSellLimit

public void setPostShoulderSellLimit(java.lang.Integer postShoulderSellLimit)
Set the 'PostShoulderSellLimit' attribute value. Limit of inventory that can be sold after the StayDateRange. It should be understood that any stay must book at least one date in the StayDateRange.

Parameters:
postShoulderSellLimit -

getPreShoulderStartDate

public java.lang.String getPreShoulderStartDate()
Get the 'PreShoulderStartDate' attribute value. The earliest stay date that this rate plan/inventory block can be sold.

Returns:
value

setPreShoulderStartDate

public void setPreShoulderStartDate(java.lang.String preShoulderStartDate)
Set the 'PreShoulderStartDate' attribute value. The earliest stay date that this rate plan/inventory block can be sold.

Parameters:
preShoulderStartDate -

getPostShoulderEndDate

public java.lang.String getPostShoulderEndDate()
Get the 'PostShoulderEndDate' attribute value. The latest stay date that this rate plan/inventory block can be sold.

Returns:
value

setPostShoulderEndDate

public void setPostShoulderEndDate(java.lang.String postShoulderEndDate)
Set the 'PostShoulderEndDate' attribute value. The latest stay date that this rate plan/inventory block can be sold.

Parameters:
postShoulderEndDate -