The CustomerContact wrapper module.

Members

inner contact :Contact

inner customer :Customer

Methods

forClient(client_key) → {module:wrappers/CustomerContact}

Parameters:
Name Type Description
client_key String

The client_key of CustomerContact.

Returns:
module:wrappers/CustomerContact -

The instance of CustomerContact.

forCustomer(customer) → {module:wrappers/CustomerContact}

Parameters:
Name Type Description
customer Customer

The customer of CustomerContact.

Returns:
module:wrappers/CustomerContact -

The instance of CustomerContact.

videChannel(channel) → {module:wrappers/CustomerContact}

Parameters:
Name Type Description
channel String

The channel of CustomerContact.

Returns:
module:wrappers/CustomerContact -

The instance of CustomerContact.

withContact(contact) → {module:wrappers/CustomerContact}

Parameters:
Name Type Description
contact Contact

The contact of CustomerContact.

Returns:
module:wrappers/CustomerContact -

The instance of CustomerContact.