Class GeographicAddress


  • @Validated
    @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
               date="2020-06-25T12:53:59.275Z")
    public class GeographicAddress
    extends java.lang.Object
    A geographic address is a structured textual way of describing how to find a Property in an urban area (country properties are often defined differently)
    • Constructor Detail

      • GeographicAddress

        public GeographicAddress()
    • Method Detail

      • getId

        public java.lang.String getId()
        Unique identifier of the address
        Returns:
        id
      • setId

        public void setId​(java.lang.String id)
      • getHref

        public java.lang.String getHref()
        An URI used to access to the address resource
        Returns:
        href
      • setHref

        public void setHref​(java.lang.String href)
      • getStreetNr

        public java.lang.String getStreetNr()
        Number identifying a specific property on a public street. It may be combined with streetNrLast for ranged addresses
        Returns:
        streetNr
      • setStreetNr

        public void setStreetNr​(java.lang.String streetNr)
      • streetNrSuffix

        public GeographicAddress streetNrSuffix​(java.lang.String streetNrSuffix)
      • getStreetNrSuffix

        public java.lang.String getStreetNrSuffix()
        The first street number suffix
        Returns:
        streetNrSuffix
      • setStreetNrSuffix

        public void setStreetNrSuffix​(java.lang.String streetNrSuffix)
      • streetNrLast

        public GeographicAddress streetNrLast​(java.lang.String streetNrLast)
      • getStreetNrLast

        public java.lang.String getStreetNrLast()
        Last number in a range of street numbers allocated to a property
        Returns:
        streetNrLast
      • setStreetNrLast

        public void setStreetNrLast​(java.lang.String streetNrLast)
      • streetNrLastSuffix

        public GeographicAddress streetNrLastSuffix​(java.lang.String streetNrLastSuffix)
      • getStreetNrLastSuffix

        public java.lang.String getStreetNrLastSuffix()
        Last street number suffix for a ranged address
        Returns:
        streetNrLastSuffix
      • setStreetNrLastSuffix

        public void setStreetNrLastSuffix​(java.lang.String streetNrLastSuffix)
      • getStreetName

        public java.lang.String getStreetName()
        Name of the street or other street type
        Returns:
        streetName
      • setStreetName

        public void setStreetName​(java.lang.String streetName)
      • getStreetType

        public java.lang.String getStreetType()
        Alley, avenue, boulevard, brae, crescent, drive, highway, lane, terrace, parade, place, tarn, way, wharf
        Returns:
        streetType
      • setStreetType

        public void setStreetType​(java.lang.String streetType)
      • streetSuffix

        public GeographicAddress streetSuffix​(java.lang.String streetSuffix)
      • getStreetSuffix

        public java.lang.String getStreetSuffix()
        A modifier denoting a relative direction
        Returns:
        streetSuffix
      • setStreetSuffix

        public void setStreetSuffix​(java.lang.String streetSuffix)
      • getPostcode

        public java.lang.String getPostcode()
        Descriptor for a postal delivery area, used to speed and simplify the delivery of mail (also known as zipcode)
        Returns:
        postcode
      • setPostcode

        public void setPostcode​(java.lang.String postcode)
      • getLocality

        public java.lang.String getLocality()
        An area of defined or undefined boundaries within a local authority or other legislatively defined area, usually rural or semi-rural in nature
        Returns:
        locality
      • setLocality

        public void setLocality​(java.lang.String locality)
      • getCity

        public java.lang.String getCity()
        City that the address is in
        Returns:
        city
      • setCity

        public void setCity​(java.lang.String city)
      • stateOfProvince

        public GeographicAddress stateOfProvince​(java.lang.String stateOfProvince)
      • getStateOfProvince

        public java.lang.String getStateOfProvince()
        The State or Province that the address is in
        Returns:
        stateOfProvince
      • setStateOfProvince

        public void setStateOfProvince​(java.lang.String stateOfProvince)
      • getCountry

        public java.lang.String getCountry()
        Country that the address is in
        Returns:
        country
      • setCountry

        public void setCountry​(java.lang.String country)
      • getRelatedParty

        @Valid
        public @Valid java.util.List<RelatedPartyRef> getRelatedParty()
        Party role references that the current address is associated with
        Returns:
        relatedParty
      • setRelatedParty

        public void setRelatedParty​(java.util.List<RelatedPartyRef> relatedParty)
      • getGeographicLocationRefOrValue

        @Valid
        public @Valid GeographicLocation getGeographicLocationRefOrValue()
        Get geographicLocationRefOrValue
        Returns:
        geographicLocationRefOrValue
      • setGeographicLocationRefOrValue

        public void setGeographicLocationRefOrValue​(GeographicLocation geographicLocationRefOrValue)
      • getGeographicSubAddress

        @Valid
        public @Valid java.util.List<GeographicSubAddress> getGeographicSubAddress()
        Get geographicSubAddress
        Returns:
        geographicSubAddress
      • setGeographicSubAddress

        public void setGeographicSubAddress​(java.util.List<GeographicSubAddress> geographicSubAddress)
      • getAttype

        public java.lang.String getAttype()
        Indicates the type of the resource. Here can be 'UrbanPropertyAddress', ‘FormattedAddress’, ‘JapanesePropertyAddress’ , ‘AustralianPropertyAddress’, etc…
        Returns:
        attype
      • setAttype

        public void setAttype​(java.lang.String attype)
      • atschemaLocation

        public GeographicAddress atschemaLocation​(java.lang.String atschemaLocation)
      • getAtschemaLocation

        public java.lang.String getAtschemaLocation()
        A Link to the schema describing this REST Resource. The resource described 'UrbanPropertyAddress' but a schema could be used for other property address description.
        Returns:
        atschemaLocation
      • setAtschemaLocation

        public void setAtschemaLocation​(java.lang.String atschemaLocation)
      • isShippingAddress

        public GeographicAddress isShippingAddress​(java.lang.Boolean isShippingAddress)
      • isIsShippingAddress

        public java.lang.Boolean isIsShippingAddress()
        Flag that specifies if the geographic address is a shipping address.
        Returns:
        isShippingAddress
      • setIsShippingAddress

        public void setIsShippingAddress​(java.lang.Boolean isShippingAddress)
      • isBillingAddress

        public GeographicAddress isBillingAddress​(java.lang.Boolean isBillingAddress)
      • isIsBillingAddress

        public java.lang.Boolean isIsBillingAddress()
        Flag that specifies if the geographic address is a billing address.
        Returns:
        isBillingAddress
      • setIsBillingAddress

        public void setIsBillingAddress​(java.lang.Boolean isBillingAddress)
      • isContactAddress

        public GeographicAddress isContactAddress​(java.lang.Boolean isContactAddress)
      • isIsContactAddress

        public java.lang.Boolean isIsContactAddress()
        Flag that specifies if the geographic address is a contact address.
        Returns:
        isContactAddress
      • setIsContactAddress

        public void setIsContactAddress​(java.lang.Boolean isContactAddress)
      • isUnloadingAddress

        public GeographicAddress isUnloadingAddress​(java.lang.Boolean isUnloadingAddress)
      • isIsUnloadingAddress

        public java.lang.Boolean isIsUnloadingAddress()
        Flag that specifies if the geographic address is an unloading address.
        Returns:
        isUnloadingAddress
      • setIsUnloadingAddress

        public void setIsUnloadingAddress​(java.lang.Boolean isUnloadingAddress)
      • isInstallationAddress

        public GeographicAddress isInstallationAddress​(java.lang.Boolean isInstallationAddress)
      • isIsInstallationAddress

        public java.lang.Boolean isIsInstallationAddress()
        Flag that specifies if the geographic address is an installation address.
        Returns:
        isInstallationAddress
      • setIsInstallationAddress

        public void setIsInstallationAddress​(java.lang.Boolean isInstallationAddress)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object