org.ota.cruise
Class PriceInfo

java.lang.Object
  extended by org.ota.cruise.PriceInfo
Direct Known Subclasses:
CategoryAvailRS.FareOption.CategoryOption.PriceInfos.PriceInfo, PkgAvailRS.CruisePackages.CruisePackage.PriceInfo, ShorexAvailRS.ShorexPackages.ShorexPackage.PriceInfo

public class PriceInfo
extends java.lang.Object

Specifies price info. Contains information that qualifies the amount priced. 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="PriceInfoType">
   <xs:sequence>
     <xs:element type="ns:FreeTextType" name="PriceDescription" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="AgeQualifyingCode"/>
   <xs:attribute type="xs:string" use="optional" name="BreakdownType"/>
   <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
   <xs:attribute type="xs:string" use="optional" name="ChargeTypeCode"/>
 </xs:complexType>
 


Constructor Summary
PriceInfo()
           
 
Method Summary
 java.lang.String getAgeQualifyingCode()
          Get the 'AgeQualifyingCode' attribute value.
 java.lang.String getBreakdown()
          Get the 'BreakdownType' attribute value.
 java.lang.String getChargeTypeCode()
          Get the 'ChargeTypeCode' attribute value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 FreeText getPriceDescription()
          Get the 'PriceDescription' element value.
 void setAgeQualifyingCode(java.lang.String ageQualifyingCode)
          Set the 'AgeQualifyingCode' attribute value.
 void setBreakdown(java.lang.String breakdown)
          Set the 'BreakdownType' attribute value.
 void setChargeTypeCode(java.lang.String chargeTypeCode)
          Set the 'ChargeTypeCode' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setPriceDescription(FreeText priceDescription)
          Set the 'PriceDescription' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriceInfo

public PriceInfo()
Method Detail

getPriceDescription

public FreeText getPriceDescription()
Get the 'PriceDescription' element value. Free text that describes the price.

Returns:
value

setPriceDescription

public void setPriceDescription(FreeText priceDescription)
Set the 'PriceDescription' element value. Free text that describes the price.

Parameters:
priceDescription -

getAgeQualifyingCode

public java.lang.String getAgeQualifyingCode()
Get the 'AgeQualifyingCode' attribute value. Contains the occupancy pricing breakdown code. This code specifies the type of passenger such as adult, child or infant. Refer to OpenTravel Code List Age Qualifying Code (AQC).

Returns:
value

setAgeQualifyingCode

public void setAgeQualifyingCode(java.lang.String ageQualifyingCode)
Set the 'AgeQualifyingCode' attribute value. Contains the occupancy pricing breakdown code. This code specifies the type of passenger such as adult, child or infant. Refer to OpenTravel Code List Age Qualifying Code (AQC).

Parameters:
ageQualifyingCode -

getBreakdown

public java.lang.String getBreakdown()
Get the 'BreakdownType' attribute value. Contains the type of breakdown for the occupancy pricing (e.g., 1/2= First and second guest price ; 3GT= Third guest price; 4GT= Fourth guest price; MGT= Additional guest price; SGL=Single; DBL= Double; TPL =Triple; QUA= Quad; QUI= Quin; and CAB= Cabin).

Returns:
value

setBreakdown

public void setBreakdown(java.lang.String breakdown)
Set the 'BreakdownType' attribute value. Contains the type of breakdown for the occupancy pricing (e.g., 1/2= First and second guest price ; 3GT= Third guest price; 4GT= Fourth guest price; MGT= Additional guest price; SGL=Single; DBL= Double; TPL =Triple; QUA= Quad; QUI= Quin; and CAB= Cabin).

Parameters:
breakdown -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. Provides amount and currency for the cruise item.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. Provides amount and currency for the cruise item.

Parameters:
currencyAmountGroup -

getChargeTypeCode

public java.lang.String getChargeTypeCode()
Get the 'ChargeTypeCode' attribute value. Specifies the basis for the price. Refer to OpenTravel Code List Charge Type (CHG).

Returns:
value

setChargeTypeCode

public void setChargeTypeCode(java.lang.String chargeTypeCode)
Set the 'ChargeTypeCode' attribute value. Specifies the basis for the price. Refer to OpenTravel Code List Charge Type (CHG).

Parameters:
chargeTypeCode -