blockCustomerWith

Blocks a customer, preventing them from completing transactions.

Return

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

Parameters

customerId

The unique identifier of the customer to block.


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

Blocks a customer and delivers the result to a callback.

Parameters

customerId

The unique identifier of the customer to block.

completionHandler

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