org.ota.misc
Class PurchaseItemRQ

java.lang.Object
  extended by org.ota.misc.PurchaseItemRQ

public class PurchaseItemRQ
extends java.lang.Object

Used to electronically purchase various types of items. 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_PurchaseItemRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element type="ns:OrdersType" name="Orders" minOccurs="0"/>
       <xs:element type="ns:RecipientInfosType" name="RecipientInfos" minOccurs="0"/>
       <xs:element name="PurchaserInfo" minOccurs="0">
         <!-- Reference to inner class PurchaserInfo -->
       </xs:element>
       <xs:element type="ns:PaymentDetailType" name="PaymentInformation" minOccurs="0"/>
       <xs:element name="Comments" minOccurs="0">
         <!-- Reference to inner class Comments -->
       </xs:element>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class PurchaseItemRQ.Comments
          A collection of comments.
static class PurchaseItemRQ.PurchaserInfo
          Contact and loyalty information for the purchaser of the order(s).
 
Constructor Summary
PurchaseItemRQ()
           
 
Method Summary
 PurchaseItemRQ.Comments getComments()
          Get the 'Comments' element value.
 Orders getOrders()
          Get the 'Orders' element value.
 OTAPayloadStdAttributes getPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 PaymentDetail getPaymentInformation()
          Get the 'PaymentInformation' element value.
 POS getPOS()
          Get the 'POS' element value.
 PurchaseItemRQ.PurchaserInfo getPurchaserInfo()
          Get the 'PurchaserInfo' element value.
 RecipientInfos getRecipientInfos()
          Get the 'RecipientInfos' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setComments(PurchaseItemRQ.Comments comments)
          Set the 'Comments' element value.
 void setOrders(Orders orders)
          Set the 'Orders' element value.
 void setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPaymentInformation(PaymentDetail paymentInformation)
          Set the 'PaymentInformation' element value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setPurchaserInfo(PurchaseItemRQ.PurchaserInfo purchaserInfo)
          Set the 'PurchaserInfo' element value.
 void setRecipientInfos(RecipientInfos recipientInfos)
          Set the 'RecipientInfos' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurchaseItemRQ

public PurchaseItemRQ()
Method Detail

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. An identifier used to uniquely reference an object in a system.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. An identifier used to uniquely reference an object in a system.

Parameters:
uniqueID -

getPOS

public POS getPOS()
Get the 'POS' element value. Used to identify the source (system and/or person) taking the order.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Used to identify the source (system and/or person) taking the order.

Parameters:
POS -

getOrders

public Orders getOrders()
Get the 'Orders' element value. A collection of orders. This element also contains attributes that house high level information pertaining to the orders within this message.

Returns:
value

setOrders

public void setOrders(Orders orders)
Set the 'Orders' element value. A collection of orders. This element also contains attributes that house high level information pertaining to the orders within this message.

Parameters:
orders -

getRecipientInfos

public RecipientInfos getRecipientInfos()
Get the 'RecipientInfos' element value. A collection of recipient infos.

Returns:
value

setRecipientInfos

public void setRecipientInfos(RecipientInfos recipientInfos)
Set the 'RecipientInfos' element value. A collection of recipient infos.

Parameters:
recipientInfos -

getPurchaserInfo

public PurchaseItemRQ.PurchaserInfo getPurchaserInfo()
Get the 'PurchaserInfo' element value.

Returns:
value

setPurchaserInfo

public void setPurchaserInfo(PurchaseItemRQ.PurchaserInfo purchaserInfo)
Set the 'PurchaserInfo' element value.

Parameters:
purchaserInfo -

getPaymentInformation

public PaymentDetail getPaymentInformation()
Get the 'PaymentInformation' element value. Payment information for the purchaser of the order.

Returns:
value

setPaymentInformation

public void setPaymentInformation(PaymentDetail paymentInformation)
Set the 'PaymentInformation' element value. Payment information for the purchaser of the order.

Parameters:
paymentInformation -

getComments

public PurchaseItemRQ.Comments getComments()
Get the 'Comments' element value.

Returns:
value

setComments

public void setComments(PurchaseItemRQ.Comments comments)
Set the 'Comments' element value.

Parameters:
comments -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getPayloadStdAttributes

public OTAPayloadStdAttributes getPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value

setPayloadStdAttributes

public void setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
payloadStdAttributes -