Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Address Class

Represents a postal address.

Namespace

RichMessaging

Address Properties

The following are properties for Address.

addressLines

The street address lines (street, unit, etc.) of the postal address.

Signature

public List<String> addressLines {get; set;}

Property Value

Type: List<String>

addressLinesValue

The street address lines variable of the postal address.

Signature

public List<String> addressLinesValue {get; set;}

Property Value

Type: List<String>

subLocality

The sub-locality information associated with the address (defined at the city level).

Signature

public String subLocality {get; set;}

Property Value

Type: String

subLocalityValue

The sub-locality variable of the address.

Signature

public String subLocalityValue {get; set;}

Property Value

Type: String

locality

The locality (city) of the postal address.

Signature

public String locality {get; set;}

Property Value

Type: String

localityValue

The locality variable of the postal address.

Signature

public String localityValue {get; set;}

Property Value

Type: String

postalCode

The postal code (zip or postal code) of the address.

Signature

public String postalCode {get; set;}

Property Value

Type: String

postalCodeValue

The postal code variable of the address.

Signature

public String postalCodeValue {get; set;}

Property Value

Type: String

subAdministrativeArea

The sub-administrative area (county or other region) of the address.

Signature

public String subAdministrativeArea {get; set;}

Property Value

Type: String

subAdministrativeAreaValue

The sub-administrative area variable of the address.

Signature

public String subAdministrativeAreaValue {get; set;}

Property Value

Type: String

administrativeArea

The administrative area (state or province) of the address.

Signature

public String administrativeArea {get; set;}

Property Value

Type: String

administrativeAreaValue

The administrative area variable of the address.

Signature

public String administrativeAreaValue {get; set;}

Property Value

Type: String

country

The country of the address.

Signature

public String country {get; set;}

Property Value

Type: String

countryValue

The country variable of the address.

Signature

public String countryValue {get; set;}

Property Value

Type: String

countryCode

The ISO country code of the address.

Signature

public String countryCode {get; set;}

Property Value

Type: String

countryCodeValue

The country code variable of the address.

Signature

public String countryCodeValue {get; set;}

Property Value

Type: String