org.ota.cruise
Class CruisePriceGroup

java.lang.Object
  extended by org.ota.cruise.CruisePriceGroup

public class CruisePriceGroup
extends java.lang.Object

Specifies the pricing information Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CruisePriceGroup">
   <xs:attribute type="xs:string" use="required" name="PriceTypeCode"/>
   <xs:attribute type="xs:float" use="optional" name="Amount"/>
   <xs:attribute type="xs:boolean" use="optional" name="RestrictedIndicator"/>
   <xs:attribute type="xs:string" use="optional" name="CodeDetail"/>
   <xs:attribute type="xs:float" use="optional" name="Percent"/>
 </xs:attributeGroup>
 


Constructor Summary
CruisePriceGroup()
           
 
Method Summary
 java.lang.Float getAmount()
          Get the 'Amount' attribute value.
 java.lang.String getCodeDetail()
          Get the 'CodeDetail' attribute value.
 java.lang.Float getPercent()
          Get the 'Percent' attribute value.
 java.lang.String getPriceTypeCode()
          Get the 'PriceTypeCode' attribute value.
 java.lang.Boolean getRestrictedIndicator()
          Get the 'RestrictedIndicator' attribute value.
 void setAmount(java.lang.Float amount)
          Set the 'Amount' attribute value.
 void setCodeDetail(java.lang.String codeDetail)
          Set the 'CodeDetail' attribute value.
 void setPercent(java.lang.Float percent)
          Set the 'Percent' attribute value.
 void setPriceTypeCode(java.lang.String priceTypeCode)
          Set the 'PriceTypeCode' attribute value.
 void setRestrictedIndicator(java.lang.Boolean restrictedIndicator)
          Set the 'RestrictedIndicator' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruisePriceGroup

public CruisePriceGroup()
Method Detail

getPriceTypeCode

public java.lang.String getPriceTypeCode()
Get the 'PriceTypeCode' attribute value. Specifies what the amount is for. Refer to OpenTravel Code Table Price Type Code (PRI).

Returns:
value

setPriceTypeCode

public void setPriceTypeCode(java.lang.String priceTypeCode)
Set the 'PriceTypeCode' attribute value. Specifies what the amount is for. Refer to OpenTravel Code Table Price Type Code (PRI).

Parameters:
priceTypeCode -

getAmount

public java.lang.Float getAmount()
Get the 'Amount' attribute value. The price associated with the specified code.

Returns:
value

setAmount

public void setAmount(java.lang.Float amount)
Set the 'Amount' attribute value. The price associated with the specified code.

Parameters:
amount -

getRestrictedIndicator

public java.lang.Boolean getRestrictedIndicator()
Get the 'RestrictedIndicator' attribute value. When true, the display of the price is restricted. When false, the price may be displayed.

Returns:
value

setRestrictedIndicator

public void setRestrictedIndicator(java.lang.Boolean restrictedIndicator)
Set the 'RestrictedIndicator' attribute value. When true, the display of the price is restricted. When false, the price may be displayed.

Parameters:
restrictedIndicator -

getCodeDetail

public java.lang.String getCodeDetail()
Get the 'CodeDetail' attribute value. May be used to give further detail on the PriceTypeCode.

Returns:
value

setCodeDetail

public void setCodeDetail(java.lang.String codeDetail)
Set the 'CodeDetail' attribute value. May be used to give further detail on the PriceTypeCode.

Parameters:
codeDetail -

getPercent

public java.lang.Float getPercent()
Get the 'Percent' attribute value. The percentage value used to arrive at the amount associated with this item.

Returns:
value

setPercent

public void setPercent(java.lang.Float percent)
Set the 'Percent' attribute value. The percentage value used to arrive at the amount associated with this item.

Parameters:
percent -