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.

AddressableContact Class

Represents an addressable contact.

Namespace

RichMessaging

AddressableContact Constructors

The following are constructors for AddressableContact.

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 The contact’s first name.
  • phoneticGivenName: Type: String The phonetic spelling of the contact’s first name.
  • familyName: Type: String The contact’s surname.
  • phoneticFamilyName: Type: String The phonetic spelling of the contact’s surname.
  • emailAddress: Type: String The contact’s email address.
  • phoneNumber: Type: String The contact’s phone number.
  • postalAddress: Type: RichMessaging.PostalAddress The contact’s postal address.

AddressableContact Properties

The following are properties for AddressableContact.

emailAddress

The contact’s email address.

Signature

public String emailAddress {get; set;}

Property Value

Type: String

familyName

The contact’s surname.

Signature

public String familyName {get; set;}

Property Value

Type: String

givenName

The contact’s first name.

Signature

public String givenName {get; set;}

Property Value

Type: String

phoneNumber

The contact’s phone number.

Signature

public String phoneNumber {get; set;}

Property Value

Type: String

phoneticFamilyName

The phonetic spelling of the contact’s surname.

Signature

public String phoneticFamilyName {get; set;}

Property Value

Type: String

phoneticGivenName

The phonetic spelling of the contact’s first name.

Signature

public String phoneticGivenName {get; set;}

Property Value

Type: String

postalAddress

The contact’s postal address.

Signature

public RichMessaging.PostalAddress postalAddress {get; set;}

Property Value

Type: RichMessaging.PostalAddress