|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.loyalty.AccountInfo
public class AccountInfo
Loyalty specific member profile information. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AccountInfoType">
<xs:sequence>
<xs:element type="ns:ContactPersonType" name="MemberInfo"/>
<xs:element name="MemberPreferences" minOccurs="0">
<!-- Reference to inner class MemberPreferences -->
</xs:element>
<xs:element name="SecurityInfo" minOccurs="0">
<!-- Reference to inner class SecurityInfo -->
</xs:element>
<xs:element name="SubAccountBalance" minOccurs="0" maxOccurs="99">
<!-- Reference to inner class SubAccountBalance -->
</xs:element>
</xs:sequence>
<xs:attribute type="xs:int" use="optional" name="PointBalance"/>
<xs:attribute use="optional" name="EnrollmentType">
<xs:simpleType>
<!-- Reference to inner class Enrollment -->
</xs:simpleType>
</xs:attribute>
<xs:attribute type="xs:string" use="optional" name="EnrollmentMethod"/>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
AccountInfo.Enrollment
Schema fragment(s) for this class: |
static class |
AccountInfo.MemberPreferences
Loyalty program preferences specified by the enrolling member. |
static class |
AccountInfo.SecurityInfo
Information allowing member to securely access account. |
static class |
AccountInfo.SubAccountBalance
Used to specify a sub-account and its point balance associated with this loyalty account. |
| Constructor Summary | |
|---|---|
AccountInfo()
|
|
| Method Summary | |
|---|---|
void |
addSubAccountBalance(AccountInfo.SubAccountBalance item)
Add a 'SubAccountBalance' element item. |
void |
clearSubAccountBalances()
Remove all 'SubAccountBalance' element items. |
AccountInfo.Enrollment |
getEnrollment()
Get the 'EnrollmentType' attribute value. |
java.lang.String |
getEnrollmentMethod()
Get the 'EnrollmentMethod' attribute value. |
ContactPerson |
getMemberInfo()
Get the 'MemberInfo' element value. |
AccountInfo.MemberPreferences |
getMemberPreferences()
Get the 'MemberPreferences' element value. |
java.lang.Integer |
getPointBalance()
Get the 'PointBalance' attribute value. |
AccountInfo.SecurityInfo |
getSecurityInfo()
Get the 'SecurityInfo' element value. |
AccountInfo.SubAccountBalance |
getSubAccountBalance(int index)
Get 'SubAccountBalance' element item by position. |
java.util.List<AccountInfo.SubAccountBalance> |
getSubAccountBalances()
Get the list of 'SubAccountBalance' element items. |
void |
setEnrollment(AccountInfo.Enrollment enrollment)
Set the 'EnrollmentType' attribute value. |
void |
setEnrollmentMethod(java.lang.String enrollmentMethod)
Set the 'EnrollmentMethod' attribute value. |
void |
setMemberInfo(ContactPerson memberInfo)
Set the 'MemberInfo' element value. |
void |
setMemberPreferences(AccountInfo.MemberPreferences memberPreferences)
Set the 'MemberPreferences' element value. |
void |
setPointBalance(java.lang.Integer pointBalance)
Set the 'PointBalance' attribute value. |
void |
setSecurityInfo(AccountInfo.SecurityInfo securityInfo)
Set the 'SecurityInfo' element value. |
void |
setSubAccountBalances(java.util.List<AccountInfo.SubAccountBalance> list)
Set the list of 'SubAccountBalance' element items. |
int |
sizeSubAccountBalances()
Get the number of 'SubAccountBalance' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccountInfo()
| Method Detail |
|---|
public ContactPerson getMemberInfo()
public void setMemberInfo(ContactPerson memberInfo)
memberInfo - public AccountInfo.MemberPreferences getMemberPreferences()
public void setMemberPreferences(AccountInfo.MemberPreferences memberPreferences)
memberPreferences - public AccountInfo.SecurityInfo getSecurityInfo()
public void setSecurityInfo(AccountInfo.SecurityInfo securityInfo)
securityInfo - public java.util.List<AccountInfo.SubAccountBalance> getSubAccountBalances()
public void setSubAccountBalances(java.util.List<AccountInfo.SubAccountBalance> list)
list - public int sizeSubAccountBalances()
public void addSubAccountBalance(AccountInfo.SubAccountBalance item)
item - public AccountInfo.SubAccountBalance getSubAccountBalance(int index)
index -
public void clearSubAccountBalances()
public java.lang.Integer getPointBalance()
public void setPointBalance(java.lang.Integer pointBalance)
pointBalance - public AccountInfo.Enrollment getEnrollment()
public void setEnrollment(AccountInfo.Enrollment enrollment)
enrollment - public java.lang.String getEnrollmentMethod()
public void setEnrollmentMethod(java.lang.String enrollmentMethod)
enrollmentMethod -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||