org.ota.loyalty
Class CertificateRedemptionRQ

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

public class CertificateRedemptionRQ
extends java.lang.Object

The CertificateRedemptionRQ allows businesses to communicate with their loyalty service provider to generate redemption certificates for their customers. 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_LoyaltyCertificateRedemptionRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RedemptionInfo">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="RedemptionDetail">
               <xs:complexType>
                 <xs:attributeGroup ref="ns:LoyaltyCertificateNumberGroup"/>
                 <xs:attributeGroup ref="ns:PromotionCodeGroup"/>
               </xs:complexType>
             </xs:element>
             <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:sequence>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
CertificateRedemptionRQ()
           
 
Method Summary
 void addRedemptionInfoTravelInfo(LoyaltyTravelInfo item)
          Add a 'TravelInfo' element item.
 void clearRedemptionInfoTravelInfos()
          Remove all 'TravelInfo' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 PersonName getRedemptionInfoCustomer()
          Get the 'Customer' element value.
 LoyaltyCertificateNumberGroup getRedemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup()
          Get the 'LoyaltyCertificateNumberGroup' attributeGroup value.
 PromotionCodeGroup getRedemptionInfoRedemptionDetailPromotionCodeGroup()
          Get the 'PromotionCodeGroup' attributeGroup value.
 LoyaltyTravelInfo getRedemptionInfoTravelInfo(int index)
          Get 'TravelInfo' element item by position.
 java.util.List<LoyaltyTravelInfo> getRedemptionInfoTravelInfos()
          Get the list of 'TravelInfo' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setRedemptionInfoCustomer(PersonName redemptionInfoCustomer)
          Set the 'Customer' element value.
 void setRedemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup(LoyaltyCertificateNumberGroup redemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup)
          Set the 'LoyaltyCertificateNumberGroup' attributeGroup value.
 void setRedemptionInfoRedemptionDetailPromotionCodeGroup(PromotionCodeGroup redemptionInfoRedemptionDetailPromotionCodeGroup)
          Set the 'PromotionCodeGroup' attributeGroup value.
 void setRedemptionInfoTravelInfos(java.util.List<LoyaltyTravelInfo> list)
          Set the list of 'TravelInfo' element items.
 int sizeRedemptionInfoTravelInfos()
          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

CertificateRedemptionRQ

public CertificateRedemptionRQ()
Method Detail

getRedemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup

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

Returns:
value

setRedemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup

public void setRedemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup(LoyaltyCertificateNumberGroup redemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup)
Set the 'LoyaltyCertificateNumberGroup' attributeGroup value.

Parameters:
redemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup -

getRedemptionInfoRedemptionDetailPromotionCodeGroup

public PromotionCodeGroup getRedemptionInfoRedemptionDetailPromotionCodeGroup()
Get the 'PromotionCodeGroup' attributeGroup value.

Returns:
value

setRedemptionInfoRedemptionDetailPromotionCodeGroup

public void setRedemptionInfoRedemptionDetailPromotionCodeGroup(PromotionCodeGroup redemptionInfoRedemptionDetailPromotionCodeGroup)
Set the 'PromotionCodeGroup' attributeGroup value.

Parameters:
redemptionInfoRedemptionDetailPromotionCodeGroup -

getRedemptionInfoCustomer

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

Returns:
value

setRedemptionInfoCustomer

public void setRedemptionInfoCustomer(PersonName redemptionInfoCustomer)
Set the 'Customer' element value.

Parameters:
redemptionInfoCustomer -

getRedemptionInfoTravelInfos

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

Returns:
list

setRedemptionInfoTravelInfos

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

Parameters:
list -

sizeRedemptionInfoTravelInfos

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

Returns:
count

addRedemptionInfoTravelInfo

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

Parameters:
item -

getRedemptionInfoTravelInfo

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

Parameters:
index -
Returns:
item

clearRedemptionInfoTravelInfos

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


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 -