|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.Document
org.ota.air.AirCheckIn.PassengerFlightInfo.APIInfo
public static class AirCheckIn.PassengerFlightInfo.APIInfo
Advanced passenger information that can pertain to an adult or an infant for up to five unique document types (e.g., visa, passport). The AIRIMP 0405 spec (sections 3.12 through 3.14) specifies these data elements. 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="API_Info" minOccurs="0" maxOccurs="10"> <xs:complexType> <xs:complexContent> <xs:extension base="ns:DocumentType"> <xs:sequence> <xs:element type="ns:AddressType" name="Address" minOccurs="0" maxOccurs="2"/> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="API_InfoSource"/> <xs:attribute type="xs:boolean" use="optional" name="InfantInd"/> <xs:attribute type="xs:string" use="optional" name="BirthStateProv"/> <xs:attribute type="xs:string" use="optional" name="BirthLocation"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.ota.shared.Document |
---|
Document.AdditionalPersonNames, Document.Choice, Document.Holder |
Constructor Summary | |
---|---|
AirCheckIn.PassengerFlightInfo.APIInfo()
|
Method Summary | |
---|---|
void |
addAddress(Address item)
Add a 'Address' element item. |
void |
clearAddresses()
Remove all 'Address' element items. |
Address |
getAddress(int index)
Get 'Address' element item by position. |
java.util.List<Address> |
getAddresses()
Get the list of 'Address' element items. |
java.lang.String |
getAPIInfoSource()
Get the 'API_InfoSource' attribute value. |
java.lang.String |
getBirthLocation()
Get the 'BirthLocation' attribute value. |
java.lang.String |
getBirthStateProv()
Get the 'BirthStateProv' attribute value. |
java.lang.Boolean |
getInfantInd()
Get the 'InfantInd' attribute value. |
void |
setAddresses(java.util.List<Address> list)
Set the list of 'Address' element items. |
void |
setAPIInfoSource(java.lang.String APIInfoSource)
Set the 'API_InfoSource' attribute value. |
void |
setBirthLocation(java.lang.String birthLocation)
Set the 'BirthLocation' attribute value. |
void |
setBirthStateProv(java.lang.String birthStateProv)
Set the 'BirthStateProv' attribute value. |
void |
setInfantInd(java.lang.Boolean infantInd)
Set the 'InfantInd' attribute value. |
int |
sizeAddresses()
Get the number of 'Address' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AirCheckIn.PassengerFlightInfo.APIInfo()
Method Detail |
---|
public java.util.List<Address> getAddresses()
public void setAddresses(java.util.List<Address> list)
list
- public int sizeAddresses()
public void addAddress(Address item)
item
- public Address getAddress(int index)
index
-
public void clearAddresses()
public java.lang.String getAPIInfoSource()
public void setAPIInfoSource(java.lang.String APIInfoSource)
APIInfoSource
- public java.lang.Boolean getInfantInd()
public void setInfantInd(java.lang.Boolean infantInd)
infantInd
- public java.lang.String getBirthStateProv()
public void setBirthStateProv(java.lang.String birthStateProv)
birthStateProv
- public java.lang.String getBirthLocation()
public void setBirthLocation(java.lang.String birthLocation)
birthLocation
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |