ICustomerContacts

class ICustomerContacts

Bases: ImpactCOMWrapperBase, Iterable

Summary:

A collection of ICustomerContract objects

Remarks:

Introduced in Impact 6.0.0.83.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property count

Gets Count.

Summary:

The number of items in this collection.

Returns:

The value of Count.

Return type:

count (int)

add(name)
Summary:

Adds a customer contact to the database using the specified name.

Parameters:

name (str) – The name of the new contact

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.

item(index)
Summary:

Gets an ICustomerContact object from this collection with the specified index or contact name.

Parameters:

index (any) – Specifies the index or name of the customer contact to get.

refresh()
Summary:

Refresh the ICustomerContacts collection from the database.