org.ota.shared
Class PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate

java.lang.Object
  extended by org.ota.shared.PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate
Enclosing class:
PaymentForm.Choice.LoyaltyRedemption

public static class PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate
extends java.lang.Object

A certificate may be needed in order to redeem miles or points. Certificates may be used in combination with each other as part of a reservation. 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="LoyaltyCertificate" minOccurs="0" maxOccurs="9">
   <xs:complexType>
     <xs:attributeGroup ref="ns:LoyaltyCertificateGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LoyaltyCertificateGroup">
   <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
   <xs:attribute type="xs:string" use="optional" name="ID_Context"/>
   <xs:attributeGroup ref="ns:LoyaltyCertificateNumberGroup"/>
   <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/>
   <xs:attribute type="xs:int" use="optional" name="NmbrOfNights"/>
   <xs:attribute use="optional" name="Format">
     <xs:simpleType>
       <!-- Reference to inner class Format -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:string" use="optional" name="Status"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_OptionalGroup">
   <xs:attribute type="xs:string" use="optional" name="ID"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate.Format
          Schema fragment(s) for this class:
 
Constructor Summary
PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate()
           
 
Method Summary
 EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
          Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate.Format getFormat()
          Get the 'Format' attribute value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.lang.String getIDContext()
          Get the 'ID_Context' attribute value.
 LoyaltyCertificateNumberGroup getLoyaltyCertificateNumberGroup()
          Get the 'LoyaltyCertificateNumberGroup' attributeGroup value.
 java.lang.Integer getNmbrOfNights()
          Get the 'NmbrOfNights' attribute value.
 java.lang.String getStatus()
          Get the 'Status' attribute value.
 void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
          Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 void setFormat(PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate.Format format)
          Set the 'Format' attribute value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setIDContext(java.lang.String IDContext)
          Set the 'ID_Context' attribute value.
 void setLoyaltyCertificateNumberGroup(LoyaltyCertificateNumberGroup loyaltyCertificateNumberGroup)
          Set the 'LoyaltyCertificateNumberGroup' attributeGroup value.
 void setNmbrOfNights(java.lang.Integer nmbrOfNights)
          Set the 'NmbrOfNights' attribute value.
 void setStatus(java.lang.String status)
          Set the 'Status' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate

public PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate()
Method Detail

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -

getIDContext

public java.lang.String getIDContext()
Get the 'ID_Context' attribute value. Identifies the source of the code that identifies program or promotion within a loyalty scheme

Returns:
value

setIDContext

public void setIDContext(java.lang.String IDContext)
Set the 'ID_Context' attribute value. Identifies the source of the code that identifies program or promotion within a loyalty scheme

Parameters:
IDContext -

getLoyaltyCertificateNumberGroup

public LoyaltyCertificateNumberGroup getLoyaltyCertificateNumberGroup()
Get the 'LoyaltyCertificateNumberGroup' attributeGroup value. Identifies the unique certificate number and the loyalty program and the membership ID associated with this certificate

Returns:
value

setLoyaltyCertificateNumberGroup

public void setLoyaltyCertificateNumberGroup(LoyaltyCertificateNumberGroup loyaltyCertificateNumberGroup)
Set the 'LoyaltyCertificateNumberGroup' attributeGroup value. Identifies the unique certificate number and the loyalty program and the membership ID associated with this certificate

Parameters:
loyaltyCertificateNumberGroup -

getEffectiveExpireOptionalDateGroup

public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. Identifies either the date range when the Certificate is valid or the dates against which the certificate is being applied

Returns:
value

setEffectiveExpireOptionalDateGroup

public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. Identifies either the date range when the Certificate is valid or the dates against which the certificate is being applied

Parameters:
effectiveExpireOptionalDateGroup -

getNmbrOfNights

public java.lang.Integer getNmbrOfNights()
Get the 'NmbrOfNights' attribute value. The number of nights of the hotel stay that are used to calculate the redemption amount.

Returns:
value

setNmbrOfNights

public void setNmbrOfNights(java.lang.Integer nmbrOfNights)
Set the 'NmbrOfNights' attribute value. The number of nights of the hotel stay that are used to calculate the redemption amount.

Parameters:
nmbrOfNights -

getFormat

public PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate.Format getFormat()
Get the 'Format' attribute value. Indicates what form the certificate is in e.g. Paper or Electronic

Returns:
value

setFormat

public void setFormat(PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate.Format format)
Set the 'Format' attribute value. Indicates what form the certificate is in e.g. Paper or Electronic

Parameters:
format -

getStatus

public java.lang.String getStatus()
Get the 'Status' attribute value. Used to define the status of the certificate e.g. Available, Voided, Cancelled, Reserved, Used.

Returns:
value

setStatus

public void setStatus(java.lang.String status)
Set the 'Status' attribute value. Used to define the status of the certificate e.g. Available, Voided, Cancelled, Reserved, Used.

Parameters:
status -