/** * Delete a customer. * * @param string|stdClass $token A valid customer token returned from a * successful customer creation. * @return stdClass */ public static function delete($token) { return parent::delete($token); }
/** * {@inheritdoc} */ public function delete($object) { $result = parent::delete($object); $this->eventManager->dispatch('catalog_product_delete_after_done', ['product' => $object]); return $result; }
/** * Delete a customer. * * @param string|stdClass $token A valid customer token returned from a * successful customer creation. * @return stdClass */ public static function delete($token, array $params = array()) { return parent::delete($token, $params); }