Phone

Represents information about a phone.

new Phone(param)

FieldTypeDescription
paramobjectParameters associated with a phone.
param.typestringThe type of phone. Phone type value can be “SOFT_PHONE” or “DESK_PHONE”.
param.numberstringThe phone number associated with this phone. This value is optional when the type is SOFT_PHONE and mandatory when the type is DESK_PHONE.