getCustomerWith

Retrieves a single customer by their unique identifier.

Return

A pair containing the matching FrameObjects.Customer on success, or a NetworkingError on failure.

Parameters

customerId

The unique identifier of the customer to fetch.


fun getCustomerWith(customerId: String, completionHandler: (FrameObjects.Customer?, NetworkingError?) -> Unit)

Retrieves a single customer by their unique identifier and delivers the result to a callback.

Parameters

customerId

The unique identifier of the customer to fetch.

completionHandler

Invoked with the matching FrameObjects.Customer on success, or a NetworkingError on failure.