Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2012A.cruise;
  
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>
 
 
 public class PriceInfo
 {
     private FreeText priceDescription;
     private String ageQualifyingCode;
     private String breakdown;
     private String chargeTypeCode;

    
Get the 'PriceDescription' element value. Free text that describes the price.

Returns:
value
 
     public FreeText getPriceDescription() {
         return ;
     }

    
Set the 'PriceDescription' element value. Free text that describes the price.

Parameters:
priceDescription
 
     public void setPriceDescription(FreeText priceDescription) {
         this. = priceDescription;
     }

    
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
 
     public String getAgeQualifyingCode() {
         return ;
     }

    
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
 
     public void setAgeQualifyingCode(String ageQualifyingCode) {
         this. = ageQualifyingCode;
     }

    
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
 
     public String getBreakdown() {
         return ;
     }

    
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
 
     public void setBreakdown(String breakdown) {
         this. = breakdown;
     }

    
Get the 'CurrencyAmountGroup' attributeGroup value. Provides amount and currency for the cruise item.

Returns:
value
 
         return ;
     }

    
Set the 'CurrencyAmountGroup' attributeGroup value. Provides amount and currency for the cruise item.

Parameters:
currencyAmountGroup
 
     public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup) {
        this. = currencyAmountGroup;
    }

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

Returns:
value
    public String getChargeTypeCode() {
        return ;
    }

    
Set the 'ChargeTypeCode' attribute value. Specifies the basis for the price. Refer to OpenTravel Code List Charge Type (CHG).

Parameters:
chargeTypeCode
    public void setChargeTypeCode(String chargeTypeCode) {
        this. = chargeTypeCode;
    }
New to GrepCode? Check out our FAQ X