org.ota.cruise
Class SearchQualifier.Residency

java.lang.Object
  extended by org.ota.cruise.SearchQualifier.Residency
Enclosing class:
SearchQualifier

public static class SearchQualifier.Residency
extends java.lang.Object

Defines where the passenger resides for fare calculation purposes. 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="Residency" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="StateProvCode"/>
     <xs:attribute type="xs:string" use="optional" name="CountryCode"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
SearchQualifier.Residency()
           
 
Method Summary
 java.lang.String getCountryCode()
          Get the 'CountryCode' attribute value.
 java.lang.String getStateProvCode()
          Get the 'StateProvCode' attribute value.
 void setCountryCode(java.lang.String countryCode)
          Set the 'CountryCode' attribute value.
 void setStateProvCode(java.lang.String stateProvCode)
          Set the 'StateProvCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchQualifier.Residency

public SearchQualifier.Residency()
Method Detail

getStateProvCode

public java.lang.String getStateProvCode()
Get the 'StateProvCode' attribute value. The standard code or abbreviation for the state, province, or region

Returns:
value

setStateProvCode

public void setStateProvCode(java.lang.String stateProvCode)
Set the 'StateProvCode' attribute value. The standard code or abbreviation for the state, province, or region

Parameters:
stateProvCode -

getCountryCode

public java.lang.String getCountryCode()
Get the 'CountryCode' attribute value. 2 character country code as defined in ISO3166.

Returns:
value

setCountryCode

public void setCountryCode(java.lang.String countryCode)
Set the 'CountryCode' attribute value. 2 character country code as defined in ISO3166.

Parameters:
countryCode -