# Class: EditableContactPhoneField

## Constructor

#### new EditableContactPhoneField()

  Class representing the contact's phone number property.

## Methods

#### getLabel1() → {string}

  Returns label 1 of this phone number.

  Inherited From:
    - AvayaClientServices.Services.Contacts.ContactPhoneField#getLabel1

  ##### Returns:

  { string }

#### getLabel2() → {string}

  Returns label 2 of this phone number.

  Inherited From:
    - AvayaClientServices.Services.Contacts.ContactPhoneField#getLabel2

  ##### Returns:

  { string }

#### getPhoneNumber() → {string}

  Returns the phone number.

  Inherited From:
    - AvayaClientServices.Services.Contacts.ContactPhoneField#getPhoneNumber

  ##### Returns:

  { string }

#### getPhoneNumberType() → {AvayaClientServices.Services.Contacts.ContactPhoneNumberType}

  Returns the type of this phone number.

  Inherited From:
    - AvayaClientServices.Services.Contacts.ContactPhoneField#getPhoneNumberType

  ##### Returns:

  { AvayaClientServices.Services.Contacts.ContactPhoneNumberType }

#### getWriteCapability() → {AvayaClientServices.Base.Capability}

  Returns write capability of this contact field.

  Inherited From:
    - AvayaClientServices.Services.Contacts.ContactField#getWriteCapability

  ##### Returns:

  { AvayaClientServices.Base.Capability }

#### isDefault() → {boolean}

  Returns true if this is the contact's default phone number.

  Inherited From:
    - AvayaClientServices.Services.Contacts.ContactPhoneField#isDefault

  ##### Returns:

  { boolean }

#### isSpeedDialEnabled() → {boolean}

  Returns true if speed dial is enabled for the contact.

  Inherited From:
    - AvayaClientServices.Services.Contacts.ContactPhoneField#isSpeedDialEnabled

  ##### Returns:

  { boolean }

#### setDefault(default)

  Specifies if this phone number is default for the contact.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `default` | boolean |

#### setLabel1(label1)

  Sets label 1 of this phone number.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `label1` | string |

#### setLabel2(label2)

  Sets label 2 of this phone number.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `label2` | string |

#### setPhoneNumber(phoneNumber)

  Sets a phone number.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `phoneNumber` | string |

#### setPhoneNumberType(phoneNumberType)

  Sets the type of this phone number.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `phoneNumberType` | AvayaClientServices.Services.Contacts.ContactPhoneNumberType |

#### setSpeedDialEnabled(speedDialEnabled)

  Specifies if speed dial is enabled for the contact.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `speedDialEnabled` | boolean |