Address

public Address Address(String line1, String line2, String city, String stateProvinceCode, String stateProvinceName, String postalCode, String countryCode, Boolean obfuscationRequired, Localized localized)

Parameters

line1

Address line 1.

line2

Address line 2.

city

City.

stateProvinceCode

2-letter or 3-letter state/province code for Australia, Canada and the USA.

stateProvinceName

Text name of the State/Province - more common for additional countries.

postalCode

Postal/zip code.

countryCode

2-letter country code, in ISO 3166-1 alpha-2 format.

obfuscationRequired

Flag to indicate whether a property address requires obfuscation before the property has been booked. If true, only the city, province, and country of the address can be shown to the customer.

localized