|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.PaymentForm.Choice.LoyaltyRedemption
public static class PaymentForm.Choice.LoyaltyRedemption
Details of a loyalty redemption arrangement. This is normally miles or points. 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="LoyaltyRedemption"> <xs:complexType> <xs:sequence> <xs:element name="LoyaltyCertificate" minOccurs="0" maxOccurs="9"> <!-- Reference to inner class LoyaltyCertificate --> </xs:element> </xs:sequence> <xs:attributeGroup ref="ns:LoyaltyCertificateNumberGroup"/> <xs:attributeGroup ref="ns:PromotionCodeGroup"/> <xs:attribute type="xs:string" use="optional" name="RedemptionQuantity"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate
A certificate may be needed in order to redeem miles or points. |
Constructor Summary | |
---|---|
PaymentForm.Choice.LoyaltyRedemption()
|
Method Summary | |
---|---|
void |
addLoyaltyCertificate(PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate item)
Add a 'LoyaltyCertificate' element item. |
void |
clearLoyaltyCertificates()
Remove all 'LoyaltyCertificate' element items. |
PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate |
getLoyaltyCertificate(int index)
Get 'LoyaltyCertificate' element item by position. |
LoyaltyCertificateNumberGroup |
getLoyaltyCertificateNumberGroup()
Get the 'LoyaltyCertificateNumberGroup' attributeGroup value. |
java.util.List<PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate> |
getLoyaltyCertificates()
Get the list of 'LoyaltyCertificate' element items. |
PromotionCodeGroup |
getPromotionCodeGroup()
Get the 'PromotionCodeGroup' attributeGroup value. |
java.lang.String |
getRedemptionQuantity()
Get the 'RedemptionQuantity' attribute value. |
void |
setLoyaltyCertificateNumberGroup(LoyaltyCertificateNumberGroup loyaltyCertificateNumberGroup)
Set the 'LoyaltyCertificateNumberGroup' attributeGroup value. |
void |
setLoyaltyCertificates(java.util.List<PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate> list)
Set the list of 'LoyaltyCertificate' element items. |
void |
setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
Set the 'PromotionCodeGroup' attributeGroup value. |
void |
setRedemptionQuantity(java.lang.String redemptionQuantity)
Set the 'RedemptionQuantity' attribute value. |
int |
sizeLoyaltyCertificates()
Get the number of 'LoyaltyCertificate' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PaymentForm.Choice.LoyaltyRedemption()
Method Detail |
---|
public java.util.List<PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate> getLoyaltyCertificates()
public void setLoyaltyCertificates(java.util.List<PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate> list)
list
- public int sizeLoyaltyCertificates()
public void addLoyaltyCertificate(PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate item)
item
- public PaymentForm.Choice.LoyaltyRedemption.LoyaltyCertificate getLoyaltyCertificate(int index)
index
-
public void clearLoyaltyCertificates()
public LoyaltyCertificateNumberGroup getLoyaltyCertificateNumberGroup()
public void setLoyaltyCertificateNumberGroup(LoyaltyCertificateNumberGroup loyaltyCertificateNumberGroup)
loyaltyCertificateNumberGroup
- public PromotionCodeGroup getPromotionCodeGroup()
public void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
promotionCodeGroup
- public java.lang.String getRedemptionQuantity()
public void setRedemptionQuantity(java.lang.String redemptionQuantity)
redemptionQuantity
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |