block Customer With
Blocks a customer, preventing them from completing transactions.
Return
A pair containing the updated FrameObjects.Customer on success, or a NetworkingError on failure.
Parameters
customer Id
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
customer Id
The unique identifier of the customer to block.
completion Handler
Invoked with the updated FrameObjects.Customer on success, or a NetworkingError on failure.