org.ota.pkg
Class PkgPrice

java.lang.Object
  extended by org.ota.pkg.PkgPrice
Direct Known Subclasses:
AvailRS._package.PriceInfo

public class PkgPrice
extends java.lang.Object

Gives a price for a quantity of a traveller type e.g. a price for 2 adults. 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="PkgPriceType">
   <xs:attributeGroup ref="ns:TravelerCountGroup"/>
   <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
   <xs:attribute type="ns:PricingType" use="optional" name="PriceBasis"/>
 </xs:complexType>
 


Constructor Summary
PkgPrice()
           
 
Method Summary
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 Pricing getPriceBasis()
          Get the 'PriceBasis' attribute value.
 TravelerCountGroup getTravelerCountGroup()
          Get the 'TravelerCountGroup' attributeGroup value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setPriceBasis(Pricing priceBasis)
          Set the 'PriceBasis' attribute value.
 void setTravelerCountGroup(TravelerCountGroup travelerCountGroup)
          Set the 'TravelerCountGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PkgPrice

public PkgPrice()
Method Detail

getTravelerCountGroup

public TravelerCountGroup getTravelerCountGroup()
Get the 'TravelerCountGroup' attributeGroup value.

Returns:
value

setTravelerCountGroup

public void setTravelerCountGroup(TravelerCountGroup travelerCountGroup)
Set the 'TravelerCountGroup' attributeGroup value.

Parameters:
travelerCountGroup -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value.

Parameters:
currencyAmountGroup -

getPriceBasis

public Pricing getPriceBasis()
Get the 'PriceBasis' attribute value. An enumerated type that defines how a service is priced. Values: Per stay, Per person, Per night, Per person per night, Per use.

Returns:
value

setPriceBasis

public void setPriceBasis(Pricing priceBasis)
Set the 'PriceBasis' attribute value. An enumerated type that defines how a service is priced. Values: Per stay, Per person, Per night, Per person per night, Per use.

Parameters:
priceBasis -