@acceleratxr/core_sdk / Contact
Class: Contact#
Describes a single person or entity that may be contacted about an account.
REQUIRES: Purchasing Services
author Jean-Philippe Steinmetz info@acceleratxr.com
Hierarchy#
-
↳ Contact
Index#
Constructors#
Properties#
Accessors#
Constructors#
constructor#
+ new Contact(other?: any): Contact
Overrides EntityBase.constructor
Defined in src/models/Contact.ts:50
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: Contact
Properties#
address#
• address: Address | undefined = undefined
Defined in src/models/Contact.ts:35
The physical mailing address for the contact.
company#
• company: string = “”
Defined in src/models/Contact.ts:30
The legal name of the company.
dateCreated#
• dateCreated: Date = new Date()
Inherited from EntityBase.dateCreated
Defined in src/EntityBase.ts:18
The date and time that the object was created.
dateModified#
• dateModified: Date = new Date()
Inherited from EntityBase.dateModified
Defined in src/EntityBase.ts:23
The date and time that the object was last modified.
email#
• email: string = “”
Defined in src/models/Contact.ts:40
The e-mail address of the contact.
fax#
• fax: string = “”
Defined in src/models/Contact.ts:50
The fax number of the contact.
name#
• name: string = “”
Defined in src/models/Contact.ts:20
The full name of the contact.
phone#
• phone: string = “”
Defined in src/models/Contact.ts:45
The phone number of the contact.
title#
• title: string = “”
Defined in src/models/Contact.ts:25
The title or relationship of the contact to the company.
uid#
• uid: string = uuid.v4()
Inherited from EntityBase.uid
Defined in src/EntityBase.ts:13
The universally unique identifier of the object.
version#
• version: number = 0
Inherited from EntityBase.version
Defined in src/EntityBase.ts:28
The optimistic locking version of the object.
Accessors#
ClassName#
• Staticget ClassName(): string
Defined in src/models/Contact.ts:15
Returns: string