Package travel.wink.sdk.extranet.model
Class HotelAddress
java.lang.Object
travel.wink.sdk.extranet.model.HotelAddress
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-28T12:57:25.040272+07:00[Asia/Bangkok]")
public class HotelAddress
extends Object
Property address.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringFirst line of property address.Second line of property address.@NotNull StringCity / Island / Destination of property.@NotNull StringPostal / zip codegetState()Not all countries have states.getVatId()If property country requires a VAT identification number to operate, enter it here.inthashCode()postalCode(String postalCode) voidsetAddress1(String address1) voidsetAddress2(String address2) voidsetGeoNameId(String geoNameId) voidsetPostalCode(String postalCode) voidvoidtoString()
-
Field Details
-
JSON_PROPERTY_ADDRESS1
- See Also:
-
JSON_PROPERTY_ADDRESS2
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_POSTAL_CODE
- See Also:
-
JSON_PROPERTY_VAT_ID
- See Also:
-
JSON_PROPERTY_GEO_NAME_ID
- See Also:
-
-
Constructor Details
-
HotelAddress
public HotelAddress()
-
-
Method Details
-
address1
-
getAddress1
First line of property address.- Returns:
- address1
-
setAddress1
-
address2
-
getAddress2
Second line of property address.- Returns:
- address2
-
setAddress2
-
state
-
getState
Not all countries have states. Add the state if the property is in a country that contain states.- Returns:
- state
-
setState
-
postalCode
-
getPostalCode
Postal / zip code- Returns:
- postalCode
-
setPostalCode
-
vatId
-
getVatId
If property country requires a VAT identification number to operate, enter it here.- Returns:
- vatId
-
setVatId
-
geoNameId
-
getGeoNameId
City / Island / Destination of property. See [GeoName reference]().- Returns:
- geoNameId
-
setGeoNameId
-
equals
-
hashCode
public int hashCode() -
toString
-