Class AccountContact
Wraps an account contact.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class AccountContact : JTObject
Constructors
AccountContact()
This constructor is intended for use when creating a new account.
Declaration
public AccountContact()
AccountContact(Int32)
This constructor is intended for use when creating a new AccountContact for an existing Account.
Declaration
public AccountContact(int accountId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | accountId_ | Specifies the account id to which the contact will be added. |
AccountContact(Int32, Int32)
This constructor is intended for use when updating an existing AccountContact.
Declaration
public AccountContact(int contactId_, int accountId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | contactId_ | Contact to be updated. |
| System.Int32 | accountId_ | The account to which the contact belongs. |
Properties
AccountId
The Account associated with this AccountContact.
Declaration
public int AccountId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Address
Address of the contact.
Declaration
public Address Address { get; }
Property Value
| Type | Description |
|---|---|
| Address |
ContactId
Id of the contact.
Declaration
public int ContactId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |