org.ota.loyalty
Class CertificateCreateNotifRQ

java.lang.Object
  extended by org.ota.loyalty.CertificateCreateNotifRQ

public class CertificateCreateNotifRQ
extends java.lang.Object

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>
 


Constructor Summary
CertificateCreateNotifRQ()
           
 
Method Summary
 void addTravelInfosTravelInfo(LoyaltyTravelInfo item)
          Add a 'TravelInfo' element item.
 void clearTravelInfosTravelInfos()
          Remove all 'TravelInfo' element items.
 PersonName getCustomer()
          Get the 'Customer' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 LoyaltyCertificateNumberGroup getTravelInfosCertificateNumber()
          Get the 'LoyaltyCertificateNumberGroup' attributeGroup value.
 LoyaltyTravelInfo getTravelInfosTravelInfo(int index)
          Get 'TravelInfo' element item by position.
 java.util.List<LoyaltyTravelInfo> getTravelInfosTravelInfos()
          Get the list of 'TravelInfo' element items.
 void setCustomer(PersonName customer)
          Set the 'Customer' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setTravelInfosCertificateNumber(LoyaltyCertificateNumberGroup travelInfosCertificateNumber)
          Set the 'LoyaltyCertificateNumberGroup' attributeGroup value.
 void setTravelInfosTravelInfos(java.util.List<LoyaltyTravelInfo> list)
          Set the list of 'TravelInfo' element items.
 int sizeTravelInfosTravelInfos()
          Get the number of 'TravelInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateCreateNotifRQ

public CertificateCreateNotifRQ()
Method Detail

getCustomer

public PersonName getCustomer()
Get the 'Customer' element value.

Returns:
value

setCustomer

public void setCustomer(PersonName customer)
Set the 'Customer' element value.

Parameters:
customer -

getTravelInfosTravelInfos

public java.util.List<LoyaltyTravelInfo> getTravelInfosTravelInfos()
Get the list of 'TravelInfo' element items.

Returns:
list

setTravelInfosTravelInfos

public void setTravelInfosTravelInfos(java.util.List<LoyaltyTravelInfo> list)
Set the list of 'TravelInfo' element items.

Parameters:
list -

sizeTravelInfosTravelInfos

public int sizeTravelInfosTravelInfos()
Get the number of 'TravelInfo' element items.

Returns:
count

addTravelInfosTravelInfo

public void addTravelInfosTravelInfo(LoyaltyTravelInfo item)
Add a 'TravelInfo' element item.

Parameters:
item -

getTravelInfosTravelInfo

public LoyaltyTravelInfo getTravelInfosTravelInfo(int index)
Get 'TravelInfo' element item by position.

Parameters:
index -
Returns:
item

clearTravelInfosTravelInfos

public void clearTravelInfosTravelInfos()
Remove all 'TravelInfo' element items.


getTravelInfosCertificateNumber

public LoyaltyCertificateNumberGroup getTravelInfosCertificateNumber()
Get the 'LoyaltyCertificateNumberGroup' attributeGroup value.

Returns:
value

setTravelInfosCertificateNumber

public void setTravelInfosCertificateNumber(LoyaltyCertificateNumberGroup travelInfosCertificateNumber)
Set the 'LoyaltyCertificateNumberGroup' attributeGroup value.

Parameters:
travelInfosCertificateNumber -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -