|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.pkg.ExtrasInfo.Periods.Period
public static class ExtrasInfo.Periods.Period
The price of the Extra per unit (which may be person, room, car etc,) and/or duration 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" type="ns:PeriodPriceType" name="Period" maxOccurs="unbounded"/> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PeriodPriceType"> <xs:complexContent> <xs:extension base="ns:OperationScheduleType"> <xs:sequence> <xs:element type="ns:PkgPriceType" name="Price" minOccurs="0" maxOccurs="5"/> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="RPH"/> <xs:attribute use="optional" name="Category"> <xs:simpleType> <!-- Reference to inner class Category --> </xs:simpleType> </xs:attribute> <xs:attribute use="optional" name="Type"> <xs:simpleType> <!-- Reference to inner class Type --> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" use="optional" name="DurationPeriod"/> <xs:attribute type="ns:PricingType" use="optional" name="PriceBasis"/> <xs:attribute type="xs:string" use="optional" name="BasePeriodRPHs"/> <xs:attribute type="xs:boolean" use="optional" name="GuidePriceIndicator"/> <xs:attribute type="xs:string" use="optional" name="MaximumPeriod"/> </xs:extension> </xs:complexContent> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
ExtrasInfo.Periods.Period.Category
Schema fragment(s) for this class: |
static class |
ExtrasInfo.Periods.Period.Type
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
ExtrasInfo.Periods.Period()
|
Method Summary | |
---|---|
void |
addPrice(PkgPrice item)
Add a 'Price' element item. |
void |
clearPrices()
Remove all 'Price' element items. |
java.lang.String |
getBasePeriodRPHs()
Get the 'BasePeriodRPHs' attribute value. |
ExtrasInfo.Periods.Period.Category |
getCategory()
Get the 'Category' attribute value. |
java.lang.String |
getDurationPeriod()
Get the 'DurationPeriod' attribute value. |
java.lang.Boolean |
getGuidePriceIndicator()
Get the 'GuidePriceIndicator' attribute value. |
java.lang.String |
getMaximumPeriod()
Get the 'MaximumPeriod' attribute value. |
OperationSchedule |
getOperationSchedule()
Get the extension value. |
PkgPrice |
getPrice(int index)
Get 'Price' element item by position. |
Pricing |
getPriceBasis()
Get the 'PriceBasis' attribute value. |
java.util.List<PkgPrice> |
getPrices()
Get the list of 'Price' element items. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
ExtrasInfo.Periods.Period.Type |
getType()
Get the 'Type' attribute value. |
void |
setBasePeriodRPHs(java.lang.String basePeriodRPHs)
Set the 'BasePeriodRPHs' attribute value. |
void |
setCategory(ExtrasInfo.Periods.Period.Category category)
Set the 'Category' attribute value. |
void |
setDurationPeriod(java.lang.String durationPeriod)
Set the 'DurationPeriod' attribute value. |
void |
setGuidePriceIndicator(java.lang.Boolean guidePriceIndicator)
Set the 'GuidePriceIndicator' attribute value. |
void |
setMaximumPeriod(java.lang.String maximumPeriod)
Set the 'MaximumPeriod' attribute value. |
void |
setOperationSchedule(OperationSchedule operationSchedule)
Set the extension value. |
void |
setPriceBasis(Pricing priceBasis)
Set the 'PriceBasis' attribute value. |
void |
setPrices(java.util.List<PkgPrice> list)
Set the list of 'Price' element items. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
void |
setType(ExtrasInfo.Periods.Period.Type type)
Set the 'Type' attribute value. |
int |
sizePrices()
Get the number of 'Price' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtrasInfo.Periods.Period()
Method Detail |
---|
public OperationSchedule getOperationSchedule()
public void setOperationSchedule(OperationSchedule operationSchedule)
operationSchedule
- public java.util.List<PkgPrice> getPrices()
public void setPrices(java.util.List<PkgPrice> list)
list
- public int sizePrices()
public void addPrice(PkgPrice item)
item
- public PkgPrice getPrice(int index)
index
-
public void clearPrices()
public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH
- public ExtrasInfo.Periods.Period.Category getCategory()
public void setCategory(ExtrasInfo.Periods.Period.Category category)
category
- public ExtrasInfo.Periods.Period.Type getType()
public void setType(ExtrasInfo.Periods.Period.Type type)
type
- public java.lang.String getDurationPeriod()
public void setDurationPeriod(java.lang.String durationPeriod)
durationPeriod
- public Pricing getPriceBasis()
public void setPriceBasis(Pricing priceBasis)
priceBasis
- public java.lang.String getBasePeriodRPHs()
public void setBasePeriodRPHs(java.lang.String basePeriodRPHs)
basePeriodRPHs
- public java.lang.Boolean getGuidePriceIndicator()
public void setGuidePriceIndicator(java.lang.Boolean guidePriceIndicator)
guidePriceIndicator
- public java.lang.String getMaximumPeriod()
public void setMaximumPeriod(java.lang.String maximumPeriod)
maximumPeriod
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |