|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.Offer
public class Offer
Defines the type of offer, the conditions under which the offer can be applied and the amounts and/or percentages deducted. 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="OfferType"> <xs:sequence> <xs:element name="OfferRules" minOccurs="0"> <!-- Reference to inner class OfferRules --> </xs:element> <xs:element name="Discount" minOccurs="0"> <!-- Reference to inner class Discount --> </xs:element> <xs:element name="FreeUpgrade" minOccurs="0"> <!-- Reference to inner class FreeUpgrade --> </xs:element> <xs:element type="ns:ParagraphType" name="OfferDescription" minOccurs="0"/> <xs:element name="CompatibleOffers" minOccurs="0"> <!-- Reference to inner class CompatibleOffers --> </xs:element> <xs:element name="Inventories" minOccurs="0"> <!-- Reference to inner class Inventories --> </xs:element> <xs:element name="Guests" minOccurs="0"> <!-- Reference to inner class Guests --> </xs:element> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="OfferCode"/> <xs:attribute type="xs:string" use="optional" name="RPH"/> <xs:attribute type="xs:int" use="optional" name="ApplicationOrder"/> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
Offer.CompatibleOffers
Collection of compatible offers. |
static class |
Offer.Discount
Defines the characteristics of the offer. |
static class |
Offer.FreeUpgrade
Defines offers of the type "book A and get B". |
static class |
Offer.Guests
Collection of guests. |
static class |
Offer.Inventories
Collection of inventory. |
static class |
Offer.OfferRules
Collection of offer rules. |
Constructor Summary | |
---|---|
Offer()
|
Method Summary | |
---|---|
java.lang.Integer |
getApplicationOrder()
Get the 'ApplicationOrder' attribute value. |
Offer.CompatibleOffers |
getCompatibleOffers()
Get the 'CompatibleOffers' element value. |
Offer.Discount |
getDiscount()
Get the 'Discount' element value. |
Offer.FreeUpgrade |
getFreeUpgrade()
Get the 'FreeUpgrade' element value. |
Offer.Guests |
getGuests()
Get the 'Guests' element value. |
Offer.Inventories |
getInventories()
Get the 'Inventories' element value. |
java.lang.String |
getOfferCode()
Get the 'OfferCode' attribute value. |
Paragraph |
getOfferDescription()
Get the 'OfferDescription' element value. |
Offer.OfferRules |
getOfferRules()
Get the 'OfferRules' element value. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
void |
setApplicationOrder(java.lang.Integer applicationOrder)
Set the 'ApplicationOrder' attribute value. |
void |
setCompatibleOffers(Offer.CompatibleOffers compatibleOffers)
Set the 'CompatibleOffers' element value. |
void |
setDiscount(Offer.Discount discount)
Set the 'Discount' element value. |
void |
setFreeUpgrade(Offer.FreeUpgrade freeUpgrade)
Set the 'FreeUpgrade' element value. |
void |
setGuests(Offer.Guests guests)
Set the 'Guests' element value. |
void |
setInventories(Offer.Inventories inventories)
Set the 'Inventories' element value. |
void |
setOfferCode(java.lang.String offerCode)
Set the 'OfferCode' attribute value. |
void |
setOfferDescription(Paragraph offerDescription)
Set the 'OfferDescription' element value. |
void |
setOfferRules(Offer.OfferRules offerRules)
Set the 'OfferRules' element value. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Offer()
Method Detail |
---|
public Offer.OfferRules getOfferRules()
public void setOfferRules(Offer.OfferRules offerRules)
offerRules
- public Offer.Discount getDiscount()
public void setDiscount(Offer.Discount discount)
discount
- public Offer.FreeUpgrade getFreeUpgrade()
public void setFreeUpgrade(Offer.FreeUpgrade freeUpgrade)
freeUpgrade
- public Paragraph getOfferDescription()
public void setOfferDescription(Paragraph offerDescription)
offerDescription
- public Offer.CompatibleOffers getCompatibleOffers()
public void setCompatibleOffers(Offer.CompatibleOffers compatibleOffers)
compatibleOffers
- public Offer.Inventories getInventories()
public void setInventories(Offer.Inventories inventories)
inventories
- public Offer.Guests getGuests()
public void setGuests(Offer.Guests guests)
guests
- public java.lang.String getOfferCode()
public void setOfferCode(java.lang.String offerCode)
offerCode
- public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH
- public java.lang.Integer getApplicationOrder()
public void setApplicationOrder(java.lang.Integer applicationOrder)
applicationOrder
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |