org.ota.loyalty
Class AccountInfo.SubAccountBalance

java.lang.Object
  extended by org.ota.loyalty.AccountInfo.SubAccountBalance
Enclosing class:
AccountInfo

public static class AccountInfo.SubAccountBalance
extends java.lang.Object

Used to specify a sub-account and its point balance associated with this loyalty account. 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="SubAccountBalance" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Type"/>
     <xs:attribute type="xs:int" use="optional" name="Balance"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AccountInfo.SubAccountBalance()
           
 
Method Summary
 java.lang.Integer getBalance()
          Get the 'Balance' attribute value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 void setBalance(java.lang.Integer balance)
          Set the 'Balance' attribute value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountInfo.SubAccountBalance

public AccountInfo.SubAccountBalance()
Method Detail

getType

public java.lang.String getType()
Get the 'Type' attribute value. Describes the type of sub account (e.g. miles, points, vouchers, stays).

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. Describes the type of sub account (e.g. miles, points, vouchers, stays).

Parameters:
type -

getBalance

public java.lang.Integer getBalance()
Get the 'Balance' attribute value. The current balance for this sub account.

Returns:
value

setBalance

public void setBalance(java.lang.Integer balance)
Set the 'Balance' attribute value. The current balance for this sub account.

Parameters:
balance -