---
schema_version: "1"
id: 045f69e8f98ef8cea7e3e68518c68fb1ee80bfa862c9da292585cc85ebc030c5
title: AddressableContact Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_RichMessaging_AddressableContact.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1a6cc519de500b4ed1a18c31c86bb4c8957e0b8ff3ee0f06ef8e03f477d91663
description: Represents an addressable contact.Creates a new instance of the RichMessaging.AddressableContact class.The contact’s email address.The contact’s surname.The contact’s first name.The contact’s phone number.The phonetic spelling of the contact’s surname.The phonetic spelling of the contact’s first name.The contact’s postal address.
---
# AddressableContact Class

Represents an addressable contact.

## Namespace

[RichMessaging](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_RichMessaging.htm "Provides objects and methods for handling content in enhanced Messaging channels.")

- **[AddressableContact Constructors](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_constructors)**
- **[AddressableContact Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_properties)**

## AddressableContact Constructors

The following are constructors for AddressableContact.

- **[AddressableContact(givenName, phoneticGivenName, familyName, phoneticFamilyName, emailAddress, phoneNumber, postalAddress)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_ctor)**  
    Creates a new instance of the RichMessaging.AddressableContact class.

### AddressableContact(givenName, phoneticGivenName, familyName, phoneticFamilyName, emailAddress, phoneNumber, postalAddress)

Creates a new instance of the RichMessaging.AddressableContact class.

#### Signature

public AddressableContact(String givenName, String phoneticGivenName, String familyName, String phoneticFamilyName, String emailAddress, String phoneNumber, RichMessaging.PostalAddress postalAddress)

#### Parameters

- **givenName**: Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.") The contact’s first name.
- **phoneticGivenName**: Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.") The phonetic spelling of the contact’s first name.
- **familyName**: Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.") The contact’s surname.
- **phoneticFamilyName**: Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.") The phonetic spelling of the contact’s surname.
- **emailAddress**: Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.") The contact’s email address.
- **phoneNumber**: Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.") The contact’s phone number.
- **postalAddress**: Type: [RichMessaging.PostalAddress](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PostalAddress.htm#apex_class_RichMessaging_PostalAddress "Represents the postal address.") The contact’s postal address.

## AddressableContact Properties

The following are properties for AddressableContact.

- **[emailAddress](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_emailAddress)**  
    The contact’s email address.
- **[familyName](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_familyName)**  
    The contact’s surname.
- **[givenName](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_givenName)**  
    The contact’s first name.
- **[phoneNumber](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_phoneNumber)**  
    The contact’s phone number.
- **[phoneticFamilyName](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_phoneticFamilyName)**  
    The phonetic spelling of the contact’s surname.
- **[phoneticGivenName](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_phoneticGivenName)**  
    The phonetic spelling of the contact’s first name.
- **[postalAddress](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_AddressableContact.htm#apex_RichMessaging_AddressableContact_postalAddress)**  
    The contact’s postal address.

### emailAddress

The contact’s email address.

#### Signature

public String emailAddress {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### familyName

The contact’s surname.

#### Signature

public String familyName {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### givenName

The contact’s first name.

#### Signature

public String givenName {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### phoneNumber

The contact’s phone number.

#### Signature

public String phoneNumber {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### phoneticFamilyName

The phonetic spelling of the contact’s surname.

#### Signature

public String phoneticFamilyName {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### phoneticGivenName

The phonetic spelling of the contact’s first name.

#### Signature

public String phoneticGivenName {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### postalAddress

The contact’s postal address.

#### Signature

public RichMessaging.PostalAddress postalAddress {get; set;}

#### Property Value

Type: [RichMessaging.PostalAddress](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PostalAddress.htm#apex_class_RichMessaging_PostalAddress "Represents the postal address.")