org.ota.loyalty
Class AccountCreateRQ

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

public class AccountCreateRQ
extends java.lang.Object

The message set will allow businesses to send enrolment information to their loyalty service provider to create a new account for one of their customers. This message will be based on the profile structure (OTA_Profile.xsd) with extensions for information that pertains only to loyalty account creation. In response, a message containing the newly created account information (e.g. membership ID) would be returned. 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_LoyaltyAccountCreateRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:AccountInfoType" name="AccountInfo"/>
       <xs:element type="ns:LocationType" name="Location" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AccountCreateRQ()
           
 
Method Summary
 AccountInfo getAccountInfo()
          Get the 'AccountInfo' element value.
 Location getLocation()
          Get the 'Location' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setAccountInfo(AccountInfo accountInfo)
          Set the 'AccountInfo' element value.
 void setLocation(Location location)
          Set the 'Location' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountCreateRQ

public AccountCreateRQ()
Method Detail

getAccountInfo

public AccountInfo getAccountInfo()
Get the 'AccountInfo' element value.

Returns:
value

setAccountInfo

public void setAccountInfo(AccountInfo accountInfo)
Set the 'AccountInfo' element value.

Parameters:
accountInfo -

getLocation

public Location getLocation()
Get the 'Location' element value. The location code where the enrollment originated.

Returns:
value

setLocation

public void setLocation(Location location)
Set the 'Location' element value. The location code where the enrollment originated.

Parameters:
location -

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 -