Class GeographicAddress
- java.lang.Object
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.dto.GeographicAddress
-
@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2020-06-25T12:53:59.275Z") public class GeographicAddress extends java.lang.ObjectA 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 Summary
Constructors Constructor Description GeographicAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeographicAddressaddGeographicSubAddressItem(GeographicSubAddress geographicSubAddressItem)GeographicAddressaddRelatedPartyItem(RelatedPartyRef relatedPartyItem)GeographicAddressatschemaLocation(java.lang.String atschemaLocation)GeographicAddressattype(java.lang.String attype)GeographicAddresscity(java.lang.String city)GeographicAddresscountry(java.lang.String country)booleanequals(java.lang.Object o)GeographicAddressgeographicLocationRefOrValue(GeographicLocation geographicLocationRefOrValue)GeographicAddressgeographicSubAddress(java.util.List<GeographicSubAddress> geographicSubAddress)java.lang.StringgetAtschemaLocation()A Link to the schema describing this REST Resource.java.lang.StringgetAttype()Indicates the type of the resource.java.lang.StringgetCity()City that the address is injava.lang.StringgetCountry()Country that the address is in@Valid GeographicLocationgetGeographicLocationRefOrValue()Get geographicLocationRefOrValue@Valid java.util.List<GeographicSubAddress>getGeographicSubAddress()Get geographicSubAddressjava.lang.StringgetHref()An URI used to access to the address resourcejava.lang.StringgetId()Unique identifier of the addressjava.lang.StringgetLocality()An area of defined or undefined boundaries within a local authority or other legislatively defined area, usually rural or semi-rural in naturejava.lang.StringgetPostcode()Descriptor for a postal delivery area, used to speed and simplify the delivery of mail (also known as zipcode)@Valid java.util.List<RelatedPartyRef>getRelatedParty()Party role references that the current address is associated withjava.lang.StringgetStateOfProvince()The State or Province that the address is injava.lang.StringgetStreetName()Name of the street or other street typejava.lang.StringgetStreetNr()Number identifying a specific property on a public street.java.lang.StringgetStreetNrLast()Last number in a range of street numbers allocated to a propertyjava.lang.StringgetStreetNrLastSuffix()Last street number suffix for a ranged addressjava.lang.StringgetStreetNrSuffix()The first street number suffixjava.lang.StringgetStreetSuffix()A modifier denoting a relative directionjava.lang.StringgetStreetType()Alley, avenue, boulevard, brae, crescent, drive, highway, lane, terrace, parade, place, tarn, way, wharfinthashCode()GeographicAddresshref(java.lang.String href)GeographicAddressid(java.lang.String id)GeographicAddressisBillingAddress(java.lang.Boolean isBillingAddress)GeographicAddressisContactAddress(java.lang.Boolean isContactAddress)GeographicAddressisInstallationAddress(java.lang.Boolean isInstallationAddress)java.lang.BooleanisIsBillingAddress()Flag that specifies if the geographic address is a billing address.java.lang.BooleanisIsContactAddress()Flag that specifies if the geographic address is a contact address.java.lang.BooleanisIsInstallationAddress()Flag that specifies if the geographic address is an installation address.java.lang.BooleanisIsShippingAddress()Flag that specifies if the geographic address is a shipping address.java.lang.BooleanisIsUnloadingAddress()Flag that specifies if the geographic address is an unloading address.GeographicAddressisShippingAddress(java.lang.Boolean isShippingAddress)GeographicAddressisUnloadingAddress(java.lang.Boolean isUnloadingAddress)GeographicAddresslocality(java.lang.String locality)GeographicAddresspostcode(java.lang.String postcode)GeographicAddressrelatedParty(java.util.List<RelatedPartyRef> relatedParty)voidsetAtschemaLocation(java.lang.String atschemaLocation)voidsetAttype(java.lang.String attype)voidsetCity(java.lang.String city)voidsetCountry(java.lang.String country)voidsetGeographicLocationRefOrValue(GeographicLocation geographicLocationRefOrValue)voidsetGeographicSubAddress(java.util.List<GeographicSubAddress> geographicSubAddress)voidsetHref(java.lang.String href)voidsetId(java.lang.String id)voidsetIsBillingAddress(java.lang.Boolean isBillingAddress)voidsetIsContactAddress(java.lang.Boolean isContactAddress)voidsetIsInstallationAddress(java.lang.Boolean isInstallationAddress)voidsetIsShippingAddress(java.lang.Boolean isShippingAddress)voidsetIsUnloadingAddress(java.lang.Boolean isUnloadingAddress)voidsetLocality(java.lang.String locality)voidsetPostcode(java.lang.String postcode)voidsetRelatedParty(java.util.List<RelatedPartyRef> relatedParty)voidsetStateOfProvince(java.lang.String stateOfProvince)voidsetStreetName(java.lang.String streetName)voidsetStreetNr(java.lang.String streetNr)voidsetStreetNrLast(java.lang.String streetNrLast)voidsetStreetNrLastSuffix(java.lang.String streetNrLastSuffix)voidsetStreetNrSuffix(java.lang.String streetNrSuffix)voidsetStreetSuffix(java.lang.String streetSuffix)voidsetStreetType(java.lang.String streetType)GeographicAddressstateOfProvince(java.lang.String stateOfProvince)GeographicAddressstreetName(java.lang.String streetName)GeographicAddressstreetNr(java.lang.String streetNr)GeographicAddressstreetNrLast(java.lang.String streetNrLast)GeographicAddressstreetNrLastSuffix(java.lang.String streetNrLastSuffix)GeographicAddressstreetNrSuffix(java.lang.String streetNrSuffix)GeographicAddressstreetSuffix(java.lang.String streetSuffix)GeographicAddressstreetType(java.lang.String streetType)java.lang.StringtoString()
-
-
-
Method Detail
-
id
public GeographicAddress id(java.lang.String id)
-
getId
public java.lang.String getId()
Unique identifier of the address- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
href
public GeographicAddress href(java.lang.String href)
-
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)
-
streetNr
public GeographicAddress streetNr(java.lang.String streetNr)
-
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)
-
streetName
public GeographicAddress streetName(java.lang.String streetName)
-
getStreetName
public java.lang.String getStreetName()
Name of the street or other street type- Returns:
- streetName
-
setStreetName
public void setStreetName(java.lang.String streetName)
-
streetType
public GeographicAddress streetType(java.lang.String streetType)
-
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)
-
postcode
public GeographicAddress postcode(java.lang.String postcode)
-
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)
-
locality
public GeographicAddress locality(java.lang.String locality)
-
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)
-
city
public GeographicAddress city(java.lang.String city)
-
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)
-
country
public GeographicAddress country(java.lang.String country)
-
getCountry
public java.lang.String getCountry()
Country that the address is in- Returns:
- country
-
setCountry
public void setCountry(java.lang.String country)
-
relatedParty
public GeographicAddress relatedParty(java.util.List<RelatedPartyRef> relatedParty)
-
addRelatedPartyItem
public GeographicAddress addRelatedPartyItem(RelatedPartyRef relatedPartyItem)
-
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)
-
geographicLocationRefOrValue
public GeographicAddress geographicLocationRefOrValue(GeographicLocation geographicLocationRefOrValue)
-
getGeographicLocationRefOrValue
@Valid public @Valid GeographicLocation getGeographicLocationRefOrValue()
Get geographicLocationRefOrValue- Returns:
- geographicLocationRefOrValue
-
setGeographicLocationRefOrValue
public void setGeographicLocationRefOrValue(GeographicLocation geographicLocationRefOrValue)
-
geographicSubAddress
public GeographicAddress geographicSubAddress(java.util.List<GeographicSubAddress> geographicSubAddress)
-
addGeographicSubAddressItem
public GeographicAddress addGeographicSubAddressItem(GeographicSubAddress geographicSubAddressItem)
-
getGeographicSubAddress
@Valid public @Valid java.util.List<GeographicSubAddress> getGeographicSubAddress()
Get geographicSubAddress- Returns:
- geographicSubAddress
-
setGeographicSubAddress
public void setGeographicSubAddress(java.util.List<GeographicSubAddress> geographicSubAddress)
-
attype
public GeographicAddress attype(java.lang.String attype)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-