PostalAddress Class

Represents the postal address.

RichMessaging

The following are constructors for PostalAddress.

Creates a new instance of the RichMessaging.PostalAddress class.

public PostalAddress(List<String> addressLines, String subLocality, String locality, String postalCode, String subAdministrativeArea, String administrativeArea, String country, String countryCode)

  • addressLines: Type: List<String> The street address.
  • subLocality: Type: String The sub-locality of the address.
  • locality: Type: String The locality of the address.
  • postalCode: Type: String The postal code.
  • subAdministrativeArea: Type: String The sub-administrative area.
  • administrativeArea: Type: String The administrative area.
  • country: Type: String The country.
  • countryCode: Type: String The country code.

The following are properties for PostalAddress.

The street address.

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

Type: List<String>

The administrative area.

public String administrativeArea {get; set;}

Type: String

The country.

public String country {get; set;}

Type: String

The country code.

public String countryCode {get; set;}

Type: String

The locality of the address.

public String locality {get; set;}

Type: String

The postal code.

public String postalCode {get; set;}

Type: String

The sub-administrative area.

public String subAdministrativeArea {get; set;}

Type: String

The sub-locality of the address.

public String subLocality {get; set;}

Type: String