This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:onCustomerAfterDelete event

Triggered by Shop_Customer
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onCustomerAfterDelete(Shop_Customer $customer)
$customer Shop_Customer specifies the customer object.
Triggered after a customer is deleted. Usage example:
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onCustomerAfterDelete', $this, 'customer_deleted');
}

public function customer_deleted($customer)
{
  if ($customer->id == 100)
    // Do something
}