java.lang.Object
de.hybris.platform.ndc182facades.messages.airshoppingresponse.PostalAddressType

public class PostalAddressType extends Object
Natural or physical address used for postal service. May be a building address, airport address, etc.

Java class for PostalAddressType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PostalAddressType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="BuildingRoomText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}TextType" minOccurs="0"/>
         <element name="CityName" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}NameType" minOccurs="0"/>
         <element name="CountryCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}CountryCodeType" minOccurs="0"/>
         <element name="CountryName" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}ProperNameType" minOccurs="0"/>
         <element name="CountrySubDivisionName" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}ProperNameType" minOccurs="0"/>
         <element name="LabelText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}TextType" minOccurs="0"/>
         <element name="POBoxCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}CodeType" minOccurs="0"/>
         <element name="PostalCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}CodeType" minOccurs="0"/>
         <element name="StreetText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRS}TextType" maxOccurs="2" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • buildingRoomText

      protected String buildingRoomText
    • cityName

      protected String cityName
    • countryCode

      protected String countryCode
    • countryName

      protected String countryName
    • countrySubDivisionName

      protected String countrySubDivisionName
    • labelText

      protected String labelText
    • poBoxCode

      protected String poBoxCode
    • postalCode

      protected String postalCode
    • streetText

      protected List<String> streetText
  • Constructor Details

    • PostalAddressType

      public PostalAddressType()
  • Method Details

    • getBuildingRoomText

      public String getBuildingRoomText()
      Gets the value of the buildingRoomText property.
      Returns:
      possible object is String
    • setBuildingRoomText

      public void setBuildingRoomText(String value)
      Sets the value of the buildingRoomText property.
      Parameters:
      value - allowed object is String
    • getCityName

      public String getCityName()
      Gets the value of the cityName property.
      Returns:
      possible object is String
    • setCityName

      public void setCityName(String value)
      Sets the value of the cityName property.
      Parameters:
      value - allowed object is String
    • getCountryCode

      public String getCountryCode()
      Gets the value of the countryCode property.
      Returns:
      possible object is String
    • setCountryCode

      public void setCountryCode(String value)
      Sets the value of the countryCode property.
      Parameters:
      value - allowed object is String
    • getCountryName

      public String getCountryName()
      Gets the value of the countryName property.
      Returns:
      possible object is String
    • setCountryName

      public void setCountryName(String value)
      Sets the value of the countryName property.
      Parameters:
      value - allowed object is String
    • getCountrySubDivisionName

      public String getCountrySubDivisionName()
      Gets the value of the countrySubDivisionName property.
      Returns:
      possible object is String
    • setCountrySubDivisionName

      public void setCountrySubDivisionName(String value)
      Sets the value of the countrySubDivisionName property.
      Parameters:
      value - allowed object is String
    • getLabelText

      public String getLabelText()
      Gets the value of the labelText property.
      Returns:
      possible object is String
    • setLabelText

      public void setLabelText(String value)
      Sets the value of the labelText property.
      Parameters:
      value - allowed object is String
    • getPOBoxCode

      public String getPOBoxCode()
      Gets the value of the poBoxCode property.
      Returns:
      possible object is String
    • setPOBoxCode

      public void setPOBoxCode(String value)
      Sets the value of the poBoxCode property.
      Parameters:
      value - allowed object is String
    • getPostalCode

      public String getPostalCode()
      Gets the value of the postalCode property.
      Returns:
      possible object is String
    • setPostalCode

      public void setPostalCode(String value)
      Sets the value of the postalCode property.
      Parameters:
      value - allowed object is String
    • getStreetText

      public List<String> getStreetText()
      Gets the value of the streetText property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the streetText property.

      For example, to add a new item, do as follows:

          getStreetText().add(newItem);
       

      Objects of the following type(s) are allowed in the list String