Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2012A.cruise;
  
The cancellation pricing request message is used to price the cancellation penalities if a reservation were to be cancelled. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OTA_CruiseCancellationPricingRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element type="ns:UniqueID_Type" name="ReservationID"/>
       <xs:element name="Currency" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 
 
 public class CancellationPricingRQ
 {
     private POS POS;
     private UniqueID reservationID;
     private CurrencyCodeGroup currency;
Get the 'POS' element value. Point of sale object.

Returns:
value
 
     public POS getPOS() {
         return ;
     }

    
Set the 'POS' element value. Point of sale object.

Parameters:
POS
 
     public void setPOS(POS POS) {
         this. = POS;
     }

    
Get the 'ReservationID' element value. Specifies the guest's booking ID (e.g. Vendor Confirmation Number).

Returns:
value
 
     public UniqueID getReservationID() {
         return ;
     }

    
Set the 'ReservationID' element value. Specifies the guest's booking ID (e.g. Vendor Confirmation Number).

Parameters:
reservationID
 
     public void setReservationID(UniqueID reservationID) {
         this. = reservationID;
     }

    
Get the 'CurrencyCodeGroup' attributeGroup value. Currency in which the fees will be returned.

Returns:
value
 
     public CurrencyCodeGroup getCurrency() {
         return ;
     }

    
Set the 'CurrencyCodeGroup' attributeGroup value. Currency in which the fees will be returned.

Parameters:
currency
 
     public void setCurrency(CurrencyCodeGroup currency) {
         this. = currency;
     }

    
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value
 
         return ;
     }

    
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

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