|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.Amount
public class Amount
Base charge and additional charges related to a room that includes such things as additional guest amounts, cancel fees, etc. Also includes Discount percentages, total amount, and the rate description. 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="AmountType"> <xs:sequence> <xs:element type="ns:TotalType" name="Base" minOccurs="0"/> <xs:element name="AdditionalGuestAmounts" minOccurs="0"> <!-- Reference to inner class AdditionalGuestAmounts --> </xs:element> <xs:element type="ns:FeesType" name="Fees" minOccurs="0"/> <xs:element type="ns:CancelPenaltiesType" name="CancelPolicies" minOccurs="0"/> <xs:element type="ns:RequiredPaymentsType" name="PaymentPolicies" minOccurs="0"/> <xs:element name="Discount" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Discount --> </xs:element> <xs:element type="ns:TotalType" name="Total" minOccurs="0"/> <xs:element type="ns:ParagraphType" name="RateDescription" minOccurs="0"/> <xs:element type="ns:HotelAdditionalChargesType" name="AdditionalCharges" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/> <xs:attributeGroup ref="ns:AgeQualifyingGroup"/> <xs:attribute type="xs:boolean" use="optional" name="GuaranteedInd"/> <xs:attribute type="xs:int" use="optional" name="NumberOfUnits"/> <xs:attribute type="ns:TimeUnitType" use="optional" name="RateTimeUnit"/> <xs:attribute type="xs:string" use="optional" name="UnitMultiplier"/> <xs:attribute type="xs:string" use="optional" name="MinGuestApplicable"/> <xs:attribute type="xs:string" use="optional" name="MaxGuestApplicable"/> <xs:attribute type="xs:int" use="optional" name="MinLOS"/> <xs:attribute type="xs:int" use="optional" name="MaxLOS"/> <xs:attribute type="ns:DayOfWeekType" use="optional" name="StayOverDate"/> <xs:attribute type="xs:boolean" use="optional" name="AlternateCurrencyInd"/> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
Amount.AdditionalGuestAmounts
A collection of charges that apply to for additional occupants, guests or service users (over and above the rate's MaxGuest Applicable) Schema fragment(s) for this class: |
static class |
Amount.Discount
Discount percentage and/or Amount, code and textual reason for discount Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
Amount()
|
Method Summary | |
---|---|
void |
addDiscount(Amount.Discount item)
Add a 'Discount' element item. |
void |
clearDiscounts()
Remove all 'Discount' element items. |
HotelAdditionalCharges |
getAdditionalCharges()
Get the 'AdditionalCharges' element value. |
Amount.AdditionalGuestAmounts |
getAdditionalGuestAmounts()
Get the 'AdditionalGuestAmounts' element value. |
AgeQualifyingGroup |
getAgeQualifyingGroup()
Get the 'AgeQualifyingGroup' attributeGroup value. |
java.lang.Boolean |
getAlternateCurrencyInd()
Get the 'AlternateCurrencyInd' attribute value. |
Total |
getBase()
Get the 'Base' element value. |
CancelPenalties |
getCancelPolicies()
Get the 'CancelPolicies' element value. |
Amount.Discount |
getDiscount(int index)
Get 'Discount' element item by position. |
java.util.List<Amount.Discount> |
getDiscounts()
Get the list of 'Discount' element items. |
EffectiveExpireOptionalDateGroup |
getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. |
Fees |
getFees()
Get the 'Fees' element value. |
java.lang.Boolean |
getGuaranteedInd()
Get the 'GuaranteedInd' attribute value. |
java.lang.String |
getMaxGuestApplicable()
Get the 'MaxGuestApplicable' attribute value. |
java.lang.Integer |
getMaxLOS()
Get the 'MaxLOS' attribute value. |
java.lang.String |
getMinGuestApplicable()
Get the 'MinGuestApplicable' attribute value. |
java.lang.Integer |
getMinLOS()
Get the 'MinLOS' attribute value. |
java.lang.Integer |
getNumberOfUnits()
Get the 'NumberOfUnits' attribute value. |
RequiredPayments |
getPaymentPolicies()
Get the 'PaymentPolicies' element value. |
Paragraph |
getRateDescription()
Get the 'RateDescription' element value. |
TimeUnit |
getRateTimeUnit()
Get the 'RateTimeUnit' attribute value. |
DayOfWeek |
getStayOverDate()
Get the 'StayOverDate' attribute value. |
Total |
getTotal()
Get the 'Total' element value. |
java.lang.String |
getUnitMultiplier()
Get the 'UnitMultiplier' attribute value. |
void |
setAdditionalCharges(HotelAdditionalCharges additionalCharges)
Set the 'AdditionalCharges' element value. |
void |
setAdditionalGuestAmounts(Amount.AdditionalGuestAmounts additionalGuestAmounts)
Set the 'AdditionalGuestAmounts' element value. |
void |
setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
Set the 'AgeQualifyingGroup' attributeGroup value. |
void |
setAlternateCurrencyInd(java.lang.Boolean alternateCurrencyInd)
Set the 'AlternateCurrencyInd' attribute value. |
void |
setBase(Total base)
Set the 'Base' element value. |
void |
setCancelPolicies(CancelPenalties cancelPolicies)
Set the 'CancelPolicies' element value. |
void |
setDiscounts(java.util.List<Amount.Discount> list)
Set the list of 'Discount' element items. |
void |
setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. |
void |
setFees(Fees fees)
Set the 'Fees' element value. |
void |
setGuaranteedInd(java.lang.Boolean guaranteedInd)
Set the 'GuaranteedInd' attribute value. |
void |
setMaxGuestApplicable(java.lang.String maxGuestApplicable)
Set the 'MaxGuestApplicable' attribute value. |
void |
setMaxLOS(java.lang.Integer maxLOS)
Set the 'MaxLOS' attribute value. |
void |
setMinGuestApplicable(java.lang.String minGuestApplicable)
Set the 'MinGuestApplicable' attribute value. |
void |
setMinLOS(java.lang.Integer minLOS)
Set the 'MinLOS' attribute value. |
void |
setNumberOfUnits(java.lang.Integer numberOfUnits)
Set the 'NumberOfUnits' attribute value. |
void |
setPaymentPolicies(RequiredPayments paymentPolicies)
Set the 'PaymentPolicies' element value. |
void |
setRateDescription(Paragraph rateDescription)
Set the 'RateDescription' element value. |
void |
setRateTimeUnit(TimeUnit rateTimeUnit)
Set the 'RateTimeUnit' attribute value. |
void |
setStayOverDate(DayOfWeek stayOverDate)
Set the 'StayOverDate' attribute value. |
void |
setTotal(Total total)
Set the 'Total' element value. |
void |
setUnitMultiplier(java.lang.String unitMultiplier)
Set the 'UnitMultiplier' attribute value. |
int |
sizeDiscounts()
Get the number of 'Discount' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Amount()
Method Detail |
---|
public Total getBase()
public void setBase(Total base)
base
- public Amount.AdditionalGuestAmounts getAdditionalGuestAmounts()
public void setAdditionalGuestAmounts(Amount.AdditionalGuestAmounts additionalGuestAmounts)
additionalGuestAmounts
- public Fees getFees()
public void setFees(Fees fees)
fees
- public CancelPenalties getCancelPolicies()
public void setCancelPolicies(CancelPenalties cancelPolicies)
cancelPolicies
- public RequiredPayments getPaymentPolicies()
public void setPaymentPolicies(RequiredPayments paymentPolicies)
paymentPolicies
- public java.util.List<Amount.Discount> getDiscounts()
public void setDiscounts(java.util.List<Amount.Discount> list)
list
- public int sizeDiscounts()
public void addDiscount(Amount.Discount item)
item
- public Amount.Discount getDiscount(int index)
index
-
public void clearDiscounts()
public Total getTotal()
public void setTotal(Total total)
total
- public Paragraph getRateDescription()
public void setRateDescription(Paragraph rateDescription)
rateDescription
- public HotelAdditionalCharges getAdditionalCharges()
public void setAdditionalCharges(HotelAdditionalCharges additionalCharges)
additionalCharges
- public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
effectiveExpireOptionalDateGroup
- public AgeQualifyingGroup getAgeQualifyingGroup()
public void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
ageQualifyingGroup
- public java.lang.Boolean getGuaranteedInd()
public void setGuaranteedInd(java.lang.Boolean guaranteedInd)
guaranteedInd
- public java.lang.Integer getNumberOfUnits()
public void setNumberOfUnits(java.lang.Integer numberOfUnits)
numberOfUnits
- public TimeUnit getRateTimeUnit()
public void setRateTimeUnit(TimeUnit rateTimeUnit)
rateTimeUnit
- public java.lang.String getUnitMultiplier()
public void setUnitMultiplier(java.lang.String unitMultiplier)
unitMultiplier
- public java.lang.String getMinGuestApplicable()
public void setMinGuestApplicable(java.lang.String minGuestApplicable)
minGuestApplicable
- public java.lang.String getMaxGuestApplicable()
public void setMaxGuestApplicable(java.lang.String maxGuestApplicable)
maxGuestApplicable
- public java.lang.Integer getMinLOS()
public void setMinLOS(java.lang.Integer minLOS)
minLOS
- public java.lang.Integer getMaxLOS()
public void setMaxLOS(java.lang.Integer maxLOS)
maxLOS
- public DayOfWeek getStayOverDate()
public void setStayOverDate(DayOfWeek stayOverDate)
stayOverDate
- public java.lang.Boolean getAlternateCurrencyInd()
public void setAlternateCurrencyInd(java.lang.Boolean alternateCurrencyInd)
alternateCurrencyInd
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |