|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.loyalty.AccountInfo.MemberPreferences
public static class AccountInfo.MemberPreferences
Loyalty program preferences specified by the enrolling member. 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="MemberPreferences" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="AdditionalReward" minOccurs="0" maxOccurs="5">
<!-- Reference to inner class AdditionalReward -->
</xs:element>
<xs:element name="Offer" minOccurs="0" maxOccurs="5">
<!-- Reference to inner class Offer -->
</xs:element>
</xs:sequence>
<xs:attribute type="xs:string" use="optional" name="Awareness"/>
<xs:attributeGroup ref="ns:PromotionCodeGroup"/>
<xs:attribute use="optional" name="AwardsPreference">
<xs:simpleType>
<!-- Reference to inner class AwardsPreference -->
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
| Nested Class Summary | |
|---|---|
static class |
AccountInfo.MemberPreferences.AdditionalReward
Additional programs that are honored by the primary loyalty account. |
static class |
AccountInfo.MemberPreferences.AwardsPreference
Schema fragment(s) for this class: |
static class |
AccountInfo.MemberPreferences.Offer
Source from which members can receive information. |
| Constructor Summary | |
|---|---|
AccountInfo.MemberPreferences()
|
|
| Method Summary | |
|---|---|
void |
addAdditionalReward(AccountInfo.MemberPreferences.AdditionalReward item)
Add a 'AdditionalReward' element item. |
void |
addOffer(AccountInfo.MemberPreferences.Offer item)
Add a 'Offer' element item. |
void |
clearAdditionalRewards()
Remove all 'AdditionalReward' element items. |
void |
clearOffers()
Remove all 'Offer' element items. |
AccountInfo.MemberPreferences.AdditionalReward |
getAdditionalReward(int index)
Get 'AdditionalReward' element item by position. |
java.util.List<AccountInfo.MemberPreferences.AdditionalReward> |
getAdditionalRewards()
Get the list of 'AdditionalReward' element items. |
AccountInfo.MemberPreferences.AwardsPreference |
getAwardsPreference()
Get the 'AwardsPreference' attribute value. |
java.lang.String |
getAwareness()
Get the 'Awareness' attribute value. |
AccountInfo.MemberPreferences.Offer |
getOffer(int index)
Get 'Offer' element item by position. |
java.util.List<AccountInfo.MemberPreferences.Offer> |
getOffers()
Get the list of 'Offer' element items. |
PromotionCodeGroup |
getPromotionCodeGroup()
Get the 'PromotionCodeGroup' attributeGroup value. |
void |
setAdditionalRewards(java.util.List<AccountInfo.MemberPreferences.AdditionalReward> list)
Set the list of 'AdditionalReward' element items. |
void |
setAwardsPreference(AccountInfo.MemberPreferences.AwardsPreference awardsPreference)
Set the 'AwardsPreference' attribute value. |
void |
setAwareness(java.lang.String awareness)
Set the 'Awareness' attribute value. |
void |
setOffers(java.util.List<AccountInfo.MemberPreferences.Offer> list)
Set the list of 'Offer' element items. |
void |
setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
Set the 'PromotionCodeGroup' attributeGroup value. |
int |
sizeAdditionalRewards()
Get the number of 'AdditionalReward' element items. |
int |
sizeOffers()
Get the number of 'Offer' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccountInfo.MemberPreferences()
| Method Detail |
|---|
public java.util.List<AccountInfo.MemberPreferences.AdditionalReward> getAdditionalRewards()
public void setAdditionalRewards(java.util.List<AccountInfo.MemberPreferences.AdditionalReward> list)
list - public int sizeAdditionalRewards()
public void addAdditionalReward(AccountInfo.MemberPreferences.AdditionalReward item)
item - public AccountInfo.MemberPreferences.AdditionalReward getAdditionalReward(int index)
index -
public void clearAdditionalRewards()
public java.util.List<AccountInfo.MemberPreferences.Offer> getOffers()
public void setOffers(java.util.List<AccountInfo.MemberPreferences.Offer> list)
list - public int sizeOffers()
public void addOffer(AccountInfo.MemberPreferences.Offer item)
item - public AccountInfo.MemberPreferences.Offer getOffer(int index)
index -
public void clearOffers()
public java.lang.String getAwareness()
public void setAwareness(java.lang.String awareness)
awareness - public PromotionCodeGroup getPromotionCodeGroup()
public void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
promotionCodeGroup - public AccountInfo.MemberPreferences.AwardsPreference getAwardsPreference()
public void setAwardsPreference(AccountInfo.MemberPreferences.AwardsPreference awardsPreference)
awardsPreference -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||