Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2012A.loyalty;
  
  import java.util.List;
The CertificateCreateNotifRQ allows loyalty service provider to communicate to business that a redemption certificates has been created. 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_LoyaltyCertificateCreateNotifRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:PersonNameType" name="Customer" minOccurs="0"/>
       <xs:element name="TravelInfos">
         <xs:complexType>
           <xs:sequence>
             <xs:element type="ns:LoyaltyTravelInfoType" name="TravelInfo" maxOccurs="99"/>
             <xs:element name="CertificateNumber">
               <xs:complexType>
                 <xs:attributeGroup ref="ns:LoyaltyCertificateNumberGroup"/>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 
 
 {
     private PersonName customer;
Get the 'Customer' element value. Information about an individual customer.

Returns:
value
 
     public PersonName getCustomer() {
         return ;
     }

    
Set the 'Customer' element value. Information about an individual customer.

Parameters:
customer
 
     public void setCustomer(PersonName customer) {
         this. = customer;
     }

    
Get the list of 'TravelInfo' element items. Information about the customers trip, including hotel stay, air flight, car rental, tour/activity, rail and ground transportation.

Returns:
list
 
         return ;
     }

    
Set the list of 'TravelInfo' element items. Information about the customers trip, including hotel stay, air flight, car rental, tour/activity, rail and ground transportation.

Parameters:
list
 
     public void setTravelInfosTravelInfoList(List<LoyaltyTravelInfolist) {
          = list;
     }

    
Get the number of 'TravelInfo' element items.

Returns:
count
 
     public int sizeTravelInfosTravelInfoList() {
         return .size();
     }

    
Add a 'TravelInfo' element item.

Parameters:
item
 
     public void addTravelInfosTravelInfo(LoyaltyTravelInfo item) {
         .add(item);
     }

    
Get 'TravelInfo' element item by position.

Parameters:
index
Returns:
item
    public LoyaltyTravelInfo getTravelInfosTravelInfo(int index) {
        return .get(index);
    }

    
Remove all 'TravelInfo' element items.
    public void clearTravelInfosTravelInfoList() {
    }

    
Get the 'LoyaltyCertificateNumberGroup' attributeGroup value. Information about the customers loyalty program and certificates.

Returns:
value
        return ;
    }

    
Set the 'LoyaltyCertificateNumberGroup' attributeGroup value. Information about the customers loyalty program and certificates.

Parameters:
travelInfosCertificateNumber
    public void setTravelInfosCertificateNumber(
            LoyaltyCertificateNumberGroup travelInfosCertificateNumber) {
        this. = travelInfosCertificateNumber;
    }

    
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value
        return ;
    }

    
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

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